]>
Commit | Line | Data |
---|---|---|
1 | export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd | |
2 | export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def | |
3 | export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule | |
4 | export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir | |
5 | ||
6 | export ubc_subr.o_CFLAGS_ADD=-Wno-discard-qual | |
7 | export vnode_pager.o_CFLAGS_ADD=-Werror | |
8 | export vm_unix.o_CFLAGS_ADD=-Werror | |
9 | export dp_backing_file.o_CFLAGS_ADD=-Werror | |
10 | export if_mib.o_CFLAGS_ADD=-Wno-unused-parameter | |
11 | export adsp_Write.o_CFLAGS_ADD=-Wno-sign-compare | |
12 | export adsp_Packet.o_CFLAGS_ADD=-Wno-sign-compare | |
13 | export adsp_Control.o_CFLAGS_ADD=-Wno-sign-compare | |
14 | export adsp_RxAttn.o_CFLAGS_ADD=-Wno-sign-compare | |
15 | export adsp_attention.o_CFLAGS_ADD=-Wno-sign-compare | |
16 | export asp_proto.o_CFLAGS_ADD=-Wno-sign-compare | |
17 | export drv_dep.o_CFLAGS_ADD=-Wno-sign-compare | |
18 | export ddp_rtmp.o_CFLAGS_ADD=-Wno-sign-compare | |
19 | export ddp_lap.o_CFLAGS_ADD=-Wno-sign-compare | |
20 | export radix.o_CFLAGS_ADD=-Wno-sign-compare | |
21 | export route.o_CFLAGS_ADD=-Wno-sign-compare | |
22 | export rtsock.o_CFLAGS_ADD=-Wno-sign-compare | |
23 | export dhcp_options.o_CFLAGS_ADD=-Wno-sign-compare | |
24 | export igmp.o_CFLAGS_ADD=-Wno-sign-compare | |
25 | export in_cksum.o_CFLAGS_ADD=-Wno-sign-compare | |
26 | export ip_divert.o_CFLAGS_ADD=-Wno-sign-compare | |
27 | export ip_dummynet.o_CFLAGS_ADD=-Wno-sign-compare | |
28 | export ip_flow.o_CFLAGS_ADD=-Wno-sign-compare | |
29 | export ip_fw2.o_CFLAGS_ADD=-Wno-sign-compare | |
30 | export ip_fw2_compat.o_CFLAGS_ADD=-Wno-sign-compare | |
31 | export ip_icmp.o_CFLAGS_ADD=-Wno-sign-compare | |
32 | export ip_input.o_CFLAGS_ADD=-Wno-sign-compare | |
33 | export ip_mroute.o_CFLAGS_ADD=-Wno-sign-compare | |
34 | export ip_output.o_CFLAGS_ADD=-Wno-sign-compare | |
35 | export raw_ip.o_CFLAGS_ADD=-Wno-sign-compare | |
36 | export tcp_input.o_CFLAGS_ADD=-Wno-sign-compare | |
37 | export tcp_output.o_CFLAGS_ADD=-Wno-sign-compare | |
38 | export tcp_subr.o_CFLAGS_ADD=-Wno-sign-compare | |
39 | export tcp_usrreq.o_CFLAGS_ADD=-Wno-sign-compare | |
40 | export tcp_timer.o_CFLAGS_ADD=-Wno-sign-compare | |
41 | export udp_usrreq.o_CFLAGS_ADD=-Wno-sign-compare | |
42 | export ah_input.o_CFLAGS_ADD=-Wno-sign-compare | |
43 | export ah_core.o_CFLAGS_ADD=-Wno-sign-compare | |
44 | export ah_output.o_CFLAGS_ADD=-Wno-sign-compare | |
45 | export esp_core.o_CFLAGS_ADD=-Wno-sign-compare | |
46 | export esp_input.o_CFLAGS_ADD=-Wno-sign-compare | |
47 | export esp_output.o_CFLAGS_ADD=-Wno-sign-compare | |
48 | export esp_rijndael.o_CFLAGS_ADD=-Wno-sign-compare | |
49 | export ipsec.o_CFLAGS_ADD=-Wno-sign-compare | |
50 | export dest6.o_CFLAGS_ADD=-Wno-sign-compare | |
51 | export frag6.o_CFLAGS_ADD=-Wno-sign-compare | |
52 | export icmp6.o_CFLAGS_ADD=-Wno-sign-compare | |
53 | export in6.o_CFLAGS_ADD=-Wno-sign-compare | |
54 | export in6_src.o_CFLAGS_ADD=-Wno-sign-compare | |
55 | export in6_cksum.o_CFLAGS_ADD=-Wno-sign-compare | |
56 | export ip6_fw.o_CFLAGS_ADD=-Wno-sign-compare | |
57 | export ip6_forward.o_CFLAGS_ADD=-Wno-sign-compare | |
58 | export in6_ifattach.o_CFLAGS_ADD=-Wno-sign-compare | |
59 | export ip6_input.o_CFLAGS_ADD=-Wno-sign-compare | |
60 | export ip6_mroute.o_CFLAGS_ADD=-Wno-sign-compare | |
61 | export ip6_output.o_CFLAGS_ADD=-Wno-sign-compare | |
62 | export ipcomp_input.o_CFLAGS_ADD=-Wno-sign-compare | |
63 | export ipcomp_output.o_CFLAGS_ADD=-Wno-sign-compare | |
64 | export in6_proto.o_CFLAGS_ADD=-Wno-sign-compare | |
65 | export mld6.o_CFLAGS_ADD=-Wno-sign-compare | |
66 | export nd6.o_CFLAGS_ADD=-Wno-sign-compare | |
67 | export nd6_nbr.o_CFLAGS_ADD=-Wno-sign-compare | |
68 | export nd6_rtr.o_CFLAGS_ADD=-Wno-sign-compare | |
69 | export raw_ip6.o_CFLAGS_ADD=-Wno-sign-compare | |
70 | export route6.o_CFLAGS_ADD=-Wno-sign-compare | |
71 | export scope6.o_CFLAGS_ADD=-Wno-sign-compare | |
72 | export udp6_usrreq.o_CFLAGS_ADD=-Wno-sign-compare | |
73 | export key.o_CFLAGS_ADD=-Wno-sign-compare | |
74 | export keysock.o_CFLAGS_ADD=-Wno-sign-compare | |
75 | export atp_write.o_CFLAGS_ADD=-Wno-sign-compare | |
76 | export keydb.o_CFLAGS_ADD=-Wno-sign-compare | |
77 | export des_setkey.o_CFLAGS_ADD=-Wno-sign-compare | |
78 | export sys_socket.o_CFLAGS_ADD=-Wno-sign-compare | |
79 | export sys_glue.o_CFLAGS_ADD=-Wno-sign-compare | |
80 | export uipc_domain.o_CFLAGS_ADD=-Wno-sign-compare | |
81 | export uipc_mbuf.o_CFLAGS_ADD=-Wno-sign-compare | |
82 | export uipc_mbuf2.o_CFLAGS_ADD=-Wno-sign-compare | |
83 | export uipc_socket.o_CFLAGS_ADD=-Wno-sign-compare | |
84 | export uipc_socket2.o_CFLAGS_ADD=-Wno-sign-compare | |
85 | ||
86 | include $(MakeInc_cmd) | |
87 | include $(MakeInc_def) | |
88 | ||
89 | SETUP_SUBDIRS = \ | |
90 | tools | |
91 | ||
92 | COMP_SUBDIRS = | |
93 | ||
94 | INST_SUBDIRS = | |
95 | ||
96 | ifndef BSD_KERNEL_CONFIG | |
97 | export BSD_KERNEL_CONFIG = $(KERNEL_CONFIG) | |
98 | endif | |
99 | ||
100 | ifneq ($(MACHINE_CONFIG), DEFAULT) | |
101 | export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)_$(MACHINE_CONFIG)/$(COMPONENT) | |
102 | else | |
103 | export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT) | |
104 | endif | |
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 | ||
127 | do_setup_conf: $(COMPOBJROOT)/doconf \ | |
128 | $(COMPOBJROOT)/$(BSD_KERNEL_CONFIG)/Makefile | |
129 | ||
130 | do_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 | ||
140 | do_build_all: do_all | |
141 | ||
142 | include $(MakeInc_rule) | |
143 | include $(MakeInc_dir) |