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
6 export dp_backing_file.o_CFLAGS_ADD=-Werror -Wshorten-64-to-32
7 export ubc_subr.o_CFLAGS_ADD=-Wno-discard-qual -Wshorten-64-to-32
8 export vnode_pager.o_CFLAGS_ADD=-Werror -Wshorten-64-to-32
9 export vm_unix.o_CFLAGS_ADD=-Werror -Wshorten-64-to-32
11 export if_mib.o_CFLAGS_ADD=-Wno-unused-parameter
12 export adsp_Write.o_CFLAGS_ADD=-Wno-sign-compare
13 export adsp_Packet.o_CFLAGS_ADD=-Wno-sign-compare
14 export adsp_Control.o_CFLAGS_ADD=-Wno-sign-compare
15 export adsp_RxAttn.o_CFLAGS_ADD=-Wno-sign-compare
16 export adsp_attention.o_CFLAGS_ADD=-Wno-sign-compare
17 export asp_proto.o_CFLAGS_ADD=-Wno-sign-compare
18 export drv_dep.o_CFLAGS_ADD=-Wno-sign-compare
19 export ddp_rtmp.o_CFLAGS_ADD=-Wno-sign-compare
20 export ddp_lap.o_CFLAGS_ADD=-Wno-sign-compare
21 export radix.o_CFLAGS_ADD=-Wno-sign-compare
22 export route.o_CFLAGS_ADD=-Wno-sign-compare
23 export rtsock.o_CFLAGS_ADD=-Wno-sign-compare
24 export dhcp_options.o_CFLAGS_ADD=-Wno-sign-compare
25 export igmp.o_CFLAGS_ADD=-Wno-sign-compare
26 export in_cksum.o_CFLAGS_ADD=-Wno-sign-compare
27 export ip_divert.o_CFLAGS_ADD=-Wno-sign-compare
28 export ip_dummynet.o_CFLAGS_ADD=-Wno-sign-compare
29 export ip_flow.o_CFLAGS_ADD=-Wno-sign-compare
30 export ip_fw2.o_CFLAGS_ADD=-Wno-sign-compare
31 export ip_fw2_compat.o_CFLAGS_ADD=-Wno-sign-compare
32 export ip_icmp.o_CFLAGS_ADD=-Wno-sign-compare
33 export ip_input.o_CFLAGS_ADD=-Wno-sign-compare
34 export ip_mroute.o_CFLAGS_ADD=-Wno-sign-compare
35 export ip_output.o_CFLAGS_ADD=-Wno-sign-compare
36 export raw_ip.o_CFLAGS_ADD=-Wno-sign-compare
37 export tcp_input.o_CFLAGS_ADD=-Wno-sign-compare
38 export tcp_output.o_CFLAGS_ADD=-Wno-sign-compare
39 export tcp_subr.o_CFLAGS_ADD=-Wno-sign-compare
40 export tcp_usrreq.o_CFLAGS_ADD=-Wno-sign-compare
41 export tcp_timer.o_CFLAGS_ADD=-Wno-sign-compare
42 export udp_usrreq.o_CFLAGS_ADD=-Wno-sign-compare
43 export ah_input.o_CFLAGS_ADD=-Wno-sign-compare
44 export ah_core.o_CFLAGS_ADD=-Wno-sign-compare
45 export ah_output.o_CFLAGS_ADD=-Wno-sign-compare
46 export esp_core.o_CFLAGS_ADD=-Wno-sign-compare
47 export esp_input.o_CFLAGS_ADD=-Wno-sign-compare
48 export esp_output.o_CFLAGS_ADD=-Wno-sign-compare
49 export esp_rijndael.o_CFLAGS_ADD=-Wno-sign-compare
50 export ipsec.o_CFLAGS_ADD=-Wno-sign-compare
51 export dest6.o_CFLAGS_ADD=-Wno-sign-compare
52 export frag6.o_CFLAGS_ADD=-Wno-sign-compare
53 export icmp6.o_CFLAGS_ADD=-Wno-sign-compare
54 export in6.o_CFLAGS_ADD=-Wno-sign-compare
55 export in6_src.o_CFLAGS_ADD=-Wno-sign-compare
56 export in6_cksum.o_CFLAGS_ADD=-Wno-sign-compare
57 export ip6_fw.o_CFLAGS_ADD=-Wno-sign-compare
58 export ip6_forward.o_CFLAGS_ADD=-Wno-sign-compare
59 export in6_ifattach.o_CFLAGS_ADD=-Wno-sign-compare
60 export ip6_input.o_CFLAGS_ADD=-Wno-sign-compare
61 export ip6_mroute.o_CFLAGS_ADD=-Wno-sign-compare
62 export ip6_output.o_CFLAGS_ADD=-Wno-sign-compare
63 export ipcomp_input.o_CFLAGS_ADD=-Wno-sign-compare
64 export ipcomp_output.o_CFLAGS_ADD=-Wno-sign-compare
65 export in6_proto.o_CFLAGS_ADD=-Wno-sign-compare
66 export mld6.o_CFLAGS_ADD=-Wno-sign-compare
67 export nd6.o_CFLAGS_ADD=-Wno-sign-compare
68 export nd6_nbr.o_CFLAGS_ADD=-Wno-sign-compare
69 export nd6_rtr.o_CFLAGS_ADD=-Wno-sign-compare
70 export raw_ip6.o_CFLAGS_ADD=-Wno-sign-compare
71 export route6.o_CFLAGS_ADD=-Wno-sign-compare
72 export scope6.o_CFLAGS_ADD=-Wno-sign-compare
73 export udp6_usrreq.o_CFLAGS_ADD=-Wno-sign-compare
74 export key.o_CFLAGS_ADD=-Wno-sign-compare
75 export keysock.o_CFLAGS_ADD=-Wno-sign-compare
76 export atp_write.o_CFLAGS_ADD=-Wno-sign-compare
77 export keydb.o_CFLAGS_ADD=-Wno-sign-compare
78 export des_setkey.o_CFLAGS_ADD=-Wno-sign-compare
79 export sys_socket.o_CFLAGS_ADD=-Wno-sign-compare
80 export sys_glue.o_CFLAGS_ADD=-Wno-sign-compare
81 export uipc_domain.o_CFLAGS_ADD=-Wno-sign-compare
82 export uipc_mbuf.o_CFLAGS_ADD=-Wno-sign-compare
83 export uipc_mbuf2.o_CFLAGS_ADD=-Wno-sign-compare
84 export uipc_socket.o_CFLAGS_ADD=-Wno-sign-compare
85 export uipc_socket2.o_CFLAGS_ADD=-Wno-sign-compare
87 include $(MakeInc_cmd)
88 include $(MakeInc_def)
97 ifndef BSD_KERNEL_CONFIG
98 export BSD_KERNEL_CONFIG = $(KERNEL_CONFIG)
101 ifneq ($(MACHINE_CONFIG), DEFAULT)
102 export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)_$(MACHINE_CONFIG)/$(COMPONENT)
104 export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)
107 $(COMPOBJROOT)/doconf:
110 $(COMPOBJROOT)/$(BSD_KERNEL_CONFIG)/Makefile : $(SOURCE)/MASTER \
111 $(SOURCE)/MASTER.$(ARCH_CONFIG_LC) \
112 $(SOURCE)/Makefile.template \
113 $(SOURCE)/Makefile.$(ARCH_CONFIG_LC) \
115 $(SOURCE)/files.$(ARCH_CONFIG_LC) \
116 $(COMPOBJROOT)/doconf
117 $(_v)(doconf_target=$(addsuffix /conf, $(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); \
125 .ORDER: $(COMPOBJROOT)/$(BSD_KERNEL_CONFIG)/Makefile
127 do_setup_conf: $(COMPOBJROOT)/doconf \
128 $(COMPOBJROOT)/$(BSD_KERNEL_CONFIG)/Makefile
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} \
137 KERNEL_CONFIG=$(BSD_KERNEL_CONFIG) \
142 include $(MakeInc_rule)
143 include $(MakeInc_dir)