source: rtems-libbsd/Makefile @ 710d2a1

4.115-freebsd-12freebsd-9.3
Last change on this file since 710d2a1 was 710d2a1, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 27, 2015 at 10:13:25 AM

mii: Add phy devices

  • Property mode set to 100644
File size: 72.5 KB
Line 
1include config.inc
2
3RTEMS_MAKEFILE_PATH = $(PREFIX)/$(TARGET)/$(BSP)
4include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
5include $(RTEMS_CUSTOM)
6include $(PROJECT_ROOT)/make/leaf.cfg
7
8COMMON_FLAGS += -fno-strict-aliasing
9COMMON_FLAGS += -ffreestanding
10COMMON_FLAGS += -fno-common
11COMMON_FLAGS += -Irtemsbsd/include
12COMMON_FLAGS += -Irtemsbsd/$(RTEMS_CPU)/include
13COMMON_FLAGS += -Ifreebsd/sys
14COMMON_FLAGS += -Ifreebsd/sys/$(RTEMS_CPU)/include
15COMMON_FLAGS += -Ifreebsd/sys/contrib/altq
16COMMON_FLAGS += -Ifreebsd/sys/contrib/pf
17COMMON_FLAGS += -Ifreebsd/include
18COMMON_FLAGS += -Ifreebsd/lib/libc/include
19COMMON_FLAGS += -Ifreebsd/lib/libc/isc/include
20COMMON_FLAGS += -Ifreebsd/lib/libc/resolv
21COMMON_FLAGS += -Ifreebsd/lib/libutil
22COMMON_FLAGS += -Ifreebsd/lib/libkvm
23COMMON_FLAGS += -Ifreebsd/lib/libmemstat
24COMMON_FLAGS += -Ifreebsd/lib/libipsec
25COMMON_FLAGS += -Irtemsbsd/sys
26COMMON_FLAGS += -ImDNSResponder/mDNSCore
27COMMON_FLAGS += -ImDNSResponder/mDNSShared
28COMMON_FLAGS += -ImDNSResponder/mDNSPosix
29COMMON_FLAGS += -Itestsuite/include
30COMMON_FLAGS += -Wall
31COMMON_FLAGS += -Wno-format
32COMMON_FLAGS += -MT $@ -MD -MP -MF $(basename $@).d
33CFLAGS += $(COMMON_FLAGS)
34CFLAGS += -std=gnu11
35CXXFLAGS += $(COMMON_FLAGS)
36CXXFLAGS += -std=gnu++11
37NEED_DUMMY_PIC_IRQ=yes
38
39TEST_NETWORK_CONFIG = testsuite/include/rtems/bsd/test/network-config.h
40
41TESTS =
42RUN_TESTS =
43
44NET_TESTS =
45RUN_NET_TESTS =
46
47O_FILES =
48D_FILES =
49
50LIB = libbsd.a
51LIB_GEN_FILES =
52LIB_C_FILES =
53LIB_CXX_FILES =
54LIB_CXX_FILES += rtemsbsd/rtems/rtems-bsd-cxx.cc
55LIB_C_FILES += rtemsbsd/local/bus_if.c
56LIB_C_FILES += rtemsbsd/local/cryptodev_if.c
57LIB_C_FILES += rtemsbsd/local/device_if.c
58LIB_C_FILES += rtemsbsd/local/miibus_if.c
59LIB_C_FILES += rtemsbsd/local/pcib_if.c
60LIB_C_FILES += rtemsbsd/local/pci_if.c
61LIB_C_FILES += rtemsbsd/local/usb_if.c
62LIB_C_FILES += rtemsbsd/local/mmcbus_if.c
63LIB_C_FILES += rtemsbsd/local/mmcbr_if.c
64LIB_C_FILES += rtemsbsd/rtems/ipsec_get_policylen.c
65LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-assert.c
66LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-arp-processor.c
67LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-autoconf.c
68LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-bus-dma.c
69LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-bus-dma-mbuf.c
70LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-cam.c
71LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-chunk.c
72LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-conf.c
73LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-configintrhook.c
74LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-delay.c
75LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-get-ethernet-addr.c
76LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-get-file.c
77LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-get-mac-address.c
78LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-get-allocator-domain-size.c
79LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-get-task-priority.c
80LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-get-task-stack-size.c
81LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-init.c
82LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-jail.c
83LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-log.c
84LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-malloc.c
85LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-mbuf.c
86LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-mutex.c
87LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-muteximpl.c
88LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-newproc.c
89LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-nexus.c
90LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-page.c
91LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-panic.c
92LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-pci_bus.c
93LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-pci_cfgreg.c
94LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-program.c
95LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-rwlock.c
96LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-shell.c
97LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-shell-netcmds.c
98LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-signal.c
99LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-sx.c
100LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-syscall-api.c
101LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-sysctlbyname.c
102LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-sysctl.c
103LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-sysctlnametomib.c
104LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-thread.c
105LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-timesupport.c
106LIB_C_FILES += rtemsbsd/rtems/rtems-bsdnet-rtrequest.c
107LIB_C_FILES += rtemsbsd/rtems/rtems-kvm.c
108LIB_C_FILES += rtemsbsd/rtems/rtems_mii_ioctl_kern.c
109LIB_C_FILES += rtemsbsd/rtems/rtems-syslog-initialize.c
110LIB_C_FILES += rtemsbsd/rtems/syslog.c
111LIB_C_FILES += rtemsbsd/ftpd/ftpd.c
112LIB_C_FILES += rtemsbsd/mdns/mdns.c
113LIB_C_FILES += rtemsbsd/mdns/mdns-hostname-default.c
114LIB_C_FILES += rtemsbsd/pppd/auth.c
115LIB_C_FILES += rtemsbsd/pppd/ccp.c
116LIB_C_FILES += rtemsbsd/pppd/chap.c
117LIB_C_FILES += rtemsbsd/pppd/chap_ms.c
118LIB_C_FILES += rtemsbsd/pppd/chat.c
119LIB_C_FILES += rtemsbsd/pppd/demand.c
120LIB_C_FILES += rtemsbsd/pppd/fsm.c
121LIB_C_FILES += rtemsbsd/pppd/ipcp.c
122LIB_C_FILES += rtemsbsd/pppd/lcp.c
123LIB_C_FILES += rtemsbsd/pppd/magic.c
124LIB_C_FILES += rtemsbsd/pppd/options.c
125LIB_C_FILES += rtemsbsd/pppd/rtemsmain.c
126LIB_C_FILES += rtemsbsd/pppd/rtemspppd.c
127LIB_C_FILES += rtemsbsd/pppd/sys-rtems.c
128LIB_C_FILES += rtemsbsd/pppd/upap.c
129LIB_C_FILES += rtemsbsd/pppd/utils.c
130LIB_C_FILES += rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c
131LIB_C_FILES += rtemsbsd/sys/dev/usb/controller/ohci_lpc24xx.c
132LIB_C_FILES += rtemsbsd/sys/dev/usb/controller/ohci_lpc32xx.c
133LIB_C_FILES += rtemsbsd/sys/dev/smc/if_smc_nexus.c
134LIB_C_FILES += rtemsbsd/sys/dev/ffec/if_ffec_mcf548x.c
135LIB_C_FILES += rtemsbsd/sys/dev/dw_mmc/dw_mmc.c
136LIB_C_FILES += rtemsbsd/sys/net/if_ppp.c
137LIB_C_FILES += rtemsbsd/sys/net/ppp_tty.c
138LIB_C_FILES += rtemsbsd/telnetd/check_passwd.c
139LIB_C_FILES += rtemsbsd/telnetd/des.c
140LIB_C_FILES += rtemsbsd/telnetd/pty.c
141LIB_C_FILES += rtemsbsd/telnetd/telnetd.c
142LIB_C_FILES += rtemsbsd/sys/dev/tsec/if_tsec_nexus.c
143LIB_GEN_FILES += rtemsbsd/rtems/rtems-kvm-symbols.c
144LIB_C_FILES += rtemsbsd/rtems/rtems-kvm-symbols.c
145rtemsbsd/rtems/rtems-kvm-symbols.c: rtemsbsd/rtems/generate_kvm_symbols
146        ./$< > $@
147LIB_GEN_FILES += freebsd/lib/libc/net/nslexer.c
148LIB_C_FILES += freebsd/lib/libc/net/nslexer.c
149freebsd/lib/libc/net/nslexer.c: freebsd/lib/libc/net/nslexer.l freebsd/lib/libc/net/nsparser.c
150        ${LEX} -P _nsyy -t $< | sed -e '/YY_BUF_SIZE/s/16384/1024/' > $@
151LIB_GEN_FILES += freebsd/lib/libc/net/nsparser.c
152LIB_C_FILES += freebsd/lib/libc/net/nsparser.c
153freebsd/lib/libc/net/nsparser.c: freebsd/lib/libc/net/nsparser.y
154        yacc -b _nsyy -d -p _nsyy $<
155        sed -e /YY_BUF_SIZE/s/16384/1024/ < _nsyy.tab.c > $@
156        rm -f _nsyy.tab.c
157        mv _nsyy.tab.h freebsd/lib/libc/net/nsparser.h
158LIB_GEN_FILES += freebsd/lib/libipsec/policy_token.c
159LIB_C_FILES += freebsd/lib/libipsec/policy_token.c
160freebsd/lib/libipsec/policy_token.c: freebsd/lib/libipsec/policy_token.l freebsd/lib/libipsec/policy_parse.c
161        ${LEX} -P __libipsecyy -t $< | sed -e '/YY_BUF_SIZE/s/16384/1024/' > $@
162LIB_GEN_FILES += freebsd/lib/libipsec/policy_parse.c
163LIB_C_FILES += freebsd/lib/libipsec/policy_parse.c
164freebsd/lib/libipsec/policy_parse.c: freebsd/lib/libipsec/policy_parse.y
165        yacc -b __libipsecyy -d -p __libipsecyy $<
166        sed -e /YY_BUF_SIZE/s/16384/1024/ < __libipsecyy.tab.c > $@
167        rm -f __libipsecyy.tab.c
168        mv __libipsecyy.tab.h freebsd/lib/libipsec/y.tab.h
169LIB_C_FILES += freebsd/sys/kern/init_main.c
170LIB_C_FILES += freebsd/sys/kern/kern_condvar.c
171LIB_C_FILES += freebsd/sys/kern/kern_event.c
172LIB_C_FILES += freebsd/sys/kern/kern_hhook.c
173LIB_C_FILES += freebsd/sys/kern/kern_intr.c
174LIB_C_FILES += freebsd/sys/kern/kern_khelp.c
175LIB_C_FILES += freebsd/sys/kern/kern_linker.c
176LIB_C_FILES += freebsd/sys/kern/kern_mbuf.c
177LIB_C_FILES += freebsd/sys/kern/kern_mib.c
178LIB_C_FILES += freebsd/sys/kern/kern_module.c
179LIB_C_FILES += freebsd/sys/kern/kern_mtxpool.c
180LIB_C_FILES += freebsd/sys/kern/kern_osd.c
181LIB_C_FILES += freebsd/sys/kern/kern_synch.c
182LIB_C_FILES += freebsd/sys/kern/kern_sysctl.c
183LIB_C_FILES += freebsd/sys/kern/kern_time.c
184LIB_C_FILES += freebsd/sys/kern/kern_timeout.c
185LIB_C_FILES += freebsd/sys/kern/subr_bufring.c
186LIB_C_FILES += freebsd/sys/kern/subr_bus.c
187LIB_C_FILES += freebsd/sys/kern/subr_eventhandler.c
188LIB_C_FILES += freebsd/sys/kern/subr_hash.c
189LIB_C_FILES += freebsd/sys/kern/subr_hints.c
190LIB_C_FILES += freebsd/sys/kern/subr_kobj.c
191LIB_C_FILES += freebsd/sys/kern/subr_lock.c
192LIB_C_FILES += freebsd/sys/kern/subr_module.c
193LIB_C_FILES += freebsd/sys/kern/subr_rman.c
194LIB_C_FILES += freebsd/sys/kern/subr_sbuf.c
195LIB_C_FILES += freebsd/sys/kern/subr_sleepqueue.c
196LIB_C_FILES += freebsd/sys/kern/subr_taskqueue.c
197LIB_C_FILES += freebsd/sys/kern/subr_uio.c
198LIB_C_FILES += freebsd/sys/kern/subr_unit.c
199LIB_C_FILES += freebsd/sys/kern/sys_generic.c
200LIB_C_FILES += freebsd/sys/kern/uipc_accf.c
201LIB_C_FILES += freebsd/sys/kern/uipc_domain.c
202LIB_C_FILES += freebsd/sys/kern/uipc_mbuf2.c
203LIB_C_FILES += freebsd/sys/kern/uipc_mbuf.c
204LIB_C_FILES += freebsd/sys/kern/uipc_sockbuf.c
205LIB_C_FILES += freebsd/sys/kern/uipc_socket.c
206LIB_C_FILES += freebsd/sys/kern/uipc_usrreq.c
207LIB_C_FILES += freebsd/sys/libkern/arc4random.c
208LIB_C_FILES += freebsd/sys/libkern/fls.c
209LIB_C_FILES += freebsd/sys/libkern/inet_ntoa.c
210LIB_C_FILES += freebsd/sys/libkern/random.c
211LIB_C_FILES += freebsd/sys/vm/uma_core.c
212LIB_C_FILES += freebsd/sys/dev/mmc/mmc.c
213LIB_C_FILES += freebsd/sys/dev/mmc/mmcsd.c
214LIB_C_FILES += freebsd/sys/dev/sdhci/sdhci.c
215LIB_C_FILES += freebsd/sys/kern/sys_socket.c
216LIB_C_FILES += freebsd/sys/kern/uipc_syscalls.c
217LIB_C_FILES += freebsd/sys/net/bridgestp.c
218LIB_C_FILES += freebsd/sys/net/ieee8023ad_lacp.c
219LIB_C_FILES += freebsd/sys/net/if_atmsubr.c
220LIB_C_FILES += freebsd/sys/net/if.c
221LIB_C_FILES += freebsd/sys/net/if_clone.c
222LIB_C_FILES += freebsd/sys/net/if_dead.c
223LIB_C_FILES += freebsd/sys/net/if_disc.c
224LIB_C_FILES += freebsd/sys/net/if_edsc.c
225LIB_C_FILES += freebsd/sys/net/if_ef.c
226LIB_C_FILES += freebsd/sys/net/if_enc.c
227LIB_C_FILES += freebsd/sys/net/if_epair.c
228LIB_C_FILES += freebsd/sys/net/if_faith.c
229LIB_C_FILES += freebsd/sys/net/if_fddisubr.c
230LIB_C_FILES += freebsd/sys/net/if_fwsubr.c
231LIB_C_FILES += freebsd/sys/net/if_gif.c
232LIB_C_FILES += freebsd/sys/net/if_gre.c
233LIB_C_FILES += freebsd/sys/net/if_iso88025subr.c
234LIB_C_FILES += freebsd/sys/net/if_lagg.c
235LIB_C_FILES += freebsd/sys/net/if_llatbl.c
236LIB_C_FILES += freebsd/sys/net/if_loop.c
237LIB_C_FILES += freebsd/sys/net/if_media.c
238LIB_C_FILES += freebsd/sys/net/if_mib.c
239LIB_C_FILES += freebsd/sys/net/if_spppfr.c
240LIB_C_FILES += freebsd/sys/net/if_spppsubr.c
241LIB_C_FILES += freebsd/sys/net/if_tap.c
242LIB_C_FILES += freebsd/sys/net/if_tun.c
243LIB_C_FILES += freebsd/sys/net/if_vlan.c
244LIB_C_FILES += freebsd/sys/net/pfil.c
245LIB_C_FILES += freebsd/sys/net/radix.c
246LIB_C_FILES += freebsd/sys/net/radix_mpath.c
247LIB_C_FILES += freebsd/sys/net/raw_cb.c
248LIB_C_FILES += freebsd/sys/net/raw_usrreq.c
249LIB_C_FILES += freebsd/sys/net/route.c
250LIB_C_FILES += freebsd/sys/net/rtsock.c
251LIB_C_FILES += freebsd/sys/net/slcompress.c
252LIB_C_FILES += freebsd/sys/net/bpf_buffer.c
253LIB_C_FILES += freebsd/sys/net/bpf.c
254LIB_C_FILES += freebsd/sys/net/bpf_filter.c
255LIB_C_FILES += freebsd/sys/net/bpf_jitter.c
256LIB_C_FILES += freebsd/sys/net/if_arcsubr.c
257LIB_C_FILES += freebsd/sys/net/if_bridge.c
258LIB_C_FILES += freebsd/sys/net/if_ethersubr.c
259LIB_C_FILES += freebsd/sys/net/netisr.c
260LIB_C_FILES += freebsd/sys/netinet/accf_data.c
261LIB_C_FILES += freebsd/sys/netinet/accf_dns.c
262LIB_C_FILES += freebsd/sys/netinet/accf_http.c
263LIB_C_FILES += freebsd/sys/netinet/cc/cc.c
264LIB_C_FILES += freebsd/sys/netinet/cc/cc_newreno.c
265LIB_C_FILES += freebsd/sys/netinet/if_atm.c
266LIB_C_FILES += freebsd/sys/netinet/if_ether.c
267LIB_C_FILES += freebsd/sys/netinet/igmp.c
268LIB_C_FILES += freebsd/sys/netinet/in.c
269LIB_C_FILES += freebsd/sys/netinet/in_gif.c
270LIB_C_FILES += freebsd/sys/netinet/in_mcast.c
271LIB_C_FILES += freebsd/sys/netinet/in_pcb.c
272LIB_C_FILES += freebsd/sys/netinet/in_proto.c
273LIB_C_FILES += freebsd/sys/netinet/in_rmx.c
274LIB_C_FILES += freebsd/sys/netinet/ip_carp.c
275LIB_C_FILES += freebsd/sys/netinet/ip_divert.c
276LIB_C_FILES += freebsd/sys/netinet/ip_ecn.c
277LIB_C_FILES += freebsd/sys/netinet/ip_encap.c
278LIB_C_FILES += freebsd/sys/netinet/ip_fastfwd.c
279LIB_C_FILES += freebsd/sys/netinet/ip_gre.c
280LIB_C_FILES += freebsd/sys/netinet/ip_icmp.c
281LIB_C_FILES += freebsd/sys/netinet/ip_id.c
282LIB_C_FILES += freebsd/sys/netinet/ip_input.c
283LIB_C_FILES += freebsd/sys/netinet/ip_mroute.c
284LIB_C_FILES += freebsd/sys/netinet/ip_options.c
285LIB_C_FILES += freebsd/sys/netinet/ip_output.c
286LIB_C_FILES += freebsd/sys/netinet/raw_ip.c
287LIB_C_FILES += freebsd/sys/netinet/sctp_asconf.c
288LIB_C_FILES += freebsd/sys/netinet/sctp_auth.c
289LIB_C_FILES += freebsd/sys/netinet/sctp_bsd_addr.c
290LIB_C_FILES += freebsd/sys/netinet/sctp_cc_functions.c
291LIB_C_FILES += freebsd/sys/netinet/sctp_crc32.c
292LIB_C_FILES += freebsd/sys/netinet/sctp_indata.c
293LIB_C_FILES += freebsd/sys/netinet/sctp_input.c
294LIB_C_FILES += freebsd/sys/netinet/sctp_output.c
295LIB_C_FILES += freebsd/sys/netinet/sctp_pcb.c
296LIB_C_FILES += freebsd/sys/netinet/sctp_peeloff.c
297LIB_C_FILES += freebsd/sys/netinet/sctp_sysctl.c
298LIB_C_FILES += freebsd/sys/netinet/sctp_timer.c
299LIB_C_FILES += freebsd/sys/netinet/sctp_usrreq.c
300LIB_C_FILES += freebsd/sys/netinet/sctputil.c
301LIB_C_FILES += freebsd/sys/netinet/tcp_debug.c
302LIB_C_FILES += freebsd/sys/netinet/tcp_input.c
303LIB_C_FILES += freebsd/sys/netinet/tcp_lro.c
304LIB_C_FILES += freebsd/sys/netinet/tcp_offload.c
305LIB_C_FILES += freebsd/sys/netinet/tcp_output.c
306LIB_C_FILES += freebsd/sys/netinet/tcp_reass.c
307LIB_C_FILES += freebsd/sys/netinet/tcp_sack.c
308LIB_C_FILES += freebsd/sys/netinet/tcp_subr.c
309LIB_C_FILES += freebsd/sys/netinet/tcp_syncache.c
310LIB_C_FILES += freebsd/sys/netinet/tcp_timer.c
311LIB_C_FILES += freebsd/sys/netinet/tcp_timewait.c
312LIB_C_FILES += freebsd/sys/netinet/tcp_usrreq.c
313LIB_C_FILES += freebsd/sys/netpfil/ipfw/dn_heap.c
314LIB_C_FILES += freebsd/sys/netpfil/ipfw/dn_sched_fifo.c
315LIB_C_FILES += freebsd/sys/netpfil/ipfw/dn_sched_prio.c
316LIB_C_FILES += freebsd/sys/netpfil/ipfw/dn_sched_qfq.c
317LIB_C_FILES += freebsd/sys/netpfil/ipfw/dn_sched_rr.c
318LIB_C_FILES += freebsd/sys/netpfil/ipfw/dn_sched_wf2q.c
319LIB_C_FILES += freebsd/sys/netpfil/ipfw/ip_dn_glue.c
320LIB_C_FILES += freebsd/sys/netpfil/ipfw/ip_dn_io.c
321LIB_C_FILES += freebsd/sys/netpfil/ipfw/ip_dummynet.c
322LIB_C_FILES += freebsd/sys/netpfil/ipfw/ip_fw2.c
323LIB_C_FILES += freebsd/sys/netpfil/ipfw/ip_fw_log.c
324LIB_C_FILES += freebsd/sys/netpfil/ipfw/ip_fw_nat.c
325LIB_C_FILES += freebsd/sys/netpfil/ipfw/ip_fw_pfil.c
326LIB_C_FILES += freebsd/sys/netpfil/ipfw/ip_fw_sockopt.c
327LIB_C_FILES += freebsd/sys/netpfil/ipfw/ip_fw_table.c
328LIB_C_FILES += freebsd/sys/netinet/udp_usrreq.c
329LIB_C_FILES += freebsd/sys/netinet/libalias/alias_dummy.c
330LIB_C_FILES += freebsd/sys/netinet/libalias/alias_pptp.c
331LIB_C_FILES += freebsd/sys/netinet/libalias/alias_smedia.c
332LIB_C_FILES += freebsd/sys/netinet/libalias/alias_mod.c
333LIB_C_FILES += freebsd/sys/netinet/libalias/alias_cuseeme.c
334LIB_C_FILES += freebsd/sys/netinet/libalias/alias_nbt.c
335LIB_C_FILES += freebsd/sys/netinet/libalias/alias_irc.c
336LIB_C_FILES += freebsd/sys/netinet/libalias/alias_util.c
337LIB_C_FILES += freebsd/sys/netinet/libalias/alias_db.c
338LIB_C_FILES += freebsd/sys/netinet/libalias/alias_ftp.c
339LIB_C_FILES += freebsd/sys/netinet/libalias/alias_proxy.c
340LIB_C_FILES += freebsd/sys/netinet/libalias/alias.c
341LIB_C_FILES += freebsd/sys/netinet/libalias/alias_skinny.c
342LIB_C_FILES += freebsd/sys/netinet/libalias/alias_sctp.c
343LIB_C_FILES += freebsd/sys/net/if_stf.c
344LIB_C_FILES += freebsd/sys/netinet6/dest6.c
345LIB_C_FILES += freebsd/sys/netinet6/frag6.c
346LIB_C_FILES += freebsd/sys/netinet6/icmp6.c
347LIB_C_FILES += freebsd/sys/netinet6/in6.c
348LIB_C_FILES += freebsd/sys/netinet6/in6_cksum.c
349LIB_C_FILES += freebsd/sys/netinet6/in6_gif.c
350LIB_C_FILES += freebsd/sys/netinet6/in6_ifattach.c
351LIB_C_FILES += freebsd/sys/netinet6/in6_mcast.c
352LIB_C_FILES += freebsd/sys/netinet6/in6_pcb.c
353LIB_C_FILES += freebsd/sys/netinet6/in6_proto.c
354LIB_C_FILES += freebsd/sys/netinet6/in6_rmx.c
355LIB_C_FILES += freebsd/sys/netinet6/in6_src.c
356LIB_C_FILES += freebsd/sys/netinet6/ip6_forward.c
357LIB_C_FILES += freebsd/sys/netinet6/ip6_id.c
358LIB_C_FILES += freebsd/sys/netinet6/ip6_input.c
359LIB_C_FILES += freebsd/sys/netinet6/ip6_mroute.c
360LIB_C_FILES += freebsd/sys/netinet6/ip6_output.c
361LIB_C_FILES += freebsd/sys/netinet6/mld6.c
362LIB_C_FILES += freebsd/sys/netinet6/nd6.c
363LIB_C_FILES += freebsd/sys/netinet6/nd6_nbr.c
364LIB_C_FILES += freebsd/sys/netinet6/nd6_rtr.c
365LIB_C_FILES += freebsd/sys/netinet6/raw_ip6.c
366LIB_C_FILES += freebsd/sys/netinet6/route6.c
367LIB_C_FILES += freebsd/sys/netinet6/scope6.c
368LIB_C_FILES += freebsd/sys/netinet6/sctp6_usrreq.c
369LIB_C_FILES += freebsd/sys/netinet6/udp6_usrreq.c
370LIB_C_FILES += freebsd/sys/opencrypto/crypto.c
371LIB_C_FILES += freebsd/sys/opencrypto/deflate.c
372LIB_C_FILES += freebsd/sys/opencrypto/cryptosoft.c
373LIB_C_FILES += freebsd/sys/opencrypto/criov.c
374LIB_C_FILES += freebsd/sys/opencrypto/rmd160.c
375LIB_C_FILES += freebsd/sys/opencrypto/xform.c
376LIB_C_FILES += freebsd/sys/opencrypto/skipjack.c
377LIB_C_FILES += freebsd/sys/opencrypto/cast.c
378LIB_C_FILES += freebsd/sys/crypto/sha1.c
379LIB_C_FILES += freebsd/sys/crypto/sha2/sha2.c
380LIB_C_FILES += freebsd/sys/crypto/rijndael/rijndael-alg-fst.c
381LIB_C_FILES += freebsd/sys/crypto/rijndael/rijndael-api.c
382LIB_C_FILES += freebsd/sys/crypto/rijndael/rijndael-api-fst.c
383LIB_C_FILES += freebsd/sys/crypto/des/des_setkey.c
384LIB_C_FILES += freebsd/sys/crypto/des/des_enc.c
385LIB_C_FILES += freebsd/sys/crypto/des/des_ecb.c
386LIB_C_FILES += freebsd/sys/crypto/blowfish/bf_enc.c
387LIB_C_FILES += freebsd/sys/crypto/blowfish/bf_skey.c
388LIB_C_FILES += freebsd/sys/crypto/blowfish/bf_ecb.c
389LIB_C_FILES += freebsd/sys/crypto/rc4/rc4.c
390LIB_C_FILES += freebsd/sys/crypto/camellia/camellia-api.c
391LIB_C_FILES += freebsd/sys/crypto/camellia/camellia.c
392LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_rmclass.c
393LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_rio.c
394LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_subr.c
395LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_cdnr.c
396LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_priq.c
397LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_cbq.c
398LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_hfsc.c
399LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_red.c
400LIB_C_FILES += freebsd/sys/contrib/pf/net/if_pflog.c
401LIB_C_FILES += freebsd/sys/contrib/pf/net/if_pfsync.c
402LIB_C_FILES += freebsd/sys/contrib/pf/net/pf.c
403LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_if.c
404LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_ioctl.c
405LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_lb.c
406LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_norm.c
407LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_osfp.c
408LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_ruleset.c
409LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_table.c
410LIB_C_FILES += freebsd/sys/contrib/pf/netinet/in4_cksum.c
411LIB_C_FILES += freebsd/sys/dev/mii/mii.c
412LIB_C_FILES += freebsd/sys/dev/mii/mii_bitbang.c
413LIB_C_FILES += freebsd/sys/dev/mii/mii_physubr.c
414LIB_C_FILES += freebsd/sys/dev/mii/icsphy.c
415LIB_C_FILES += freebsd/sys/dev/mii/e1000phy.c
416LIB_C_FILES += freebsd/sys/dev/mii/brgphy.c
417LIB_C_FILES += freebsd/sys/dev/mii/micphy.c
418LIB_C_FILES += freebsd/sys/dev/mii/ukphy.c
419LIB_C_FILES += freebsd/sys/dev/mii/ukphy_subr.c
420LIB_C_FILES += freebsd/sys/dev/tsec/if_tsec.c
421LIB_C_FILES += freebsd/sys/dev/cadence/if_cgem.c
422LIB_C_FILES += freebsd/sys/arm/xilinx/zy7_slcr.c
423LIB_C_FILES += freebsd/sys/dev/usb/usb_busdma.c
424LIB_C_FILES += freebsd/sys/dev/usb/usb_core.c
425LIB_C_FILES += freebsd/sys/dev/usb/usb_debug.c
426LIB_C_FILES += freebsd/sys/dev/usb/usb_dev.c
427LIB_C_FILES += freebsd/sys/dev/usb/usb_device.c
428LIB_C_FILES += freebsd/sys/dev/usb/usb_dynamic.c
429LIB_C_FILES += freebsd/sys/dev/usb/usb_error.c
430LIB_C_FILES += freebsd/sys/dev/usb/usb_generic.c
431LIB_C_FILES += freebsd/sys/dev/usb/usb_handle_request.c
432LIB_C_FILES += freebsd/sys/dev/usb/usb_hid.c
433LIB_C_FILES += freebsd/sys/dev/usb/usb_hub.c
434LIB_C_FILES += freebsd/sys/dev/usb/usb_lookup.c
435LIB_C_FILES += freebsd/sys/dev/usb/usb_mbuf.c
436LIB_C_FILES += freebsd/sys/dev/usb/usb_msctest.c
437LIB_C_FILES += freebsd/sys/dev/usb/usb_parse.c
438LIB_C_FILES += freebsd/sys/dev/usb/usb_process.c
439LIB_C_FILES += freebsd/sys/dev/usb/usb_request.c
440LIB_C_FILES += freebsd/sys/dev/usb/usb_transfer.c
441LIB_C_FILES += freebsd/sys/dev/usb/usb_util.c
442LIB_C_FILES += freebsd/sys/dev/usb/quirk/usb_quirk.c
443LIB_C_FILES += freebsd/sys/dev/usb/controller/ohci.c
444LIB_C_FILES += freebsd/sys/dev/usb/controller/ehci.c
445LIB_C_FILES += freebsd/sys/dev/usb/controller/usb_controller.c
446LIB_C_FILES += freebsd/sys/cam/cam.c
447LIB_C_FILES += freebsd/sys/cam/scsi/scsi_all.c
448LIB_C_FILES += freebsd/sys/dev/usb/storage/umass.c
449LIB_C_FILES += freebsd/sys/dev/pci/pci.c
450LIB_C_FILES += freebsd/sys/dev/pci/pci_user.c
451LIB_C_FILES += freebsd/sys/dev/pci/pci_pci.c
452ifeq ($(RTEMS_CPU), arm)
453LIB_C_FILES += freebsd/sys/arm/arm/legacy.c
454LIB_C_FILES += freebsd/sys/arm/pci/pci_bus.c
455NEED_DUMMY_PIC_IRQ=no
456endif
457ifeq ($(RTEMS_CPU), avr)
458LIB_C_FILES += freebsd/sys/avr/avr/legacy.c
459LIB_C_FILES += freebsd/sys/avr/pci/pci_bus.c
460endif
461ifeq ($(RTEMS_CPU), bfin)
462LIB_C_FILES += freebsd/sys/bfin/bfin/legacy.c
463LIB_C_FILES += freebsd/sys/bfin/pci/pci_bus.c
464endif
465ifeq ($(RTEMS_CPU), h8300)
466LIB_C_FILES += freebsd/sys/h8300/h8300/legacy.c
467LIB_C_FILES += freebsd/sys/h8300/pci/pci_bus.c
468endif
469ifeq ($(RTEMS_CPU), i386)
470LIB_C_FILES += freebsd/sys/i386/i386/legacy.c
471LIB_C_FILES += freebsd/sys/i386/pci/pci_bus.c
472NEED_DUMMY_PIC_IRQ=no
473endif
474ifeq ($(RTEMS_CPU), lm32)
475LIB_C_FILES += freebsd/sys/lm32/lm32/legacy.c
476LIB_C_FILES += freebsd/sys/lm32/pci/pci_bus.c
477NEED_DUMMY_PIC_IRQ=no
478endif
479ifeq ($(RTEMS_CPU), m32c)
480LIB_C_FILES += freebsd/sys/m32c/m32c/legacy.c
481LIB_C_FILES += freebsd/sys/m32c/pci/pci_bus.c
482endif
483ifeq ($(RTEMS_CPU), m32r)
484LIB_C_FILES += freebsd/sys/m32r/m32r/legacy.c
485LIB_C_FILES += freebsd/sys/m32r/pci/pci_bus.c
486endif
487ifeq ($(RTEMS_CPU), m68k)
488LIB_C_FILES += freebsd/sys/m68k/m68k/legacy.c
489LIB_C_FILES += freebsd/sys/m68k/pci/pci_bus.c
490NEED_DUMMY_PIC_IRQ=no
491endif
492ifeq ($(RTEMS_CPU), mips)
493LIB_C_FILES += freebsd/sys/mips/mips/legacy.c
494LIB_C_FILES += freebsd/sys/mips/pci/pci_bus.c
495NEED_DUMMY_PIC_IRQ=no
496endif
497ifeq ($(RTEMS_CPU), nios2)
498LIB_C_FILES += freebsd/sys/nios2/nios2/legacy.c
499LIB_C_FILES += freebsd/sys/nios2/pci/pci_bus.c
500endif
501ifeq ($(RTEMS_CPU), powerpc)
502LIB_C_FILES += freebsd/sys/powerpc/powerpc/legacy.c
503LIB_C_FILES += freebsd/sys/powerpc/pci/pci_bus.c
504NEED_DUMMY_PIC_IRQ=no
505endif
506ifeq ($(RTEMS_CPU), sh)
507LIB_C_FILES += freebsd/sys/sh/sh/legacy.c
508LIB_C_FILES += freebsd/sys/sh/pci/pci_bus.c
509endif
510ifeq ($(RTEMS_CPU), sparc)
511LIB_C_FILES += freebsd/sys/sparc/sparc/legacy.c
512LIB_C_FILES += freebsd/sys/sparc/pci/pci_bus.c
513NEED_DUMMY_PIC_IRQ=no
514endif
515ifeq ($(RTEMS_CPU), sparc64)
516LIB_C_FILES += freebsd/sys/sparc64/sparc64/legacy.c
517LIB_C_FILES += freebsd/sys/sparc64/pci/pci_bus.c
518endif
519ifeq ($(RTEMS_CPU), v850)
520LIB_C_FILES += freebsd/sys/v850/v850/legacy.c
521LIB_C_FILES += freebsd/sys/v850/pci/pci_bus.c
522endif
523LIB_C_FILES += freebsd/sys/dev/random/harvest.c
524LIB_C_FILES += freebsd/sys/netinet/tcp_hostcache.c
525LIB_C_FILES += freebsd/sys/dev/led/led.c
526LIB_C_FILES += freebsd/sys/netatalk/aarp.c
527LIB_C_FILES += freebsd/sys/netatalk/at_control.c
528LIB_C_FILES += freebsd/sys/netatalk/at_rmx.c
529LIB_C_FILES += freebsd/sys/netatalk/ddp_input.c
530LIB_C_FILES += freebsd/sys/netatalk/ddp_pcb.c
531LIB_C_FILES += freebsd/sys/netatalk/ddp_usrreq.c
532LIB_C_FILES += freebsd/sys/netatalk/at_proto.c
533LIB_C_FILES += freebsd/sys/netatalk/ddp_output.c
534LIB_C_FILES += freebsd/sys/dev/re/if_re.c
535LIB_C_FILES += freebsd/sys/dev/fxp/if_fxp.c
536LIB_C_FILES += freebsd/sys/dev/e1000/e1000_80003es2lan.c
537LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82542.c
538LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82575.c
539LIB_C_FILES += freebsd/sys/dev/e1000/e1000_mac.c
540LIB_C_FILES += freebsd/sys/dev/e1000/e1000_nvm.c
541LIB_C_FILES += freebsd/sys/dev/e1000/e1000_vf.c
542LIB_C_FILES += freebsd/sys/dev/e1000/if_lem.c
543LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82540.c
544LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82543.c
545LIB_C_FILES += freebsd/sys/dev/e1000/e1000_api.c
546LIB_C_FILES += freebsd/sys/dev/e1000/e1000_manage.c
547LIB_C_FILES += freebsd/sys/dev/e1000/e1000_osdep.c
548LIB_C_FILES += freebsd/sys/dev/e1000/if_em.c
549LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82541.c
550LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82571.c
551LIB_C_FILES += freebsd/sys/dev/e1000/e1000_ich8lan.c
552LIB_C_FILES += freebsd/sys/dev/e1000/e1000_mbx.c
553LIB_C_FILES += freebsd/sys/dev/e1000/e1000_phy.c
554LIB_C_FILES += freebsd/sys/dev/e1000/if_igb.c
555LIB_C_FILES += freebsd/sys/dev/dc/dcphy.c
556LIB_C_FILES += freebsd/sys/dev/dc/if_dc.c
557LIB_C_FILES += freebsd/sys/dev/dc/pnphy.c
558LIB_C_FILES += freebsd/sys/dev/smc/if_smc.c
559LIB_C_FILES += freebsd/sys/dev/bce/if_bce.c
560LIB_C_FILES += freebsd/sys/dev/bfe/if_bfe.c
561LIB_C_FILES += freebsd/sys/dev/bge/if_bge.c
562ifeq ($(RTEMS_CPU), arm)
563LIB_C_FILES += freebsd/sys/arm/arm/in_cksum.c
564NEED_DUMMY_PIC_IRQ=no
565endif
566ifeq ($(RTEMS_CPU), avr)
567LIB_C_FILES += freebsd/sys/avr/avr/in_cksum.c
568endif
569ifeq ($(RTEMS_CPU), bfin)
570LIB_C_FILES += freebsd/sys/bfin/bfin/in_cksum.c
571endif
572ifeq ($(RTEMS_CPU), h8300)
573LIB_C_FILES += freebsd/sys/h8300/h8300/in_cksum.c
574endif
575ifeq ($(RTEMS_CPU), i386)
576LIB_C_FILES += freebsd/sys/i386/i386/in_cksum.c
577NEED_DUMMY_PIC_IRQ=no
578endif
579ifeq ($(RTEMS_CPU), lm32)
580LIB_C_FILES += freebsd/sys/lm32/lm32/in_cksum.c
581NEED_DUMMY_PIC_IRQ=no
582endif
583ifeq ($(RTEMS_CPU), m32c)
584LIB_C_FILES += freebsd/sys/m32c/m32c/in_cksum.c
585endif
586ifeq ($(RTEMS_CPU), m32r)
587LIB_C_FILES += freebsd/sys/m32r/m32r/in_cksum.c
588endif
589ifeq ($(RTEMS_CPU), m68k)
590LIB_C_FILES += freebsd/sys/m68k/m68k/in_cksum.c
591NEED_DUMMY_PIC_IRQ=no
592endif
593ifeq ($(RTEMS_CPU), mips)
594LIB_C_FILES += freebsd/sys/mips/mips/in_cksum.c
595NEED_DUMMY_PIC_IRQ=no
596endif
597ifeq ($(RTEMS_CPU), nios2)
598LIB_C_FILES += freebsd/sys/nios2/nios2/in_cksum.c
599endif
600ifeq ($(RTEMS_CPU), powerpc)
601LIB_C_FILES += freebsd/sys/powerpc/powerpc/in_cksum.c
602NEED_DUMMY_PIC_IRQ=no
603endif
604ifeq ($(RTEMS_CPU), sh)
605LIB_C_FILES += freebsd/sys/sh/sh/in_cksum.c
606endif
607ifeq ($(RTEMS_CPU), sparc)
608LIB_C_FILES += freebsd/sys/sparc/sparc/in_cksum.c
609LIB_C_FILES += freebsd/sys/mips/mips/in_cksum.c
610NEED_DUMMY_PIC_IRQ=no
611endif
612ifeq ($(RTEMS_CPU), sparc64)
613LIB_C_FILES += freebsd/sys/sparc64/sparc64/in_cksum.c
614endif
615ifeq ($(RTEMS_CPU), v850)
616LIB_C_FILES += freebsd/sys/v850/v850/in_cksum.c
617endif
618LIB_GEN_FILES += freebsd/include/rpc/rpcb_prot.h
619freebsd/include/rpc/rpcb_prot.h: freebsd/include/rpc/rpcb_prot.x
620                rm -f $@
621                rpcgen -h -o $@ $<
622LIB_GEN_FILES += freebsd/sbin/route/keywords.h
623freebsd/sbin/route/keywords.h: freebsd/sbin/route/keywords
624        sed -e '/^#/d' -e '/^$$/d' $< > freebsd/sbin/route/keywords.tmp
625        LC_ALL=C tr 'a-z' 'A-Z' < freebsd/sbin/route/keywords.tmp | paste freebsd/sbin/route/keywords.tmp - | \
626        awk '{ if (NF > 1) printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", $$2, NR, $$1, $$2 }' > $@
627        rm -f freebsd/sbin/route/keywords.tmp
628LIB_C_FILES += freebsd/lib/libc/db/btree/bt_close.c
629freebsd/lib/libc/db/btree/bt_close.o: freebsd/lib/libc/db/btree/bt_close.c
630        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
631LIB_C_FILES += freebsd/lib/libc/db/btree/bt_conv.c
632freebsd/lib/libc/db/btree/bt_conv.o: freebsd/lib/libc/db/btree/bt_conv.c
633        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
634LIB_C_FILES += freebsd/lib/libc/db/btree/bt_debug.c
635freebsd/lib/libc/db/btree/bt_debug.o: freebsd/lib/libc/db/btree/bt_debug.c
636        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
637LIB_C_FILES += freebsd/lib/libc/db/btree/bt_delete.c
638freebsd/lib/libc/db/btree/bt_delete.o: freebsd/lib/libc/db/btree/bt_delete.c
639        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
640LIB_C_FILES += freebsd/lib/libc/db/btree/bt_get.c
641freebsd/lib/libc/db/btree/bt_get.o: freebsd/lib/libc/db/btree/bt_get.c
642        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
643LIB_C_FILES += freebsd/lib/libc/db/btree/bt_open.c
644freebsd/lib/libc/db/btree/bt_open.o: freebsd/lib/libc/db/btree/bt_open.c
645        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
646LIB_C_FILES += freebsd/lib/libc/db/btree/bt_overflow.c
647freebsd/lib/libc/db/btree/bt_overflow.o: freebsd/lib/libc/db/btree/bt_overflow.c
648        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
649LIB_C_FILES += freebsd/lib/libc/db/btree/bt_page.c
650freebsd/lib/libc/db/btree/bt_page.o: freebsd/lib/libc/db/btree/bt_page.c
651        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
652LIB_C_FILES += freebsd/lib/libc/db/btree/bt_put.c
653freebsd/lib/libc/db/btree/bt_put.o: freebsd/lib/libc/db/btree/bt_put.c
654        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
655LIB_C_FILES += freebsd/lib/libc/db/btree/bt_search.c
656freebsd/lib/libc/db/btree/bt_search.o: freebsd/lib/libc/db/btree/bt_search.c
657        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
658LIB_C_FILES += freebsd/lib/libc/db/btree/bt_seq.c
659freebsd/lib/libc/db/btree/bt_seq.o: freebsd/lib/libc/db/btree/bt_seq.c
660        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
661LIB_C_FILES += freebsd/lib/libc/db/btree/bt_split.c
662freebsd/lib/libc/db/btree/bt_split.o: freebsd/lib/libc/db/btree/bt_split.c
663        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
664LIB_C_FILES += freebsd/lib/libc/db/btree/bt_utils.c
665freebsd/lib/libc/db/btree/bt_utils.o: freebsd/lib/libc/db/btree/bt_utils.c
666        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
667LIB_C_FILES += freebsd/lib/libc/db/db/db.c
668freebsd/lib/libc/db/db/db.o: freebsd/lib/libc/db/db/db.c
669        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
670LIB_C_FILES += freebsd/lib/libc/db/mpool/mpool.c
671freebsd/lib/libc/db/mpool/mpool.o: freebsd/lib/libc/db/mpool/mpool.c
672        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
673LIB_C_FILES += freebsd/lib/libc/db/mpool/mpool-compat.c
674freebsd/lib/libc/db/mpool/mpool-compat.o: freebsd/lib/libc/db/mpool/mpool-compat.c
675        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
676LIB_C_FILES += freebsd/lib/libc/db/recno/rec_close.c
677freebsd/lib/libc/db/recno/rec_close.o: freebsd/lib/libc/db/recno/rec_close.c
678        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
679LIB_C_FILES += freebsd/lib/libc/db/recno/rec_delete.c
680freebsd/lib/libc/db/recno/rec_delete.o: freebsd/lib/libc/db/recno/rec_delete.c
681        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
682LIB_C_FILES += freebsd/lib/libc/db/recno/rec_get.c
683freebsd/lib/libc/db/recno/rec_get.o: freebsd/lib/libc/db/recno/rec_get.c
684        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
685LIB_C_FILES += freebsd/lib/libc/db/recno/rec_open.c
686freebsd/lib/libc/db/recno/rec_open.o: freebsd/lib/libc/db/recno/rec_open.c
687        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
688LIB_C_FILES += freebsd/lib/libc/db/recno/rec_put.c
689freebsd/lib/libc/db/recno/rec_put.o: freebsd/lib/libc/db/recno/rec_put.c
690        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
691LIB_C_FILES += freebsd/lib/libc/db/recno/rec_search.c
692freebsd/lib/libc/db/recno/rec_search.o: freebsd/lib/libc/db/recno/rec_search.c
693        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
694LIB_C_FILES += freebsd/lib/libc/db/recno/rec_seq.c
695freebsd/lib/libc/db/recno/rec_seq.o: freebsd/lib/libc/db/recno/rec_seq.c
696        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
697LIB_C_FILES += freebsd/lib/libc/db/recno/rec_utils.c
698freebsd/lib/libc/db/recno/rec_utils.o: freebsd/lib/libc/db/recno/rec_utils.c
699        $(CC) $(CPPFLAGS) $(CFLAGS) -D__DBINTERFACE_PRIVATE -DINET6 -c $< -o $@
700LIB_C_FILES += freebsd/bin/hostname/hostname.c
701freebsd/bin/hostname/hostname.o: freebsd/bin/hostname/hostname.c
702        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
703LIB_C_FILES += freebsd/lib/libc/gen/err.c
704freebsd/lib/libc/gen/err.o: freebsd/lib/libc/gen/err.c
705        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
706LIB_C_FILES += freebsd/lib/libc/gen/feature_present.c
707freebsd/lib/libc/gen/feature_present.o: freebsd/lib/libc/gen/feature_present.c
708        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
709LIB_C_FILES += freebsd/lib/libc/gen/gethostname.c
710freebsd/lib/libc/gen/gethostname.o: freebsd/lib/libc/gen/gethostname.c
711        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
712LIB_C_FILES += freebsd/lib/libc/gen/sethostname.c
713freebsd/lib/libc/gen/sethostname.o: freebsd/lib/libc/gen/sethostname.c
714        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
715LIB_C_FILES += freebsd/lib/libc/inet/inet_addr.c
716freebsd/lib/libc/inet/inet_addr.o: freebsd/lib/libc/inet/inet_addr.c
717        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
718LIB_C_FILES += freebsd/lib/libc/inet/inet_cidr_ntop.c
719freebsd/lib/libc/inet/inet_cidr_ntop.o: freebsd/lib/libc/inet/inet_cidr_ntop.c
720        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
721LIB_C_FILES += freebsd/lib/libc/inet/inet_cidr_pton.c
722freebsd/lib/libc/inet/inet_cidr_pton.o: freebsd/lib/libc/inet/inet_cidr_pton.c
723        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
724LIB_C_FILES += freebsd/lib/libc/inet/inet_lnaof.c
725freebsd/lib/libc/inet/inet_lnaof.o: freebsd/lib/libc/inet/inet_lnaof.c
726        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
727LIB_C_FILES += freebsd/lib/libc/inet/inet_makeaddr.c
728freebsd/lib/libc/inet/inet_makeaddr.o: freebsd/lib/libc/inet/inet_makeaddr.c
729        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
730LIB_C_FILES += freebsd/lib/libc/inet/inet_neta.c
731freebsd/lib/libc/inet/inet_neta.o: freebsd/lib/libc/inet/inet_neta.c
732        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
733LIB_C_FILES += freebsd/lib/libc/inet/inet_net_ntop.c
734freebsd/lib/libc/inet/inet_net_ntop.o: freebsd/lib/libc/inet/inet_net_ntop.c
735        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
736LIB_C_FILES += freebsd/lib/libc/inet/inet_netof.c
737freebsd/lib/libc/inet/inet_netof.o: freebsd/lib/libc/inet/inet_netof.c
738        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
739LIB_C_FILES += freebsd/lib/libc/inet/inet_net_pton.c
740freebsd/lib/libc/inet/inet_net_pton.o: freebsd/lib/libc/inet/inet_net_pton.c
741        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
742LIB_C_FILES += freebsd/lib/libc/inet/inet_network.c
743freebsd/lib/libc/inet/inet_network.o: freebsd/lib/libc/inet/inet_network.c
744        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
745LIB_C_FILES += freebsd/lib/libc/inet/inet_ntoa.c
746freebsd/lib/libc/inet/inet_ntoa.o: freebsd/lib/libc/inet/inet_ntoa.c
747        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
748LIB_C_FILES += freebsd/lib/libc/inet/inet_ntop.c
749freebsd/lib/libc/inet/inet_ntop.o: freebsd/lib/libc/inet/inet_ntop.c
750        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
751LIB_C_FILES += freebsd/lib/libc/inet/inet_pton.c
752freebsd/lib/libc/inet/inet_pton.o: freebsd/lib/libc/inet/inet_pton.c
753        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
754LIB_C_FILES += freebsd/lib/libc/inet/nsap_addr.c
755freebsd/lib/libc/inet/nsap_addr.o: freebsd/lib/libc/inet/nsap_addr.c
756        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
757LIB_C_FILES += freebsd/lib/libc/isc/ev_streams.c
758freebsd/lib/libc/isc/ev_streams.o: freebsd/lib/libc/isc/ev_streams.c
759        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
760LIB_C_FILES += freebsd/lib/libc/isc/ev_timers.c
761freebsd/lib/libc/isc/ev_timers.o: freebsd/lib/libc/isc/ev_timers.c
762        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
763LIB_C_FILES += freebsd/lib/libc/nameser/ns_name.c
764freebsd/lib/libc/nameser/ns_name.o: freebsd/lib/libc/nameser/ns_name.c
765        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
766LIB_C_FILES += freebsd/lib/libc/nameser/ns_netint.c
767freebsd/lib/libc/nameser/ns_netint.o: freebsd/lib/libc/nameser/ns_netint.c
768        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
769LIB_C_FILES += freebsd/lib/libc/nameser/ns_parse.c
770freebsd/lib/libc/nameser/ns_parse.o: freebsd/lib/libc/nameser/ns_parse.c
771        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
772LIB_C_FILES += freebsd/lib/libc/nameser/ns_print.c
773freebsd/lib/libc/nameser/ns_print.o: freebsd/lib/libc/nameser/ns_print.c
774        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
775LIB_C_FILES += freebsd/lib/libc/nameser/ns_samedomain.c
776freebsd/lib/libc/nameser/ns_samedomain.o: freebsd/lib/libc/nameser/ns_samedomain.c
777        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
778LIB_C_FILES += freebsd/lib/libc/nameser/ns_ttl.c
779freebsd/lib/libc/nameser/ns_ttl.o: freebsd/lib/libc/nameser/ns_ttl.c
780        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
781LIB_C_FILES += freebsd/lib/libc/net/base64.c
782freebsd/lib/libc/net/base64.o: freebsd/lib/libc/net/base64.c
783        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
784LIB_C_FILES += freebsd/lib/libc/net/ether_addr.c
785freebsd/lib/libc/net/ether_addr.o: freebsd/lib/libc/net/ether_addr.c
786        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
787LIB_C_FILES += freebsd/lib/libc/net/gai_strerror.c
788freebsd/lib/libc/net/gai_strerror.o: freebsd/lib/libc/net/gai_strerror.c
789        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
790LIB_C_FILES += freebsd/lib/libc/net/getaddrinfo.c
791freebsd/lib/libc/net/getaddrinfo.o: freebsd/lib/libc/net/getaddrinfo.c
792        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
793LIB_C_FILES += freebsd/lib/libc/net/gethostbydns.c
794freebsd/lib/libc/net/gethostbydns.o: freebsd/lib/libc/net/gethostbydns.c
795        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
796LIB_C_FILES += freebsd/lib/libc/net/gethostbyht.c
797freebsd/lib/libc/net/gethostbyht.o: freebsd/lib/libc/net/gethostbyht.c
798        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
799LIB_C_FILES += freebsd/lib/libc/net/gethostbynis.c
800freebsd/lib/libc/net/gethostbynis.o: freebsd/lib/libc/net/gethostbynis.c
801        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
802LIB_C_FILES += freebsd/lib/libc/net/gethostnamadr.c
803freebsd/lib/libc/net/gethostnamadr.o: freebsd/lib/libc/net/gethostnamadr.c
804        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
805LIB_C_FILES += freebsd/lib/libc/net/getifaddrs.c
806freebsd/lib/libc/net/getifaddrs.o: freebsd/lib/libc/net/getifaddrs.c
807        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
808LIB_C_FILES += freebsd/lib/libc/net/getifmaddrs.c
809freebsd/lib/libc/net/getifmaddrs.o: freebsd/lib/libc/net/getifmaddrs.c
810        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
811LIB_C_FILES += freebsd/lib/libc/net/getnameinfo.c
812freebsd/lib/libc/net/getnameinfo.o: freebsd/lib/libc/net/getnameinfo.c
813        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
814LIB_C_FILES += freebsd/lib/libc/net/getnetbydns.c
815freebsd/lib/libc/net/getnetbydns.o: freebsd/lib/libc/net/getnetbydns.c
816        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
817LIB_C_FILES += freebsd/lib/libc/net/getnetbyht.c
818freebsd/lib/libc/net/getnetbyht.o: freebsd/lib/libc/net/getnetbyht.c
819        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
820LIB_C_FILES += freebsd/lib/libc/net/getnetbynis.c
821freebsd/lib/libc/net/getnetbynis.o: freebsd/lib/libc/net/getnetbynis.c
822        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
823LIB_C_FILES += freebsd/lib/libc/net/getnetnamadr.c
824freebsd/lib/libc/net/getnetnamadr.o: freebsd/lib/libc/net/getnetnamadr.c
825        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
826LIB_C_FILES += freebsd/lib/libc/net/getproto.c
827freebsd/lib/libc/net/getproto.o: freebsd/lib/libc/net/getproto.c
828        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
829LIB_C_FILES += freebsd/lib/libc/net/getprotoent.c
830freebsd/lib/libc/net/getprotoent.o: freebsd/lib/libc/net/getprotoent.c
831        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
832LIB_C_FILES += freebsd/lib/libc/net/getprotoname.c
833freebsd/lib/libc/net/getprotoname.o: freebsd/lib/libc/net/getprotoname.c
834        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
835LIB_C_FILES += freebsd/lib/libc/net/getservent.c
836freebsd/lib/libc/net/getservent.o: freebsd/lib/libc/net/getservent.c
837        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
838LIB_C_FILES += freebsd/lib/libc/net/if_indextoname.c
839freebsd/lib/libc/net/if_indextoname.o: freebsd/lib/libc/net/if_indextoname.c
840        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
841LIB_C_FILES += freebsd/lib/libc/net/if_nameindex.c
842freebsd/lib/libc/net/if_nameindex.o: freebsd/lib/libc/net/if_nameindex.c
843        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
844LIB_C_FILES += freebsd/lib/libc/net/if_nametoindex.c
845freebsd/lib/libc/net/if_nametoindex.o: freebsd/lib/libc/net/if_nametoindex.c
846        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
847LIB_C_FILES += freebsd/lib/libc/net/ip6opt.c
848freebsd/lib/libc/net/ip6opt.o: freebsd/lib/libc/net/ip6opt.c
849        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
850LIB_C_FILES += freebsd/lib/libc/net/linkaddr.c
851freebsd/lib/libc/net/linkaddr.o: freebsd/lib/libc/net/linkaddr.c
852        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
853LIB_C_FILES += freebsd/lib/libc/net/map_v4v6.c
854freebsd/lib/libc/net/map_v4v6.o: freebsd/lib/libc/net/map_v4v6.c
855        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
856LIB_C_FILES += freebsd/lib/libc/net/name6.c
857freebsd/lib/libc/net/name6.o: freebsd/lib/libc/net/name6.c
858        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
859LIB_C_FILES += freebsd/lib/libc/net/nsdispatch.c
860freebsd/lib/libc/net/nsdispatch.o: freebsd/lib/libc/net/nsdispatch.c
861        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
862LIB_C_FILES += freebsd/lib/libc/net/rcmd.c
863freebsd/lib/libc/net/rcmd.o: freebsd/lib/libc/net/rcmd.c
864        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
865LIB_C_FILES += freebsd/lib/libc/net/recv.c
866freebsd/lib/libc/net/recv.o: freebsd/lib/libc/net/recv.c
867        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
868LIB_C_FILES += freebsd/lib/libc/net/rthdr.c
869freebsd/lib/libc/net/rthdr.o: freebsd/lib/libc/net/rthdr.c
870        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
871LIB_C_FILES += freebsd/lib/libc/net/send.c
872freebsd/lib/libc/net/send.o: freebsd/lib/libc/net/send.c
873        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
874LIB_C_FILES += freebsd/lib/libc/posix1e/mac.c
875freebsd/lib/libc/posix1e/mac.o: freebsd/lib/libc/posix1e/mac.c
876        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
877LIB_C_FILES += freebsd/lib/libc/resolv/h_errno.c
878freebsd/lib/libc/resolv/h_errno.o: freebsd/lib/libc/resolv/h_errno.c
879        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
880LIB_C_FILES += freebsd/lib/libc/resolv/herror.c
881freebsd/lib/libc/resolv/herror.o: freebsd/lib/libc/resolv/herror.c
882        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
883LIB_C_FILES += freebsd/lib/libc/resolv/mtctxres.c
884freebsd/lib/libc/resolv/mtctxres.o: freebsd/lib/libc/resolv/mtctxres.c
885        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
886LIB_C_FILES += freebsd/lib/libc/resolv/res_comp.c
887freebsd/lib/libc/resolv/res_comp.o: freebsd/lib/libc/resolv/res_comp.c
888        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
889LIB_C_FILES += freebsd/lib/libc/resolv/res_data.c
890freebsd/lib/libc/resolv/res_data.o: freebsd/lib/libc/resolv/res_data.c
891        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
892LIB_C_FILES += freebsd/lib/libc/resolv/res_debug.c
893freebsd/lib/libc/resolv/res_debug.o: freebsd/lib/libc/resolv/res_debug.c
894        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
895LIB_C_FILES += freebsd/lib/libc/resolv/res_findzonecut.c
896freebsd/lib/libc/resolv/res_findzonecut.o: freebsd/lib/libc/resolv/res_findzonecut.c
897        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
898LIB_C_FILES += freebsd/lib/libc/resolv/res_init.c
899freebsd/lib/libc/resolv/res_init.o: freebsd/lib/libc/resolv/res_init.c
900        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
901LIB_C_FILES += freebsd/lib/libc/resolv/res_mkquery.c
902freebsd/lib/libc/resolv/res_mkquery.o: freebsd/lib/libc/resolv/res_mkquery.c
903        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
904LIB_C_FILES += freebsd/lib/libc/resolv/res_mkupdate.c
905freebsd/lib/libc/resolv/res_mkupdate.o: freebsd/lib/libc/resolv/res_mkupdate.c
906        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
907LIB_C_FILES += freebsd/lib/libc/resolv/res_query.c
908freebsd/lib/libc/resolv/res_query.o: freebsd/lib/libc/resolv/res_query.c
909        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
910LIB_C_FILES += freebsd/lib/libc/resolv/res_send.c
911freebsd/lib/libc/resolv/res_send.o: freebsd/lib/libc/resolv/res_send.c
912        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
913LIB_C_FILES += freebsd/lib/libc/resolv/res_state.c
914freebsd/lib/libc/resolv/res_state.o: freebsd/lib/libc/resolv/res_state.c
915        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
916LIB_C_FILES += freebsd/lib/libc/resolv/res_update.c
917freebsd/lib/libc/resolv/res_update.o: freebsd/lib/libc/resolv/res_update.c
918        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
919LIB_C_FILES += freebsd/lib/libc/stdio/fgetln.c
920freebsd/lib/libc/stdio/fgetln.o: freebsd/lib/libc/stdio/fgetln.c
921        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
922LIB_C_FILES += freebsd/lib/libc/stdlib/strtonum.c
923freebsd/lib/libc/stdlib/strtonum.o: freebsd/lib/libc/stdlib/strtonum.c
924        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
925LIB_C_FILES += freebsd/lib/libc/string/strsep.c
926freebsd/lib/libc/string/strsep.o: freebsd/lib/libc/string/strsep.c
927        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
928LIB_C_FILES += freebsd/lib/libipsec/ipsec_dump_policy.c
929freebsd/lib/libipsec/ipsec_dump_policy.o: freebsd/lib/libipsec/ipsec_dump_policy.c
930        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
931LIB_C_FILES += freebsd/lib/libipsec/ipsec_get_policylen.c
932freebsd/lib/libipsec/ipsec_get_policylen.o: freebsd/lib/libipsec/ipsec_get_policylen.c
933        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
934LIB_C_FILES += freebsd/lib/libipsec/ipsec_strerror.c
935freebsd/lib/libipsec/ipsec_strerror.o: freebsd/lib/libipsec/ipsec_strerror.c
936        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
937LIB_C_FILES += freebsd/lib/libipsec/pfkey.c
938freebsd/lib/libipsec/pfkey.o: freebsd/lib/libipsec/pfkey.c
939        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
940LIB_C_FILES += freebsd/lib/libipsec/pfkey_dump.c
941freebsd/lib/libipsec/pfkey_dump.o: freebsd/lib/libipsec/pfkey_dump.c
942        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
943LIB_C_FILES += freebsd/lib/libmemstat/memstat_all.c
944freebsd/lib/libmemstat/memstat_all.o: freebsd/lib/libmemstat/memstat_all.c
945        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
946LIB_C_FILES += freebsd/lib/libmemstat/memstat.c
947freebsd/lib/libmemstat/memstat.o: freebsd/lib/libmemstat/memstat.c
948        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
949LIB_C_FILES += freebsd/lib/libmemstat/memstat_malloc.c
950freebsd/lib/libmemstat/memstat_malloc.o: freebsd/lib/libmemstat/memstat_malloc.c
951        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
952LIB_C_FILES += freebsd/lib/libmemstat/memstat_uma.c
953freebsd/lib/libmemstat/memstat_uma.o: freebsd/lib/libmemstat/memstat_uma.c
954        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
955LIB_C_FILES += freebsd/lib/libutil/expand_number.c
956freebsd/lib/libutil/expand_number.o: freebsd/lib/libutil/expand_number.c
957        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
958LIB_C_FILES += freebsd/lib/libutil/humanize_number.c
959freebsd/lib/libutil/humanize_number.o: freebsd/lib/libutil/humanize_number.c
960        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
961LIB_C_FILES += freebsd/lib/libutil/trimdomain.c
962freebsd/lib/libutil/trimdomain.o: freebsd/lib/libutil/trimdomain.c
963        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
964LIB_C_FILES += freebsd/sbin/dhclient/alloc.c
965freebsd/sbin/dhclient/alloc.o: freebsd/sbin/dhclient/alloc.c
966        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
967LIB_C_FILES += freebsd/sbin/dhclient/bpf.c
968freebsd/sbin/dhclient/bpf.o: freebsd/sbin/dhclient/bpf.c
969        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
970LIB_C_FILES += freebsd/sbin/dhclient/clparse.c
971freebsd/sbin/dhclient/clparse.o: freebsd/sbin/dhclient/clparse.c
972        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
973LIB_C_FILES += freebsd/sbin/dhclient/conflex.c
974freebsd/sbin/dhclient/conflex.o: freebsd/sbin/dhclient/conflex.c
975        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
976LIB_C_FILES += freebsd/sbin/dhclient/convert.c
977freebsd/sbin/dhclient/convert.o: freebsd/sbin/dhclient/convert.c
978        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
979LIB_C_FILES += freebsd/sbin/dhclient/dhclient.c
980freebsd/sbin/dhclient/dhclient.o: freebsd/sbin/dhclient/dhclient.c
981        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
982LIB_C_FILES += freebsd/sbin/dhclient/dispatch.c
983freebsd/sbin/dhclient/dispatch.o: freebsd/sbin/dhclient/dispatch.c
984        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
985LIB_C_FILES += freebsd/sbin/dhclient/errwarn.c
986freebsd/sbin/dhclient/errwarn.o: freebsd/sbin/dhclient/errwarn.c
987        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
988LIB_C_FILES += freebsd/sbin/dhclient/hash.c
989freebsd/sbin/dhclient/hash.o: freebsd/sbin/dhclient/hash.c
990        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
991LIB_C_FILES += freebsd/sbin/dhclient/inet.c
992freebsd/sbin/dhclient/inet.o: freebsd/sbin/dhclient/inet.c
993        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
994LIB_C_FILES += freebsd/sbin/dhclient/options.c
995freebsd/sbin/dhclient/options.o: freebsd/sbin/dhclient/options.c
996        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
997LIB_C_FILES += freebsd/sbin/dhclient/packet.c
998freebsd/sbin/dhclient/packet.o: freebsd/sbin/dhclient/packet.c
999        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1000LIB_C_FILES += freebsd/sbin/dhclient/parse.c
1001freebsd/sbin/dhclient/parse.o: freebsd/sbin/dhclient/parse.c
1002        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1003LIB_C_FILES += freebsd/sbin/dhclient/privsep.c
1004freebsd/sbin/dhclient/privsep.o: freebsd/sbin/dhclient/privsep.c
1005        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1006LIB_C_FILES += freebsd/sbin/dhclient/tables.c
1007freebsd/sbin/dhclient/tables.o: freebsd/sbin/dhclient/tables.c
1008        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1009LIB_C_FILES += freebsd/sbin/dhclient/tree.c
1010freebsd/sbin/dhclient/tree.o: freebsd/sbin/dhclient/tree.c
1011        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1012LIB_C_FILES += freebsd/sbin/ifconfig/af_atalk.c
1013freebsd/sbin/ifconfig/af_atalk.o: freebsd/sbin/ifconfig/af_atalk.c
1014        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1015LIB_C_FILES += freebsd/sbin/ifconfig/af_inet6.c
1016freebsd/sbin/ifconfig/af_inet6.o: freebsd/sbin/ifconfig/af_inet6.c
1017        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1018LIB_C_FILES += freebsd/sbin/ifconfig/af_inet.c
1019freebsd/sbin/ifconfig/af_inet.o: freebsd/sbin/ifconfig/af_inet.c
1020        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1021LIB_C_FILES += freebsd/sbin/ifconfig/af_link.c
1022freebsd/sbin/ifconfig/af_link.o: freebsd/sbin/ifconfig/af_link.c
1023        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1024LIB_C_FILES += freebsd/sbin/ifconfig/af_nd6.c
1025freebsd/sbin/ifconfig/af_nd6.o: freebsd/sbin/ifconfig/af_nd6.c
1026        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1027LIB_C_FILES += freebsd/sbin/ifconfig/ifbridge.c
1028freebsd/sbin/ifconfig/ifbridge.o: freebsd/sbin/ifconfig/ifbridge.c
1029        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1030LIB_C_FILES += freebsd/sbin/ifconfig/ifcarp.c
1031freebsd/sbin/ifconfig/ifcarp.o: freebsd/sbin/ifconfig/ifcarp.c
1032        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1033LIB_C_FILES += freebsd/sbin/ifconfig/ifclone.c
1034freebsd/sbin/ifconfig/ifclone.o: freebsd/sbin/ifconfig/ifclone.c
1035        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1036LIB_C_FILES += freebsd/sbin/ifconfig/ifconfig.c
1037freebsd/sbin/ifconfig/ifconfig.o: freebsd/sbin/ifconfig/ifconfig.c
1038        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1039LIB_C_FILES += freebsd/sbin/ifconfig/ifgif.c
1040freebsd/sbin/ifconfig/ifgif.o: freebsd/sbin/ifconfig/ifgif.c
1041        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1042LIB_C_FILES += freebsd/sbin/ifconfig/ifgre.c
1043freebsd/sbin/ifconfig/ifgre.o: freebsd/sbin/ifconfig/ifgre.c
1044        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1045LIB_C_FILES += freebsd/sbin/ifconfig/ifgroup.c
1046freebsd/sbin/ifconfig/ifgroup.o: freebsd/sbin/ifconfig/ifgroup.c
1047        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1048LIB_C_FILES += freebsd/sbin/ifconfig/iflagg.c
1049freebsd/sbin/ifconfig/iflagg.o: freebsd/sbin/ifconfig/iflagg.c
1050        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1051LIB_C_FILES += freebsd/sbin/ifconfig/ifmac.c
1052freebsd/sbin/ifconfig/ifmac.o: freebsd/sbin/ifconfig/ifmac.c
1053        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1054LIB_C_FILES += freebsd/sbin/ifconfig/ifmedia.c
1055freebsd/sbin/ifconfig/ifmedia.o: freebsd/sbin/ifconfig/ifmedia.c
1056        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1057LIB_C_FILES += freebsd/sbin/ifconfig/ifpfsync.c
1058freebsd/sbin/ifconfig/ifpfsync.o: freebsd/sbin/ifconfig/ifpfsync.c
1059        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1060LIB_C_FILES += freebsd/sbin/ifconfig/ifvlan.c
1061freebsd/sbin/ifconfig/ifvlan.o: freebsd/sbin/ifconfig/ifvlan.c
1062        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1063LIB_C_FILES += freebsd/sbin/ping6/ping6.c
1064freebsd/sbin/ping6/ping6.o: freebsd/sbin/ping6/ping6.c
1065        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1066LIB_C_FILES += freebsd/sbin/ping/ping.c
1067freebsd/sbin/ping/ping.o: freebsd/sbin/ping/ping.c
1068        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1069LIB_C_FILES += freebsd/sbin/route/route.c
1070freebsd/sbin/route/route.o: freebsd/sbin/route/route.c
1071        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1072LIB_C_FILES += freebsd/usr.bin/netstat/atalk.c
1073freebsd/usr.bin/netstat/atalk.o: freebsd/usr.bin/netstat/atalk.c
1074        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1075LIB_C_FILES += freebsd/usr.bin/netstat/bpf.c
1076freebsd/usr.bin/netstat/bpf.o: freebsd/usr.bin/netstat/bpf.c
1077        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1078LIB_C_FILES += freebsd/usr.bin/netstat/if.c
1079freebsd/usr.bin/netstat/if.o: freebsd/usr.bin/netstat/if.c
1080        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1081LIB_C_FILES += freebsd/usr.bin/netstat/inet6.c
1082freebsd/usr.bin/netstat/inet6.o: freebsd/usr.bin/netstat/inet6.c
1083        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1084LIB_C_FILES += freebsd/usr.bin/netstat/inet.c
1085freebsd/usr.bin/netstat/inet.o: freebsd/usr.bin/netstat/inet.c
1086        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1087LIB_C_FILES += freebsd/usr.bin/netstat/ipsec.c
1088freebsd/usr.bin/netstat/ipsec.o: freebsd/usr.bin/netstat/ipsec.c
1089        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1090LIB_C_FILES += freebsd/usr.bin/netstat/main.c
1091freebsd/usr.bin/netstat/main.o: freebsd/usr.bin/netstat/main.c
1092        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1093LIB_C_FILES += freebsd/usr.bin/netstat/mbuf.c
1094freebsd/usr.bin/netstat/mbuf.o: freebsd/usr.bin/netstat/mbuf.c
1095        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1096LIB_C_FILES += freebsd/usr.bin/netstat/mroute6.c
1097freebsd/usr.bin/netstat/mroute6.o: freebsd/usr.bin/netstat/mroute6.c
1098        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1099LIB_C_FILES += freebsd/usr.bin/netstat/mroute.c
1100freebsd/usr.bin/netstat/mroute.o: freebsd/usr.bin/netstat/mroute.c
1101        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1102LIB_C_FILES += freebsd/usr.bin/netstat/route.c
1103freebsd/usr.bin/netstat/route.o: freebsd/usr.bin/netstat/route.c
1104        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1105LIB_C_FILES += freebsd/usr.bin/netstat/pfkey.c
1106freebsd/usr.bin/netstat/pfkey.o: freebsd/usr.bin/netstat/pfkey.c
1107        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1108LIB_C_FILES += freebsd/usr.bin/netstat/sctp.c
1109freebsd/usr.bin/netstat/sctp.o: freebsd/usr.bin/netstat/sctp.c
1110        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1111LIB_C_FILES += freebsd/usr.bin/netstat/unix.c
1112freebsd/usr.bin/netstat/unix.o: freebsd/usr.bin/netstat/unix.c
1113        $(CC) $(CPPFLAGS) $(CFLAGS) -DINET6 -c $< -o $@
1114
1115TEST_FOOBARCLIENT = testsuite/foobarclient/foobarclient.exe
1116TEST_FOOBARCLIENT_O_FILES =
1117TEST_FOOBARCLIENT_D_FILES =
1118TEST_FOOBARCLIENT_O_FILES += testsuite/foobarclient/test_main.o
1119TEST_FOOBARCLIENT_D_FILES += testsuite/foobarclient/test_main.d
1120$(TEST_FOOBARCLIENT): $(TEST_FOOBARCLIENT_O_FILES) $(LIB)
1121        $(LINK.c) -Wl,-Map,testsuite/foobarclient/foobarclient.map $^ -lm -lz -o $@
1122NET_TESTS += $(TEST_FOOBARCLIENT)
1123O_FILES += $(TEST_FOOBARCLIENT_O_FILES)
1124D_FILES += $(TEST_FOOBARCLIENT_D_FILES)
1125
1126TEST_FOOBARSERVER = testsuite/foobarserver/foobarserver.exe
1127TEST_FOOBARSERVER_O_FILES =
1128TEST_FOOBARSERVER_D_FILES =
1129TEST_FOOBARSERVER_O_FILES += testsuite/foobarserver/test_main.o
1130TEST_FOOBARSERVER_D_FILES += testsuite/foobarserver/test_main.d
1131$(TEST_FOOBARSERVER): $(TEST_FOOBARSERVER_O_FILES) $(LIB)
1132        $(LINK.c) -Wl,-Map,testsuite/foobarserver/foobarserver.map $^ -lm -lz -o $@
1133NET_TESTS += $(TEST_FOOBARSERVER)
1134O_FILES += $(TEST_FOOBARSERVER_O_FILES)
1135D_FILES += $(TEST_FOOBARSERVER_D_FILES)
1136
1137TEST_DHCPCD01 = testsuite/dhcpcd01/dhcpcd01.exe
1138TEST_DHCPCD01_O_FILES =
1139TEST_DHCPCD01_D_FILES =
1140TEST_DHCPCD01_O_FILES += testsuite/dhcpcd01/test_main.o
1141TEST_DHCPCD01_D_FILES += testsuite/dhcpcd01/test_main.d
1142$(TEST_DHCPCD01): $(TEST_DHCPCD01_O_FILES) $(LIB)
1143        $(LINK.c) -Wl,-Map,testsuite/dhcpcd01/dhcpcd01.map $^ -lm -lz -o $@
1144NET_TESTS += $(TEST_DHCPCD01)
1145O_FILES += $(TEST_DHCPCD01_O_FILES)
1146D_FILES += $(TEST_DHCPCD01_D_FILES)
1147
1148TEST_DHCPCD02 = testsuite/dhcpcd02/dhcpcd02.exe
1149TEST_DHCPCD02_O_FILES =
1150TEST_DHCPCD02_D_FILES =
1151TEST_DHCPCD02_O_FILES += testsuite/dhcpcd02/test_main.o
1152TEST_DHCPCD02_D_FILES += testsuite/dhcpcd02/test_main.d
1153$(TEST_DHCPCD02): $(TEST_DHCPCD02_O_FILES) $(LIB)
1154        $(LINK.c) -Wl,-Map,testsuite/dhcpcd02/dhcpcd02.map $^ -lm -lz -o $@
1155NET_TESTS += $(TEST_DHCPCD02)
1156O_FILES += $(TEST_DHCPCD02_O_FILES)
1157D_FILES += $(TEST_DHCPCD02_D_FILES)
1158
1159TEST_ARPHOLE = testsuite/arphole/arphole.exe
1160TEST_ARPHOLE_O_FILES =
1161TEST_ARPHOLE_D_FILES =
1162TEST_ARPHOLE_O_FILES += testsuite/arphole/test_main.o
1163TEST_ARPHOLE_D_FILES += testsuite/arphole/test_main.d
1164$(TEST_ARPHOLE): $(TEST_ARPHOLE_O_FILES) $(LIB)
1165        $(LINK.c) -Wl,-Map,testsuite/arphole/arphole.map $^ -lm -lz -o $@
1166NET_TESTS += $(TEST_ARPHOLE)
1167O_FILES += $(TEST_ARPHOLE_O_FILES)
1168D_FILES += $(TEST_ARPHOLE_D_FILES)
1169
1170TEST_TELNETD01 = testsuite/telnetd01/telnetd01.exe
1171TEST_TELNETD01_O_FILES =
1172TEST_TELNETD01_D_FILES =
1173TEST_TELNETD01_O_FILES += testsuite/telnetd01/test_main.o
1174TEST_TELNETD01_D_FILES += testsuite/telnetd01/test_main.d
1175$(TEST_TELNETD01): $(TEST_TELNETD01_O_FILES) $(LIB)
1176        $(LINK.c) -Wl,-Map,testsuite/telnetd01/telnetd01.map $^ -lm -lz -o $@
1177NET_TESTS += $(TEST_TELNETD01)
1178O_FILES += $(TEST_TELNETD01_O_FILES)
1179D_FILES += $(TEST_TELNETD01_D_FILES)
1180
1181TEST_UNIX01 = testsuite/unix01/unix01.exe
1182TEST_UNIX01_O_FILES =
1183TEST_UNIX01_D_FILES =
1184TEST_UNIX01_O_FILES += testsuite/unix01/test_main.o
1185TEST_UNIX01_D_FILES += testsuite/unix01/test_main.d
1186$(TEST_UNIX01): $(TEST_UNIX01_O_FILES) $(LIB)
1187        $(LINK.c) -Wl,-Map,testsuite/unix01/unix01.map $^ -lm -lz -o $@
1188TESTS += $(TEST_UNIX01)
1189O_FILES += $(TEST_UNIX01_O_FILES)
1190D_FILES += $(TEST_UNIX01_D_FILES)
1191RUN_TESTS += $(TEST_UNIX01)
1192
1193TEST_FTPD01 = testsuite/ftpd01/ftpd01.exe
1194TEST_FTPD01_O_FILES =
1195TEST_FTPD01_D_FILES =
1196TEST_FTPD01_O_FILES += testsuite/ftpd01/test_main.o
1197TEST_FTPD01_D_FILES += testsuite/ftpd01/test_main.d
1198$(TEST_FTPD01): $(TEST_FTPD01_O_FILES) $(LIB)
1199        $(LINK.c) -Wl,-Map,testsuite/ftpd01/ftpd01.map $^ -lm -lz -o $@
1200NET_TESTS += $(TEST_FTPD01)
1201O_FILES += $(TEST_FTPD01_O_FILES)
1202D_FILES += $(TEST_FTPD01_D_FILES)
1203RUN_NET_TESTS += $(TEST_FTPD01)
1204
1205TEST_PING01 = testsuite/ping01/ping01.exe
1206TEST_PING01_O_FILES =
1207TEST_PING01_D_FILES =
1208TEST_PING01_O_FILES += testsuite/ping01/test_main.o
1209TEST_PING01_D_FILES += testsuite/ping01/test_main.d
1210$(TEST_PING01): $(TEST_PING01_O_FILES) $(LIB)
1211        $(LINK.c) -Wl,-Map,testsuite/ping01/ping01.map $^ -lm -lz -o $@
1212NET_TESTS += $(TEST_PING01)
1213O_FILES += $(TEST_PING01_O_FILES)
1214D_FILES += $(TEST_PING01_D_FILES)
1215RUN_NET_TESTS += $(TEST_PING01)
1216
1217TEST_SELECTPOLLKQUEUE01 = testsuite/selectpollkqueue01/selectpollkqueue01.exe
1218TEST_SELECTPOLLKQUEUE01_O_FILES =
1219TEST_SELECTPOLLKQUEUE01_D_FILES =
1220TEST_SELECTPOLLKQUEUE01_O_FILES += testsuite/selectpollkqueue01/test_main.o
1221TEST_SELECTPOLLKQUEUE01_D_FILES += testsuite/selectpollkqueue01/test_main.d
1222$(TEST_SELECTPOLLKQUEUE01): $(TEST_SELECTPOLLKQUEUE01_O_FILES) $(LIB)
1223        $(LINK.c) -Wl,-Map,testsuite/selectpollkqueue01/selectpollkqueue01.map $^ -lm -lz -o $@
1224TESTS += $(TEST_SELECTPOLLKQUEUE01)
1225O_FILES += $(TEST_SELECTPOLLKQUEUE01_O_FILES)
1226D_FILES += $(TEST_SELECTPOLLKQUEUE01_D_FILES)
1227RUN_TESTS += $(TEST_SELECTPOLLKQUEUE01)
1228
1229TEST_RWLOCK01 = testsuite/rwlock01/rwlock01.exe
1230TEST_RWLOCK01_O_FILES =
1231TEST_RWLOCK01_D_FILES =
1232TEST_RWLOCK01_O_FILES += testsuite/rwlock01/test_main.o
1233TEST_RWLOCK01_D_FILES += testsuite/rwlock01/test_main.d
1234$(TEST_RWLOCK01): $(TEST_RWLOCK01_O_FILES) $(LIB)
1235        $(LINK.c) -Wl,-Map,testsuite/rwlock01/rwlock01.map $^ -lm -lz -o $@
1236TESTS += $(TEST_RWLOCK01)
1237O_FILES += $(TEST_RWLOCK01_O_FILES)
1238D_FILES += $(TEST_RWLOCK01_D_FILES)
1239RUN_TESTS += $(TEST_RWLOCK01)
1240
1241TEST_SLEEP01 = testsuite/sleep01/sleep01.exe
1242TEST_SLEEP01_O_FILES =
1243TEST_SLEEP01_D_FILES =
1244TEST_SLEEP01_O_FILES += testsuite/sleep01/test_main.o
1245TEST_SLEEP01_D_FILES += testsuite/sleep01/test_main.d
1246$(TEST_SLEEP01): $(TEST_SLEEP01_O_FILES) $(LIB)
1247        $(LINK.c) -Wl,-Map,testsuite/sleep01/sleep01.map $^ -lm -lz -o $@
1248TESTS += $(TEST_SLEEP01)
1249O_FILES += $(TEST_SLEEP01_O_FILES)
1250D_FILES += $(TEST_SLEEP01_D_FILES)
1251RUN_TESTS += $(TEST_SLEEP01)
1252
1253TEST_SYSCALLS01 = testsuite/syscalls01/syscalls01.exe
1254TEST_SYSCALLS01_O_FILES =
1255TEST_SYSCALLS01_D_FILES =
1256TEST_SYSCALLS01_O_FILES += testsuite/syscalls01/test_main.o
1257TEST_SYSCALLS01_D_FILES += testsuite/syscalls01/test_main.d
1258$(TEST_SYSCALLS01): $(TEST_SYSCALLS01_O_FILES) $(LIB)
1259        $(LINK.c) -Wl,-Map,testsuite/syscalls01/syscalls01.map $^ -lm -lz -o $@
1260TESTS += $(TEST_SYSCALLS01)
1261O_FILES += $(TEST_SYSCALLS01_O_FILES)
1262D_FILES += $(TEST_SYSCALLS01_D_FILES)
1263RUN_TESTS += $(TEST_SYSCALLS01)
1264
1265TEST_COMMANDS01 = testsuite/commands01/commands01.exe
1266TEST_COMMANDS01_O_FILES =
1267TEST_COMMANDS01_D_FILES =
1268TEST_COMMANDS01_O_FILES += testsuite/commands01/test_main.o
1269TEST_COMMANDS01_D_FILES += testsuite/commands01/test_main.d
1270$(TEST_COMMANDS01): $(TEST_COMMANDS01_O_FILES) $(LIB)
1271        $(LINK.c) -Wl,-Map,testsuite/commands01/commands01.map $^ -lm -lz -o $@
1272TESTS += $(TEST_COMMANDS01)
1273O_FILES += $(TEST_COMMANDS01_O_FILES)
1274D_FILES += $(TEST_COMMANDS01_D_FILES)
1275RUN_TESTS += $(TEST_COMMANDS01)
1276
1277TEST_USB01 = testsuite/usb01/usb01.exe
1278TEST_USB01_O_FILES =
1279TEST_USB01_D_FILES =
1280TEST_USB01_O_FILES += testsuite/usb01/init.o
1281TEST_USB01_D_FILES += testsuite/usb01/init.d
1282TEST_USB01_O_FILES += testsuite/usb01/test-file-system.o
1283TEST_USB01_D_FILES += testsuite/usb01/test-file-system.d
1284$(TEST_USB01): $(TEST_USB01_O_FILES) $(LIB)
1285        $(LINK.c) -Wl,-Map,testsuite/usb01/usb01.map $^ -lm -lz -o $@
1286TESTS += $(TEST_USB01)
1287O_FILES += $(TEST_USB01_O_FILES)
1288D_FILES += $(TEST_USB01_D_FILES)
1289
1290TEST_LOOPBACK01 = testsuite/loopback01/loopback01.exe
1291TEST_LOOPBACK01_O_FILES =
1292TEST_LOOPBACK01_D_FILES =
1293TEST_LOOPBACK01_O_FILES += testsuite/loopback01/test_main.o
1294TEST_LOOPBACK01_D_FILES += testsuite/loopback01/test_main.d
1295$(TEST_LOOPBACK01): $(TEST_LOOPBACK01_O_FILES) $(LIB)
1296        $(LINK.c) -Wl,-Map,testsuite/loopback01/loopback01.map $^ -lm -lz -o $@
1297TESTS += $(TEST_LOOPBACK01)
1298O_FILES += $(TEST_LOOPBACK01_O_FILES)
1299D_FILES += $(TEST_LOOPBACK01_D_FILES)
1300RUN_TESTS += $(TEST_LOOPBACK01)
1301
1302TEST_NETSHELL01 = testsuite/netshell01/netshell01.exe
1303TEST_NETSHELL01_O_FILES =
1304TEST_NETSHELL01_D_FILES =
1305TEST_NETSHELL01_O_FILES += testsuite/netshell01/test_main.o
1306TEST_NETSHELL01_D_FILES += testsuite/netshell01/test_main.d
1307TEST_NETSHELL01_O_FILES += testsuite/netshell01/shellconfig.o
1308TEST_NETSHELL01_D_FILES += testsuite/netshell01/shellconfig.d
1309$(TEST_NETSHELL01): $(TEST_NETSHELL01_O_FILES) $(LIB)
1310        $(LINK.c) -Wl,-Map,testsuite/netshell01/netshell01.map $^ -lm -lz -o $@
1311TESTS += $(TEST_NETSHELL01)
1312O_FILES += $(TEST_NETSHELL01_O_FILES)
1313D_FILES += $(TEST_NETSHELL01_D_FILES)
1314
1315TEST_SWI01 = testsuite/swi01/swi01.exe
1316TEST_SWI01_O_FILES =
1317TEST_SWI01_D_FILES =
1318TEST_SWI01_O_FILES += testsuite/swi01/init.o
1319TEST_SWI01_D_FILES += testsuite/swi01/init.d
1320TEST_SWI01_O_FILES += testsuite/swi01/swi_test.o
1321TEST_SWI01_D_FILES += testsuite/swi01/swi_test.d
1322$(TEST_SWI01): $(TEST_SWI01_O_FILES) $(LIB)
1323        $(LINK.c) -Wl,-Map,testsuite/swi01/swi01.map $^ -lm -lz -o $@
1324TESTS += $(TEST_SWI01)
1325O_FILES += $(TEST_SWI01_O_FILES)
1326D_FILES += $(TEST_SWI01_D_FILES)
1327RUN_TESTS += $(TEST_SWI01)
1328
1329TEST_TIMEOUT01 = testsuite/timeout01/timeout01.exe
1330TEST_TIMEOUT01_O_FILES =
1331TEST_TIMEOUT01_D_FILES =
1332TEST_TIMEOUT01_O_FILES += testsuite/timeout01/init.o
1333TEST_TIMEOUT01_D_FILES += testsuite/timeout01/init.d
1334TEST_TIMEOUT01_O_FILES += testsuite/timeout01/timeout_test.o
1335TEST_TIMEOUT01_D_FILES += testsuite/timeout01/timeout_test.d
1336$(TEST_TIMEOUT01): $(TEST_TIMEOUT01_O_FILES) $(LIB)
1337        $(LINK.c) -Wl,-Map,testsuite/timeout01/timeout01.map $^ -lm -lz -o $@
1338TESTS += $(TEST_TIMEOUT01)
1339O_FILES += $(TEST_TIMEOUT01_O_FILES)
1340D_FILES += $(TEST_TIMEOUT01_D_FILES)
1341RUN_TESTS += $(TEST_TIMEOUT01)
1342
1343TEST_INIT01 = testsuite/init01/init01.exe
1344TEST_INIT01_O_FILES =
1345TEST_INIT01_D_FILES =
1346TEST_INIT01_O_FILES += testsuite/init01/test_main.o
1347TEST_INIT01_D_FILES += testsuite/init01/test_main.d
1348$(TEST_INIT01): $(TEST_INIT01_O_FILES) $(LIB)
1349        $(LINK.c) -Wl,-Map,testsuite/init01/init01.map $^ -lm -lz -o $@
1350TESTS += $(TEST_INIT01)
1351O_FILES += $(TEST_INIT01_O_FILES)
1352D_FILES += $(TEST_INIT01_D_FILES)
1353RUN_TESTS += $(TEST_INIT01)
1354
1355TEST_THREAD01 = testsuite/thread01/thread01.exe
1356TEST_THREAD01_O_FILES =
1357TEST_THREAD01_D_FILES =
1358TEST_THREAD01_O_FILES += testsuite/thread01/test_main.o
1359TEST_THREAD01_D_FILES += testsuite/thread01/test_main.d
1360$(TEST_THREAD01): $(TEST_THREAD01_O_FILES) $(LIB)
1361        $(LINK.c) -Wl,-Map,testsuite/thread01/thread01.map $^ -lm -lz -o $@
1362TESTS += $(TEST_THREAD01)
1363O_FILES += $(TEST_THREAD01_O_FILES)
1364D_FILES += $(TEST_THREAD01_D_FILES)
1365RUN_TESTS += $(TEST_THREAD01)
1366
1367TEST_MUTEX01 = testsuite/mutex01/mutex01.exe
1368TEST_MUTEX01_O_FILES =
1369TEST_MUTEX01_D_FILES =
1370TEST_MUTEX01_O_FILES += testsuite/mutex01/test_main.o
1371TEST_MUTEX01_D_FILES += testsuite/mutex01/test_main.d
1372$(TEST_MUTEX01): $(TEST_MUTEX01_O_FILES) $(LIB)
1373        $(LINK.c) -Wl,-Map,testsuite/mutex01/mutex01.map $^ -lm -lz -o $@
1374TESTS += $(TEST_MUTEX01)
1375O_FILES += $(TEST_MUTEX01_O_FILES)
1376D_FILES += $(TEST_MUTEX01_D_FILES)
1377RUN_TESTS += $(TEST_MUTEX01)
1378
1379TEST_CONDVAR01 = testsuite/condvar01/condvar01.exe
1380TEST_CONDVAR01_O_FILES =
1381TEST_CONDVAR01_D_FILES =
1382TEST_CONDVAR01_O_FILES += testsuite/condvar01/test_main.o
1383TEST_CONDVAR01_D_FILES += testsuite/condvar01/test_main.d
1384$(TEST_CONDVAR01): $(TEST_CONDVAR01_O_FILES) $(LIB)
1385        $(LINK.c) -Wl,-Map,testsuite/condvar01/condvar01.map $^ -lm -lz -o $@
1386TESTS += $(TEST_CONDVAR01)
1387O_FILES += $(TEST_CONDVAR01_O_FILES)
1388D_FILES += $(TEST_CONDVAR01_D_FILES)
1389RUN_TESTS += $(TEST_CONDVAR01)
1390
1391TEST_PPP01 = testsuite/ppp01/ppp01.exe
1392TEST_PPP01_O_FILES =
1393TEST_PPP01_D_FILES =
1394TEST_PPP01_O_FILES += testsuite/ppp01/test_main.o
1395TEST_PPP01_D_FILES += testsuite/ppp01/test_main.d
1396$(TEST_PPP01): $(TEST_PPP01_O_FILES) $(LIB)
1397        $(LINK.c) -Wl,-Map,testsuite/ppp01/ppp01.map $^ -lm -lz -o $@
1398TESTS += $(TEST_PPP01)
1399O_FILES += $(TEST_PPP01_O_FILES)
1400D_FILES += $(TEST_PPP01_D_FILES)
1401
1402TEST_ZEROCOPY01 = testsuite/zerocopy01/zerocopy01.exe
1403TEST_ZEROCOPY01_O_FILES =
1404TEST_ZEROCOPY01_D_FILES =
1405TEST_ZEROCOPY01_O_FILES += testsuite/zerocopy01/test_main.o
1406TEST_ZEROCOPY01_D_FILES += testsuite/zerocopy01/test_main.d
1407$(TEST_ZEROCOPY01): $(TEST_ZEROCOPY01_O_FILES) $(LIB)
1408        $(LINK.c) -Wl,-Map,testsuite/zerocopy01/zerocopy01.map $^ -lm -lz -o $@
1409NET_TESTS += $(TEST_ZEROCOPY01)
1410O_FILES += $(TEST_ZEROCOPY01_O_FILES)
1411D_FILES += $(TEST_ZEROCOPY01_D_FILES)
1412
1413TEST_SMP01 = testsuite/smp01/smp01.exe
1414TEST_SMP01_O_FILES =
1415TEST_SMP01_D_FILES =
1416TEST_SMP01_O_FILES += testsuite/smp01/test_main.o
1417TEST_SMP01_D_FILES += testsuite/smp01/test_main.d
1418$(TEST_SMP01): $(TEST_SMP01_O_FILES) $(LIB)
1419        $(LINK.c) -Wl,-Map,testsuite/smp01/smp01.map $^ -lm -lz -o $@
1420TESTS += $(TEST_SMP01)
1421O_FILES += $(TEST_SMP01_O_FILES)
1422D_FILES += $(TEST_SMP01_D_FILES)
1423RUN_TESTS += $(TEST_SMP01)
1424
1425TEST_MEDIA01 = testsuite/media01/media01.exe
1426TEST_MEDIA01_O_FILES =
1427TEST_MEDIA01_D_FILES =
1428TEST_MEDIA01_O_FILES += testsuite/media01/test_main.o
1429TEST_MEDIA01_D_FILES += testsuite/media01/test_main.d
1430$(TEST_MEDIA01): $(TEST_MEDIA01_O_FILES) $(LIB)
1431        $(LINK.c) -Wl,-Map,testsuite/media01/media01.map $^ -lm -lz -o $@
1432TESTS += $(TEST_MEDIA01)
1433O_FILES += $(TEST_MEDIA01_O_FILES)
1434D_FILES += $(TEST_MEDIA01_D_FILES)
1435
1436TEST_VLAN01 = testsuite/vlan01/vlan01.exe
1437TEST_VLAN01_O_FILES =
1438TEST_VLAN01_D_FILES =
1439TEST_VLAN01_O_FILES += testsuite/vlan01/test_main.o
1440TEST_VLAN01_D_FILES += testsuite/vlan01/test_main.d
1441$(TEST_VLAN01): $(TEST_VLAN01_O_FILES) $(LIB)
1442        $(LINK.c) -Wl,-Map,testsuite/vlan01/vlan01.map $^ -lm -lz -o $@
1443NET_TESTS += $(TEST_VLAN01)
1444O_FILES += $(TEST_VLAN01_O_FILES)
1445D_FILES += $(TEST_VLAN01_D_FILES)
1446RUN_NET_TESTS += $(TEST_VLAN01)
1447
1448TEST_LAGG01 = testsuite/lagg01/lagg01.exe
1449TEST_LAGG01_O_FILES =
1450TEST_LAGG01_D_FILES =
1451TEST_LAGG01_O_FILES += testsuite/lagg01/test_main.o
1452TEST_LAGG01_D_FILES += testsuite/lagg01/test_main.d
1453$(TEST_LAGG01): $(TEST_LAGG01_O_FILES) $(LIB)
1454        $(LINK.c) -Wl,-Map,testsuite/lagg01/lagg01.map $^ -lm -lz -o $@
1455NET_TESTS += $(TEST_LAGG01)
1456O_FILES += $(TEST_LAGG01_O_FILES)
1457D_FILES += $(TEST_LAGG01_D_FILES)
1458RUN_NET_TESTS += $(TEST_LAGG01)
1459LIB_C_FILES += dhcpcd/arp.c
1460dhcpcd/arp.o: dhcpcd/arp.c
1461        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1462LIB_C_FILES += dhcpcd/auth.c
1463dhcpcd/auth.o: dhcpcd/auth.c
1464        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1465LIB_C_FILES += dhcpcd/bpf.c
1466dhcpcd/bpf.o: dhcpcd/bpf.c
1467        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1468LIB_C_FILES += dhcpcd/common.c
1469dhcpcd/common.o: dhcpcd/common.c
1470        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1471LIB_C_FILES += dhcpcd/dhcp6.c
1472dhcpcd/dhcp6.o: dhcpcd/dhcp6.c
1473        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1474LIB_C_FILES += dhcpcd/dhcp.c
1475dhcpcd/dhcp.o: dhcpcd/dhcp.c
1476        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1477LIB_C_FILES += dhcpcd/dhcpcd.c
1478dhcpcd/dhcpcd.o: dhcpcd/dhcpcd.c
1479        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1480LIB_C_FILES += dhcpcd/dhcpcd-embedded.c
1481dhcpcd/dhcpcd-embedded.o: dhcpcd/dhcpcd-embedded.c
1482        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1483LIB_C_FILES += dhcpcd/dhcp-common.c
1484dhcpcd/dhcp-common.o: dhcpcd/dhcp-common.c
1485        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1486LIB_C_FILES += dhcpcd/duid.c
1487dhcpcd/duid.o: dhcpcd/duid.c
1488        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1489LIB_C_FILES += dhcpcd/eloop.c
1490dhcpcd/eloop.o: dhcpcd/eloop.c
1491        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1492LIB_C_FILES += dhcpcd/if-bsd.c
1493dhcpcd/if-bsd.o: dhcpcd/if-bsd.c
1494        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1495LIB_C_FILES += dhcpcd/if-options.c
1496dhcpcd/if-options.o: dhcpcd/if-options.c
1497        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1498LIB_C_FILES += dhcpcd/if-pref.c
1499dhcpcd/if-pref.o: dhcpcd/if-pref.c
1500        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1501LIB_C_FILES += dhcpcd/ipv4.c
1502dhcpcd/ipv4.o: dhcpcd/ipv4.c
1503        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1504LIB_C_FILES += dhcpcd/ipv4ll.c
1505dhcpcd/ipv4ll.o: dhcpcd/ipv4ll.c
1506        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1507LIB_C_FILES += dhcpcd/ipv6.c
1508dhcpcd/ipv6.o: dhcpcd/ipv6.c
1509        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1510LIB_C_FILES += dhcpcd/ipv6nd.c
1511dhcpcd/ipv6nd.o: dhcpcd/ipv6nd.c
1512        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1513LIB_C_FILES += dhcpcd/net.c
1514dhcpcd/net.o: dhcpcd/net.c
1515        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1516LIB_C_FILES += dhcpcd/platform-bsd.c
1517dhcpcd/platform-bsd.o: dhcpcd/platform-bsd.c
1518        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1519LIB_C_FILES += dhcpcd/compat/pselect.c
1520dhcpcd/compat/pselect.o: dhcpcd/compat/pselect.c
1521        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1522LIB_C_FILES += dhcpcd/crypt/hmac_md5.c
1523dhcpcd/crypt/hmac_md5.o: dhcpcd/crypt/hmac_md5.c
1524        $(CC) $(CPPFLAGS) $(CFLAGS) -D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -DINET6 -c $< -o $@
1525LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-shell-dhcpcd.c
1526LIB_C_FILES += mDNSResponder/mDNSCore/anonymous.c
1527LIB_C_FILES += mDNSResponder/mDNSCore/CryptoAlg.c
1528LIB_C_FILES += mDNSResponder/mDNSCore/DNSCommon.c
1529LIB_C_FILES += mDNSResponder/mDNSCore/DNSDigest.c
1530LIB_C_FILES += mDNSResponder/mDNSCore/mDNS.c
1531LIB_C_FILES += mDNSResponder/mDNSCore/uDNS.c
1532LIB_C_FILES += mDNSResponder/mDNSShared/dnssd_clientshim.c
1533LIB_C_FILES += mDNSResponder/mDNSShared/mDNSDebug.c
1534LIB_C_FILES += mDNSResponder/mDNSShared/PlatformCommon.c
1535LIB_C_FILES += mDNSResponder/mDNSShared/GenLinkedList.c
1536LIB_C_FILES += mDNSResponder/mDNSPosix/mDNSPosix.c
1537LIB_C_FILES += mDNSResponder/mDNSPosix/mDNSUNP.c
1538
1539ifeq ($(NEED_DUMMY_PIC_IRQ),yes)
1540CFLAGS += -I rtems-dummy-pic-irq/include
1541endif
1542LIB_O_FILES = $(LIB_C_FILES:%.c=%.o) $(LIB_CXX_FILES:%.cc=%.o)
1543O_FILES += $(LIB_O_FILES)
1544D_FILES += $(LIB_C_FILES:%.c=%.d) $(LIB_CXX_FILES:%.cc=%.d)
1545
1546all: $(LIB) $(TESTS) $(TEST_NETWORK_CONFIG) $(NET_TESTS)
1547
1548$(LIB): $(LIB_GEN_FILES) $(LIB_O_FILES)
1549        rm -f $@
1550        $(AR) rcu $@ $^
1551
1552run_tests: $(RUN_TESTS)
1553        $(TEST_RUNNER) $^
1554        check_endof
1555
1556run_net_tests: $(RUN_NET_TESTS)
1557        $(TEST_RUNNER) -N -T $(NET_TAP_INTERFACE) $^
1558        check_endof
1559
1560$(TEST_NETWORK_CONFIG): $(TEST_NETWORK_CONFIG).in config.inc
1561        sed -e 's/@NET_CFG_SELF_IP@/$(NET_CFG_SELF_IP)/' \
1562        -e 's/@NET_CFG_NETMASK@/$(NET_CFG_NETMASK)/' \
1563        -e 's/@NET_CFG_PEER_IP@/$(NET_CFG_PEER_IP)/' \
1564        -e 's/@NET_CFG_GATEWAY_IP@/$(NET_CFG_GATEWAY_IP)/' \
1565        < $< > $@
1566
1567CPU_SED  = sed
1568CPU_SED += -e '/arm/d'
1569CPU_SED += -e '/i386/d'
1570CPU_SED += -e '/powerpc/d'
1571CPU_SED += -e '/mips/d'
1572CPU_SED += -e '/sparc64/d'
1573
1574LIB_DIR = $(INSTALL_BASE)/lib
1575INCLUDE_DIR = $(INSTALL_BASE)/lib/include
1576
1577install: $(LIB)
1578        install -d $(LIB_DIR)
1579        install -m 644 $(LIB) $(LIB_DIR)
1580        cd rtemsbsd/include ; for i in `find . -type d` ; do \
1581          install -d $(INCLUDE_DIR)/$$i ; \
1582          install -m 644 $$i/*.h $(INCLUDE_DIR)/$$i ; done
1583        cd freebsd/include ; for i in `find . -type d` ; do \
1584          install -d $(INCLUDE_DIR)/$$i ; \
1585          install -m 644 $$i/*.h $(INCLUDE_DIR)/$$i ; done
1586        cd freebsd/sys/contrib/altq ; \
1587          install -d $(INCLUDE_DIR)/altq ; \
1588          install -m 644 altq/*.h $(INCLUDE_DIR)/altq
1589        for i in bsm cam net net80211 netatalk netinet netinet6 netipsec sys vm ; do \
1590          install -d $(INCLUDE_DIR)/$$i ; \
1591          install -m 644 freebsd/sys/$$i/*.h $(INCLUDE_DIR)/$$i ; done
1592        cd freebsd/sys/dev/mii ; \
1593          install -d $(INCLUDE_DIR)/dev/mii ; \
1594          install -m 644 *.h $(INCLUDE_DIR)/dev/mii
1595        install -m 644 mDNSResponder/mDNSCore/mDNSDebug.h $(INCLUDE_DIR)
1596        install -m 644 mDNSResponder/mDNSCore/mDNSEmbeddedAPI.h $(INCLUDE_DIR)
1597        install -m 644 mDNSResponder/mDNSShared/dns_sd.h $(INCLUDE_DIR)
1598        install -m 644 mDNSResponder/mDNSPosix/mDNSPosix.h $(INCLUDE_DIR)
1599
1600clean:
1601        rm -f $(LIB_GEN_FILES) $(LIB) $(TESTS) $(O_FILES) $(D_FILES)
1602        rm -f libbsd.html
1603
1604-include $(D_FILES)
1605
1606doc: libbsd.html
1607
1608libbsd.html: libbsd.txt
1609        asciidoc -o libbsd.html libbsd.txt
Note: See TracBrowser for help on using the repository browser.