source: rtems-libbsd/Makefile @ 5383ed4

4.115-freebsd-12freebsd-9.3
Last change on this file since 5383ed4 was 5383ed4, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 13, 2015 at 9:31:27 AM

Add and use rtems_bsd_get_allocator_domain_size()

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