@@ -65,11 +65,35 @@ config_setting(
65
65
################################# Include Files ################################
66
66
67
67
libc_support_library (
68
- name = "internal_includes" ,
69
- hdrs = glob ([
70
- "include/llvm-libc-macros/*.h" ,
71
- "include/llvm-libc-types/*" ,
72
- ]),
68
+ name = "llvm_libc_macros_math_macros" ,
69
+ hdrs = ["include/llvm-libc-macros/math-macros.h" ],
70
+ )
71
+
72
+ libc_support_library (
73
+ name = "llvm_libc_macros_limits_macros" ,
74
+ hdrs = ["include/llvm-libc-macros/limits-macros.h" ],
75
+ )
76
+
77
+ libc_support_library (
78
+ name = "llvm_libc_macros_float_macros" ,
79
+ hdrs = ["include/llvm-libc-macros/float-macros.h" ],
80
+ )
81
+
82
+ libc_support_library (
83
+ name = "llvm_libc_macros_stdint_macros" ,
84
+ hdrs = ["include/llvm-libc-macros/stdint-macros.h" ],
85
+ )
86
+
87
+ libc_support_library (
88
+ name = "llvm_libc_macros_stdfix_macros" ,
89
+ hdrs = ["include/llvm-libc-macros/stdfix-macros.h" ],
90
+ deps = [":llvm_libc_macros_float_macros" ],
91
+ )
92
+
93
+ libc_support_library (
94
+ name = "llvm_libc_types_float128" ,
95
+ hdrs = ["include/llvm-libc-types/float128.h" ],
96
+ deps = [":llvm_libc_macros_float_macros" ],
73
97
)
74
98
75
99
############################### Support libraries ##############################
@@ -681,7 +705,7 @@ libc_support_library(
681
705
":__support_macros_properties_architectures" ,
682
706
":__support_macros_sanitizer" ,
683
707
":errno" ,
684
- ":internal_includes " ,
708
+ ":llvm_libc_macros_math_macros " ,
685
709
],
686
710
)
687
711
@@ -754,7 +778,7 @@ libc_support_library(
754
778
":__support_fputil_normal_float" ,
755
779
":__support_macros_optimization" ,
756
780
":__support_uint128" ,
757
- ":internal_includes " ,
781
+ ":llvm_libc_macros_math_macros " ,
758
782
],
759
783
)
760
784
@@ -768,7 +792,7 @@ libc_support_library(
768
792
":__support_fputil_fp_bits" ,
769
793
":__support_fputil_rounding_mode" ,
770
794
":__support_macros_attributes" ,
771
- ":internal_includes " ,
795
+ ":llvm_libc_macros_math_macros " ,
772
796
],
773
797
)
774
798
@@ -997,33 +1021,6 @@ libc_support_library(
997
1021
],
998
1022
)
999
1023
1000
- libc_support_library (
1001
- name = "llvm_libc_macros_limits_macros" ,
1002
- hdrs = ["include/llvm-libc-macros/limits-macros.h" ],
1003
- )
1004
-
1005
- libc_support_library (
1006
- name = "llvm_libc_macros_float_macros" ,
1007
- hdrs = ["include/llvm-libc-macros/float-macros.h" ],
1008
- )
1009
-
1010
- libc_support_library (
1011
- name = "llvm_libc_macros_stdint_macros" ,
1012
- hdrs = ["include/llvm-libc-macros/stdint-macros.h" ],
1013
- )
1014
-
1015
- libc_support_library (
1016
- name = "llvm_libc_macros_stdfix_macros" ,
1017
- hdrs = ["include/llvm-libc-macros/stdfix-macros.h" ],
1018
- deps = [":llvm_libc_macros_float_macros" ],
1019
- )
1020
-
1021
- libc_support_library (
1022
- name = "llvm_libc_types_float128" ,
1023
- hdrs = ["include/llvm-libc-types/float128.h" ],
1024
- deps = [":llvm_libc_macros_float_macros" ],
1025
- )
1026
-
1027
1024
############################### errno targets ################################
1028
1025
1029
1026
libc_function (
@@ -1190,7 +1187,7 @@ libc_support_library(
1190
1187
"__support_cpp_type_traits" ,
1191
1188
":__support_common" ,
1192
1189
":errno" ,
1193
- ":internal_includes " ,
1190
+ ":llvm_libc_macros_math_macros " ,
1194
1191
],
1195
1192
)
1196
1193
0 commit comments