]> git.saurik.com Git - apple/xnu.git/blame_incremental - bsd/conf/Makefile
xnu-1228.tar.gz
[apple/xnu.git] / bsd / conf / Makefile
... / ...
CommitLineData
1export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
5
6export ubc_subr.o_CFLAGS_ADD=-Wno-discard-qual
7export vnode_pager.o_CFLAGS_ADD=-Werror
8export vm_unix.o_CFLAGS_ADD=-Werror
9export dp_backing_file.o_CFLAGS_ADD=-Werror
10export if_mib.o_CFLAGS_ADD=-Wno-unused-parameter
11export adsp_Write.o_CFLAGS_ADD=-Wno-sign-compare
12export adsp_Packet.o_CFLAGS_ADD=-Wno-sign-compare
13export adsp_Control.o_CFLAGS_ADD=-Wno-sign-compare
14export adsp_RxAttn.o_CFLAGS_ADD=-Wno-sign-compare
15export adsp_attention.o_CFLAGS_ADD=-Wno-sign-compare
16export asp_proto.o_CFLAGS_ADD=-Wno-sign-compare
17export drv_dep.o_CFLAGS_ADD=-Wno-sign-compare
18export ddp_rtmp.o_CFLAGS_ADD=-Wno-sign-compare
19export ddp_lap.o_CFLAGS_ADD=-Wno-sign-compare
20export radix.o_CFLAGS_ADD=-Wno-sign-compare
21export route.o_CFLAGS_ADD=-Wno-sign-compare
22export rtsock.o_CFLAGS_ADD=-Wno-sign-compare
23export dhcp_options.o_CFLAGS_ADD=-Wno-sign-compare
24export igmp.o_CFLAGS_ADD=-Wno-sign-compare
25export in_cksum.o_CFLAGS_ADD=-Wno-sign-compare
26export ip_divert.o_CFLAGS_ADD=-Wno-sign-compare
27export ip_dummynet.o_CFLAGS_ADD=-Wno-sign-compare
28export ip_flow.o_CFLAGS_ADD=-Wno-sign-compare
29export ip_fw2.o_CFLAGS_ADD=-Wno-sign-compare
30export ip_fw2_compat.o_CFLAGS_ADD=-Wno-sign-compare
31export ip_icmp.o_CFLAGS_ADD=-Wno-sign-compare
32export ip_input.o_CFLAGS_ADD=-Wno-sign-compare
33export ip_mroute.o_CFLAGS_ADD=-Wno-sign-compare
34export ip_output.o_CFLAGS_ADD=-Wno-sign-compare
35export raw_ip.o_CFLAGS_ADD=-Wno-sign-compare
36export tcp_input.o_CFLAGS_ADD=-Wno-sign-compare
37export tcp_output.o_CFLAGS_ADD=-Wno-sign-compare
38export tcp_subr.o_CFLAGS_ADD=-Wno-sign-compare
39export tcp_usrreq.o_CFLAGS_ADD=-Wno-sign-compare
40export tcp_timer.o_CFLAGS_ADD=-Wno-sign-compare
41export udp_usrreq.o_CFLAGS_ADD=-Wno-sign-compare
42export ah_input.o_CFLAGS_ADD=-Wno-sign-compare
43export ah_core.o_CFLAGS_ADD=-Wno-sign-compare
44export ah_output.o_CFLAGS_ADD=-Wno-sign-compare
45export esp_core.o_CFLAGS_ADD=-Wno-sign-compare
46export esp_input.o_CFLAGS_ADD=-Wno-sign-compare
47export esp_output.o_CFLAGS_ADD=-Wno-sign-compare
48export esp_rijndael.o_CFLAGS_ADD=-Wno-sign-compare
49export ipsec.o_CFLAGS_ADD=-Wno-sign-compare
50export dest6.o_CFLAGS_ADD=-Wno-sign-compare
51export frag6.o_CFLAGS_ADD=-Wno-sign-compare
52export icmp6.o_CFLAGS_ADD=-Wno-sign-compare
53export in6.o_CFLAGS_ADD=-Wno-sign-compare
54export in6_src.o_CFLAGS_ADD=-Wno-sign-compare
55export in6_cksum.o_CFLAGS_ADD=-Wno-sign-compare
56export ip6_fw.o_CFLAGS_ADD=-Wno-sign-compare
57export ip6_forward.o_CFLAGS_ADD=-Wno-sign-compare
58export in6_ifattach.o_CFLAGS_ADD=-Wno-sign-compare
59export ip6_input.o_CFLAGS_ADD=-Wno-sign-compare
60export ip6_mroute.o_CFLAGS_ADD=-Wno-sign-compare
61export ip6_output.o_CFLAGS_ADD=-Wno-sign-compare
62export ipcomp_input.o_CFLAGS_ADD=-Wno-sign-compare
63export ipcomp_output.o_CFLAGS_ADD=-Wno-sign-compare
64export in6_proto.o_CFLAGS_ADD=-Wno-sign-compare
65export mld6.o_CFLAGS_ADD=-Wno-sign-compare
66export nd6.o_CFLAGS_ADD=-Wno-sign-compare
67export nd6_nbr.o_CFLAGS_ADD=-Wno-sign-compare
68export nd6_rtr.o_CFLAGS_ADD=-Wno-sign-compare
69export raw_ip6.o_CFLAGS_ADD=-Wno-sign-compare
70export route6.o_CFLAGS_ADD=-Wno-sign-compare
71export scope6.o_CFLAGS_ADD=-Wno-sign-compare
72export udp6_usrreq.o_CFLAGS_ADD=-Wno-sign-compare
73export key.o_CFLAGS_ADD=-Wno-sign-compare
74export keysock.o_CFLAGS_ADD=-Wno-sign-compare
75export atp_write.o_CFLAGS_ADD=-Wno-sign-compare
76export keydb.o_CFLAGS_ADD=-Wno-sign-compare
77export des_setkey.o_CFLAGS_ADD=-Wno-sign-compare
78export sys_socket.o_CFLAGS_ADD=-Wno-sign-compare
79export sys_glue.o_CFLAGS_ADD=-Wno-sign-compare
80export uipc_domain.o_CFLAGS_ADD=-Wno-sign-compare
81export uipc_mbuf.o_CFLAGS_ADD=-Wno-sign-compare
82export uipc_mbuf2.o_CFLAGS_ADD=-Wno-sign-compare
83export uipc_socket.o_CFLAGS_ADD=-Wno-sign-compare
84export uipc_socket2.o_CFLAGS_ADD=-Wno-sign-compare
85
86include $(MakeInc_cmd)
87include $(MakeInc_def)
88
89SETUP_SUBDIRS = \
90 tools
91
92COMP_SUBDIRS =
93
94INST_SUBDIRS =
95
96ifndef BSD_KERNEL_CONFIG
97export BSD_KERNEL_CONFIG = $(KERNEL_CONFIG)
98endif
99
100ifneq ($(MACHINE_CONFIG), DEFAULT)
101export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)_$(MACHINE_CONFIG)/$(COMPONENT)
102else
103export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)
104endif
105
106$(COMPOBJROOT)/doconf:
107 @make build_setup
108
109$(COMPOBJROOT)/$(BSD_KERNEL_CONFIG)/Makefile : $(SOURCE)/MASTER \
110 $(SOURCE)/MASTER.$(ARCH_CONFIG_LC) \
111 $(SOURCE)/Makefile.template \
112 $(SOURCE)/Makefile.$(ARCH_CONFIG_LC) \
113 $(SOURCE)/files \
114 $(SOURCE)/files.$(ARCH_CONFIG_LC) \
115 $(COMPOBJROOT)/doconf
116 $(_v)(doconf_target=$(addsuffix /conf, $(TARGET)); \
117 echo $${doconf_target};\
118 $(MKDIR) $${doconf_target}; \
119 cd $${doconf_target}; \
120 rm -f $(notdir $?); \
121 cp $? $${doconf_target}; \
122 $(COMPOBJROOT)/doconf -c -cpu $(ARCH_CONFIG_LC) -d $(TARGET)/$(BSD_KERNEL_CONFIG) $(BSD_KERNEL_CONFIG); \
123 );
124
125.ORDER: $(COMPOBJROOT)/$(BSD_KERNEL_CONFIG)/Makefile
126
127do_setup_conf: $(COMPOBJROOT)/doconf \
128 $(COMPOBJROOT)/$(BSD_KERNEL_CONFIG)/Makefile
129
130do_all: do_setup_conf
131 $(_v)next_source=$(subst conf/,,$(SOURCE)); \
132 ${MAKE} -C $(COMPOBJROOT)/$(BSD_KERNEL_CONFIG) \
133 MAKEFILES=$(TARGET)/$(BSD_KERNEL_CONFIG)/Makefile \
134 SOURCE=$${next_source} \
135 TARGET=$(TARGET) \
136 INCL_MAKEDEP=FALSE \
137 KERNEL_CONFIG=$(BSD_KERNEL_CONFIG) \
138 build_all;
139
140do_build_all: do_all
141
142include $(MakeInc_rule)
143include $(MakeInc_dir)