source: rtems-libbsd/Makefile @ 3e29388

4.115-freebsd-12freebsd-9.3
Last change on this file since 3e29388 was 3e29388, checked in by Sebastian Huber <sebastian.huber@…>, on Oct 25, 2013 at 1:09:17 PM

ZONE(9): Add and use red-black tree chunk alloc

  • Property mode set to 100644
File size: 41.0 KB
Line 
1include config.inc
2
3include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
4include $(RTEMS_CUSTOM)
5include $(PROJECT_ROOT)/make/leaf.cfg
6
7CFLAGS += -ffreestanding
8CFLAGS += -Irtemsbsd/include
9CFLAGS += -Irtemsbsd/$(RTEMS_CPU)/include
10CFLAGS += -Ifreebsd/sys
11CFLAGS += -Ifreebsd/sys/$(RTEMS_CPU)/include
12CFLAGS += -Ifreebsd/sys/contrib/altq
13CFLAGS += -Ifreebsd/sys/contrib/pf
14CFLAGS += -Icopied/rtemsbsd/$(RTEMS_CPU)/include
15CFLAGS += -Ifreebsd/include
16CFLAGS += -Ifreebsd/lib/libc/include
17CFLAGS += -Ifreebsd/lib/libc/isc/include
18CFLAGS += -Ifreebsd/lib/libc/resolv
19CFLAGS += -Ifreebsd/lib/libutil
20CFLAGS += -Ifreebsd/lib/libkvm
21CFLAGS += -Ifreebsd/lib/libmemstat
22CFLAGS += -Ifreebsd/lib/libipsec
23CFLAGS += -Itestsuite/include
24CFLAGS += -D__FreeBSD__
25CFLAGS += -D__DBINTERFACE_PRIVATE
26CFLAGS += -w
27CFLAGS += -std=gnu99
28CFLAGS += -MT $@ -MD -MP -MF $(basename $@).d
29NEED_DUMMY_PIC_IRQ=yes
30
31# do nothing default so sed on rtems-bsd-config.h always works.
32SED_PATTERN += -e 's/^//'
33
34TESTS =
35RUN_TESTS =
36O_FILES =
37D_FILES =
38
39LIB = libbsd.a
40LIB_GEN_FILES = rtemsbsd/include/machine/rtems-bsd-config.h
41LIB_C_FILES =
42LIB_C_FILES += rtemsbsd/local/bus_if.c
43LIB_C_FILES += rtemsbsd/local/cryptodev_if.c
44LIB_C_FILES += rtemsbsd/local/device_if.c
45LIB_C_FILES += rtemsbsd/local/miibus_if.c
46LIB_C_FILES += rtemsbsd/local/pcib_if.c
47LIB_C_FILES += rtemsbsd/local/pci_if.c
48LIB_C_FILES += rtemsbsd/local/usb_if.c
49LIB_C_FILES += rtemsbsd/rtems/ipsec_get_policylen.c
50LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-assert.c
51LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-autoconf.c
52LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-bus-dma.c
53LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-bus-dma-mbuf.c
54LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-cam.c
55LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-chunk.c
56LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-condvar.c
57LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-conf.c
58LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-copyinout.c
59LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-delay.c
60LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-get-file.c
61LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-init.c
62LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-init-with-irq.c
63LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-jail.c
64LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-kern_synch.c
65LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-lock.c
66LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-log.c
67LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-malloc.c
68LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-mutex.c
69LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-newproc.c
70LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-nexus.c
71LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-panic.c
72LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-pci_bus.c
73LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-pci_cfgreg.c
74LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-program.c
75LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-rwlock.c
76LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-shell.c
77LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-shell-netcmds.c
78LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-signal.c
79LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-subr_param.c
80LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-support.c
81LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-sx.c
82LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-syscall-api.c
83LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-sysctlbyname.c
84LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-sysctl.c
85LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-sysctlnametomib.c
86LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-taskqueue.c
87LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-thread.c
88LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-timesupport.c
89LIB_C_FILES += rtemsbsd/rtems/rtems-kvm.c
90LIB_C_FILES += rtemsbsd/rtems/rtems-net-setup.c
91LIB_C_FILES += rtemsbsd/rtems/rtems-syslog-initialize.c
92LIB_C_FILES += rtemsbsd/rtems/rtems-syspoll.c
93LIB_C_FILES += rtemsbsd/rtems/rtems-uthread_kevent.c
94LIB_C_FILES += rtemsbsd/rtems/rtems-uthread_kqueue.c
95LIB_C_FILES += rtemsbsd/rtems/syslog.c
96LIB_C_FILES += rtemsbsd/sys/dev/usb/controller/ehci_mpc83xx.c
97LIB_C_FILES += rtemsbsd/sys/dev/usb/controller/ohci_lpc24xx.c
98LIB_C_FILES += rtemsbsd/sys/dev/usb/controller/ohci_lpc32xx.c
99LIB_GEN_FILES += rtemsbsd/rtems/rtems-kvm-symbols.c
100LIB_C_FILES += rtemsbsd/rtems/rtems-kvm-symbols.c
101rtemsbsd/rtems/rtems-kvm-symbols.c: rtemsbsd/rtems/generate_kvm_symbols
102        ./$< > $@
103LIB_GEN_FILES += freebsd/lib/libc/net/nslexer.c
104LIB_C_FILES += freebsd/lib/libc/net/nslexer.c
105freebsd/lib/libc/net/nslexer.c: freebsd/lib/libc/net/nslexer.l freebsd/lib/libc/net/nsparser.c
106        ${LEX} -P _nsyy -t $< | sed -e '/YY_BUF_SIZE/s/16384/1024/' > $@
107LIB_GEN_FILES += freebsd/lib/libc/net/nsparser.c
108LIB_C_FILES += freebsd/lib/libc/net/nsparser.c
109freebsd/lib/libc/net/nsparser.c: freebsd/lib/libc/net/nsparser.y
110        yacc -b _nsyy -d -p _nsyy $<
111        sed -e /YY_BUF_SIZE/s/16384/1024/ < _nsyy.tab.c > $@
112        rm -f _nsyy.tab.c
113        mv _nsyy.tab.h freebsd/lib/libc/net/nsparser.h
114LIB_GEN_FILES += freebsd/lib/libipsec/policy_token.c
115LIB_C_FILES += freebsd/lib/libipsec/policy_token.c
116freebsd/lib/libipsec/policy_token.c: freebsd/lib/libipsec/policy_token.l freebsd/lib/libipsec/policy_parse.c
117        ${LEX} -P __libipsecyy -t $< | sed -e '/YY_BUF_SIZE/s/16384/1024/' > $@
118LIB_GEN_FILES += freebsd/lib/libipsec/policy_parse.c
119LIB_C_FILES += freebsd/lib/libipsec/policy_parse.c
120freebsd/lib/libipsec/policy_parse.c: freebsd/lib/libipsec/policy_parse.y
121        yacc -b __libipsecyy -d -p __libipsecyy $<
122        sed -e /YY_BUF_SIZE/s/16384/1024/ < __libipsecyy.tab.c > $@
123        rm -f __libipsecyy.tab.c
124        mv __libipsecyy.tab.h freebsd/lib/libipsec/y.tab.h
125LIB_C_FILES += freebsd/sys/kern/init_main.c
126LIB_C_FILES += freebsd/sys/kern/kern_environment.c
127LIB_C_FILES += freebsd/sys/kern/kern_event.c
128LIB_C_FILES += freebsd/sys/kern/kern_intr.c
129LIB_C_FILES += freebsd/sys/kern/kern_linker.c
130LIB_C_FILES += freebsd/sys/kern/kern_mbuf.c
131LIB_C_FILES += freebsd/sys/kern/kern_mib.c
132LIB_C_FILES += freebsd/sys/kern/kern_module.c
133LIB_C_FILES += freebsd/sys/kern/kern_mtxpool.c
134LIB_C_FILES += freebsd/sys/kern/kern_ntptime.c
135LIB_C_FILES += freebsd/sys/kern/kern_subr.c
136LIB_C_FILES += freebsd/sys/kern/kern_sysctl.c
137LIB_C_FILES += freebsd/sys/kern/kern_tc.c
138LIB_C_FILES += freebsd/sys/kern/kern_time.c
139LIB_C_FILES += freebsd/sys/kern/kern_timeout.c
140LIB_C_FILES += freebsd/sys/kern/subr_bufring.c
141LIB_C_FILES += freebsd/sys/kern/subr_bus.c
142LIB_C_FILES += freebsd/sys/kern/subr_eventhandler.c
143LIB_C_FILES += freebsd/sys/kern/subr_hints.c
144LIB_C_FILES += freebsd/sys/kern/subr_kobj.c
145LIB_C_FILES += freebsd/sys/kern/subr_module.c
146LIB_C_FILES += freebsd/sys/kern/subr_rman.c
147LIB_C_FILES += freebsd/sys/kern/subr_sbuf.c
148LIB_C_FILES += freebsd/sys/kern/subr_unit.c
149LIB_C_FILES += freebsd/sys/kern/sys_generic.c
150LIB_C_FILES += freebsd/sys/kern/uipc_accf.c
151LIB_C_FILES += freebsd/sys/kern/uipc_domain.c
152LIB_C_FILES += freebsd/sys/kern/uipc_mbuf2.c
153LIB_C_FILES += freebsd/sys/kern/uipc_mbuf.c
154LIB_C_FILES += freebsd/sys/kern/uipc_sockbuf.c
155LIB_C_FILES += freebsd/sys/kern/uipc_socket.c
156LIB_C_FILES += freebsd/sys/libkern/arc4random.c
157LIB_C_FILES += freebsd/sys/libkern/fls.c
158LIB_C_FILES += freebsd/sys/libkern/inet_ntoa.c
159LIB_C_FILES += freebsd/sys/libkern/random.c
160LIB_C_FILES += freebsd/sys/vm/uma_core.c
161LIB_C_FILES += freebsd/sys/kern/sys_socket.c
162LIB_C_FILES += freebsd/sys/kern/uipc_syscalls.c
163LIB_C_FILES += freebsd/sys/net/bridgestp.c
164LIB_C_FILES += freebsd/sys/net/ieee8023ad_lacp.c
165LIB_C_FILES += freebsd/sys/net/if_atmsubr.c
166LIB_C_FILES += freebsd/sys/net/if.c
167LIB_C_FILES += freebsd/sys/net/if_clone.c
168LIB_C_FILES += freebsd/sys/net/if_dead.c
169LIB_C_FILES += freebsd/sys/net/if_disc.c
170LIB_C_FILES += freebsd/sys/net/if_edsc.c
171LIB_C_FILES += freebsd/sys/net/if_ef.c
172LIB_C_FILES += freebsd/sys/net/if_enc.c
173LIB_C_FILES += freebsd/sys/net/if_epair.c
174LIB_C_FILES += freebsd/sys/net/if_faith.c
175LIB_C_FILES += freebsd/sys/net/if_fddisubr.c
176LIB_C_FILES += freebsd/sys/net/if_fwsubr.c
177LIB_C_FILES += freebsd/sys/net/if_gif.c
178LIB_C_FILES += freebsd/sys/net/if_gre.c
179LIB_C_FILES += freebsd/sys/net/if_iso88025subr.c
180LIB_C_FILES += freebsd/sys/net/if_lagg.c
181LIB_C_FILES += freebsd/sys/net/if_llatbl.c
182LIB_C_FILES += freebsd/sys/net/if_loop.c
183LIB_C_FILES += freebsd/sys/net/if_media.c
184LIB_C_FILES += freebsd/sys/net/if_mib.c
185LIB_C_FILES += freebsd/sys/net/if_spppfr.c
186LIB_C_FILES += freebsd/sys/net/if_spppsubr.c
187LIB_C_FILES += freebsd/sys/net/if_tap.c
188LIB_C_FILES += freebsd/sys/net/if_tun.c
189LIB_C_FILES += freebsd/sys/net/if_vlan.c
190LIB_C_FILES += freebsd/sys/net/pfil.c
191LIB_C_FILES += freebsd/sys/net/radix.c
192LIB_C_FILES += freebsd/sys/net/radix_mpath.c
193LIB_C_FILES += freebsd/sys/net/raw_cb.c
194LIB_C_FILES += freebsd/sys/net/raw_usrreq.c
195LIB_C_FILES += freebsd/sys/net/route.c
196LIB_C_FILES += freebsd/sys/net/rtsock.c
197LIB_C_FILES += freebsd/sys/net/slcompress.c
198LIB_C_FILES += freebsd/sys/net/bpf_buffer.c
199LIB_C_FILES += freebsd/sys/net/bpf.c
200LIB_C_FILES += freebsd/sys/net/bpf_filter.c
201LIB_C_FILES += freebsd/sys/net/bpf_jitter.c
202LIB_C_FILES += freebsd/sys/net/if_arcsubr.c
203LIB_C_FILES += freebsd/sys/net/if_bridge.c
204LIB_C_FILES += freebsd/sys/net/if_ethersubr.c
205LIB_C_FILES += freebsd/sys/net/netisr.c
206LIB_C_FILES += freebsd/sys/netinet/accf_data.c
207LIB_C_FILES += freebsd/sys/netinet/accf_dns.c
208LIB_C_FILES += freebsd/sys/netinet/accf_http.c
209LIB_C_FILES += freebsd/sys/netinet/if_atm.c
210LIB_C_FILES += freebsd/sys/netinet/if_ether.c
211LIB_C_FILES += freebsd/sys/netinet/igmp.c
212LIB_C_FILES += freebsd/sys/netinet/in.c
213LIB_C_FILES += freebsd/sys/netinet/in_gif.c
214LIB_C_FILES += freebsd/sys/netinet/in_mcast.c
215LIB_C_FILES += freebsd/sys/netinet/in_pcb.c
216LIB_C_FILES += freebsd/sys/netinet/in_proto.c
217LIB_C_FILES += freebsd/sys/netinet/in_rmx.c
218LIB_C_FILES += freebsd/sys/netinet/ip_carp.c
219LIB_C_FILES += freebsd/sys/netinet/ip_divert.c
220LIB_C_FILES += freebsd/sys/netinet/ip_ecn.c
221LIB_C_FILES += freebsd/sys/netinet/ip_encap.c
222LIB_C_FILES += freebsd/sys/netinet/ip_fastfwd.c
223LIB_C_FILES += freebsd/sys/netinet/ip_gre.c
224LIB_C_FILES += freebsd/sys/netinet/ip_icmp.c
225LIB_C_FILES += freebsd/sys/netinet/ip_id.c
226LIB_C_FILES += freebsd/sys/netinet/ip_input.c
227LIB_C_FILES += freebsd/sys/netinet/ip_ipsec.c
228LIB_C_FILES += freebsd/sys/netinet/ip_mroute.c
229LIB_C_FILES += freebsd/sys/netinet/ip_options.c
230LIB_C_FILES += freebsd/sys/netinet/ip_output.c
231LIB_C_FILES += freebsd/sys/netinet/raw_ip.c
232LIB_C_FILES += freebsd/sys/netinet/sctp_asconf.c
233LIB_C_FILES += freebsd/sys/netinet/sctp_auth.c
234LIB_C_FILES += freebsd/sys/netinet/sctp_bsd_addr.c
235LIB_C_FILES += freebsd/sys/netinet/sctp_cc_functions.c
236LIB_C_FILES += freebsd/sys/netinet/sctp_crc32.c
237LIB_C_FILES += freebsd/sys/netinet/sctp_indata.c
238LIB_C_FILES += freebsd/sys/netinet/sctp_input.c
239LIB_C_FILES += freebsd/sys/netinet/sctp_output.c
240LIB_C_FILES += freebsd/sys/netinet/sctp_pcb.c
241LIB_C_FILES += freebsd/sys/netinet/sctp_peeloff.c
242LIB_C_FILES += freebsd/sys/netinet/sctp_sysctl.c
243LIB_C_FILES += freebsd/sys/netinet/sctp_timer.c
244LIB_C_FILES += freebsd/sys/netinet/sctp_usrreq.c
245LIB_C_FILES += freebsd/sys/netinet/sctputil.c
246LIB_C_FILES += freebsd/sys/netinet/tcp_debug.c
247LIB_C_FILES += freebsd/sys/netinet/tcp_input.c
248LIB_C_FILES += freebsd/sys/netinet/tcp_lro.c
249LIB_C_FILES += freebsd/sys/netinet/tcp_offload.c
250LIB_C_FILES += freebsd/sys/netinet/tcp_output.c
251LIB_C_FILES += freebsd/sys/netinet/tcp_reass.c
252LIB_C_FILES += freebsd/sys/netinet/tcp_sack.c
253LIB_C_FILES += freebsd/sys/netinet/tcp_subr.c
254LIB_C_FILES += freebsd/sys/netinet/tcp_syncache.c
255LIB_C_FILES += freebsd/sys/netinet/tcp_timer.c
256LIB_C_FILES += freebsd/sys/netinet/tcp_timewait.c
257LIB_C_FILES += freebsd/sys/netinet/tcp_usrreq.c
258LIB_C_FILES += freebsd/sys/netinet/udp_usrreq.c
259LIB_C_FILES += freebsd/sys/netinet/ipfw/dn_sched_fifo.c
260LIB_C_FILES += freebsd/sys/netinet/ipfw/dn_sched_rr.c
261LIB_C_FILES += freebsd/sys/netinet/ipfw/ip_fw_log.c
262LIB_C_FILES += freebsd/sys/netinet/ipfw/dn_sched_qfq.c
263LIB_C_FILES += freebsd/sys/netinet/ipfw/dn_sched_prio.c
264LIB_C_FILES += freebsd/sys/netinet/ipfw/ip_dn_glue.c
265LIB_C_FILES += freebsd/sys/netinet/ipfw/ip_fw2.c
266LIB_C_FILES += freebsd/sys/netinet/ipfw/dn_heap.c
267LIB_C_FILES += freebsd/sys/netinet/ipfw/ip_dummynet.c
268LIB_C_FILES += freebsd/sys/netinet/ipfw/ip_fw_sockopt.c
269LIB_C_FILES += freebsd/sys/netinet/ipfw/dn_sched_wf2q.c
270LIB_C_FILES += freebsd/sys/netinet/ipfw/ip_fw_nat.c
271LIB_C_FILES += freebsd/sys/netinet/ipfw/ip_fw_pfil.c
272LIB_C_FILES += freebsd/sys/netinet/ipfw/ip_dn_io.c
273LIB_C_FILES += freebsd/sys/netinet/ipfw/ip_fw_table.c
274LIB_C_FILES += freebsd/sys/netinet/libalias/alias_dummy.c
275LIB_C_FILES += freebsd/sys/netinet/libalias/alias_pptp.c
276LIB_C_FILES += freebsd/sys/netinet/libalias/alias_smedia.c
277LIB_C_FILES += freebsd/sys/netinet/libalias/alias_mod.c
278LIB_C_FILES += freebsd/sys/netinet/libalias/alias_cuseeme.c
279LIB_C_FILES += freebsd/sys/netinet/libalias/alias_nbt.c
280LIB_C_FILES += freebsd/sys/netinet/libalias/alias_irc.c
281LIB_C_FILES += freebsd/sys/netinet/libalias/alias_util.c
282LIB_C_FILES += freebsd/sys/netinet/libalias/alias_db.c
283LIB_C_FILES += freebsd/sys/netinet/libalias/alias_ftp.c
284LIB_C_FILES += freebsd/sys/netinet/libalias/alias_proxy.c
285LIB_C_FILES += freebsd/sys/netinet/libalias/alias.c
286LIB_C_FILES += freebsd/sys/netinet/libalias/alias_skinny.c
287LIB_C_FILES += freebsd/sys/netinet/libalias/alias_sctp.c
288ifneq ($(DISABLE_IPV6),yes)
289LIB_C_FILES += freebsd/sys/net/if_stf.c
290LIB_C_FILES += freebsd/sys/netinet6/dest6.c
291LIB_C_FILES += freebsd/sys/netinet6/frag6.c
292LIB_C_FILES += freebsd/sys/netinet6/icmp6.c
293LIB_C_FILES += freebsd/sys/netinet6/in6.c
294LIB_C_FILES += freebsd/sys/netinet6/in6_cksum.c
295LIB_C_FILES += freebsd/sys/netinet6/in6_gif.c
296LIB_C_FILES += freebsd/sys/netinet6/in6_ifattach.c
297LIB_C_FILES += freebsd/sys/netinet6/in6_mcast.c
298LIB_C_FILES += freebsd/sys/netinet6/in6_pcb.c
299LIB_C_FILES += freebsd/sys/netinet6/in6_proto.c
300LIB_C_FILES += freebsd/sys/netinet6/in6_rmx.c
301LIB_C_FILES += freebsd/sys/netinet6/in6_src.c
302LIB_C_FILES += freebsd/sys/netinet6/ip6_forward.c
303LIB_C_FILES += freebsd/sys/netinet6/ip6_id.c
304LIB_C_FILES += freebsd/sys/netinet6/ip6_input.c
305LIB_C_FILES += freebsd/sys/netinet6/ip6_ipsec.c
306LIB_C_FILES += freebsd/sys/netinet6/ip6_mroute.c
307LIB_C_FILES += freebsd/sys/netinet6/ip6_output.c
308LIB_C_FILES += freebsd/sys/netinet6/mld6.c
309LIB_C_FILES += freebsd/sys/netinet6/nd6.c
310LIB_C_FILES += freebsd/sys/netinet6/nd6_nbr.c
311LIB_C_FILES += freebsd/sys/netinet6/nd6_rtr.c
312LIB_C_FILES += freebsd/sys/netinet6/raw_ip6.c
313LIB_C_FILES += freebsd/sys/netinet6/route6.c
314LIB_C_FILES += freebsd/sys/netinet6/scope6.c
315LIB_C_FILES += freebsd/sys/netinet6/sctp6_usrreq.c
316LIB_C_FILES += freebsd/sys/netinet6/udp6_usrreq.c
317else
318SED_PATTERN += -e 's/^\#define INET6 1/\/\/ \#define INET6 1/'
319endif # DISABLE_IPV6
320LIB_C_FILES += freebsd/sys/netipsec/ipsec.c
321LIB_C_FILES += freebsd/sys/netipsec/ipsec_input.c
322LIB_C_FILES += freebsd/sys/netipsec/ipsec_mbuf.c
323LIB_C_FILES += freebsd/sys/netipsec/ipsec_output.c
324LIB_C_FILES += freebsd/sys/netipsec/key.c
325LIB_C_FILES += freebsd/sys/netipsec/key_debug.c
326LIB_C_FILES += freebsd/sys/netipsec/keysock.c
327LIB_C_FILES += freebsd/sys/netipsec/xform_ah.c
328LIB_C_FILES += freebsd/sys/netipsec/xform_esp.c
329LIB_C_FILES += freebsd/sys/netipsec/xform_ipcomp.c
330LIB_C_FILES += freebsd/sys/netipsec/xform_ipip.c
331LIB_C_FILES += freebsd/sys/netipsec/xform_tcp.c
332LIB_C_FILES += freebsd/sys/net80211/ieee80211_acl.c
333LIB_C_FILES += freebsd/sys/net80211/ieee80211_action.c
334LIB_C_FILES += freebsd/sys/net80211/ieee80211_adhoc.c
335LIB_C_FILES += freebsd/sys/net80211/ieee80211_ageq.c
336LIB_C_FILES += freebsd/sys/net80211/ieee80211_amrr.c
337LIB_C_FILES += freebsd/sys/net80211/ieee80211.c
338LIB_C_FILES += freebsd/sys/net80211/ieee80211_crypto.c
339LIB_C_FILES += freebsd/sys/net80211/ieee80211_crypto_ccmp.c
340LIB_C_FILES += freebsd/sys/net80211/ieee80211_crypto_none.c
341LIB_C_FILES += freebsd/sys/net80211/ieee80211_crypto_tkip.c
342LIB_C_FILES += freebsd/sys/net80211/ieee80211_crypto_wep.c
343LIB_C_FILES += freebsd/sys/net80211/ieee80211_ddb.c
344LIB_C_FILES += freebsd/sys/net80211/ieee80211_dfs.c
345LIB_C_FILES += freebsd/sys/net80211/ieee80211_freebsd.c
346LIB_C_FILES += freebsd/sys/net80211/ieee80211_hostap.c
347LIB_C_FILES += freebsd/sys/net80211/ieee80211_ht.c
348LIB_C_FILES += freebsd/sys/net80211/ieee80211_hwmp.c
349LIB_C_FILES += freebsd/sys/net80211/ieee80211_input.c
350LIB_C_FILES += freebsd/sys/net80211/ieee80211_ioctl.c
351LIB_C_FILES += freebsd/sys/net80211/ieee80211_mesh.c
352LIB_C_FILES += freebsd/sys/net80211/ieee80211_monitor.c
353LIB_C_FILES += freebsd/sys/net80211/ieee80211_node.c
354LIB_C_FILES += freebsd/sys/net80211/ieee80211_output.c
355LIB_C_FILES += freebsd/sys/net80211/ieee80211_phy.c
356LIB_C_FILES += freebsd/sys/net80211/ieee80211_power.c
357LIB_C_FILES += freebsd/sys/net80211/ieee80211_proto.c
358LIB_C_FILES += freebsd/sys/net80211/ieee80211_radiotap.c
359LIB_C_FILES += freebsd/sys/net80211/ieee80211_ratectl.c
360LIB_C_FILES += freebsd/sys/net80211/ieee80211_ratectl_none.c
361LIB_C_FILES += freebsd/sys/net80211/ieee80211_regdomain.c
362LIB_C_FILES += freebsd/sys/net80211/ieee80211_rssadapt.c
363LIB_C_FILES += freebsd/sys/net80211/ieee80211_scan.c
364LIB_C_FILES += freebsd/sys/net80211/ieee80211_scan_sta.c
365LIB_C_FILES += freebsd/sys/net80211/ieee80211_sta.c
366LIB_C_FILES += freebsd/sys/net80211/ieee80211_superg.c
367LIB_C_FILES += freebsd/sys/net80211/ieee80211_tdma.c
368LIB_C_FILES += freebsd/sys/net80211/ieee80211_wds.c
369LIB_C_FILES += freebsd/sys/net80211/ieee80211_xauth.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/opencrypto/cryptodev.c
379LIB_C_FILES += freebsd/sys/crypto/sha1.c
380LIB_C_FILES += freebsd/sys/crypto/sha2/sha2.c
381LIB_C_FILES += freebsd/sys/crypto/rijndael/rijndael-alg-fst.c
382LIB_C_FILES += freebsd/sys/crypto/rijndael/rijndael-api.c
383LIB_C_FILES += freebsd/sys/crypto/rijndael/rijndael-api-fst.c
384LIB_C_FILES += freebsd/sys/crypto/des/des_setkey.c
385LIB_C_FILES += freebsd/sys/crypto/des/des_enc.c
386LIB_C_FILES += freebsd/sys/crypto/des/des_ecb.c
387LIB_C_FILES += freebsd/sys/crypto/blowfish/bf_enc.c
388LIB_C_FILES += freebsd/sys/crypto/blowfish/bf_skey.c
389LIB_C_FILES += freebsd/sys/crypto/blowfish/bf_ecb.c
390LIB_C_FILES += freebsd/sys/crypto/rc4/rc4.c
391LIB_C_FILES += freebsd/sys/crypto/camellia/camellia-api.c
392LIB_C_FILES += freebsd/sys/crypto/camellia/camellia.c
393LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_rmclass.c
394LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_rio.c
395LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_subr.c
396LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_cdnr.c
397LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_priq.c
398LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_cbq.c
399LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_hfsc.c
400LIB_C_FILES += freebsd/sys/contrib/altq/altq/altq_red.c
401LIB_C_FILES += freebsd/sys/contrib/pf/netinet/in4_cksum.c
402LIB_C_FILES += freebsd/sys/contrib/pf/net/pf.c
403LIB_C_FILES += freebsd/sys/contrib/pf/net/if_pflog.c
404LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_subr.c
405LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_ioctl.c
406LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_table.c
407LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_if.c
408LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_osfp.c
409LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_norm.c
410LIB_C_FILES += freebsd/sys/contrib/pf/net/pf_ruleset.c
411LIB_C_FILES += freebsd/sys/contrib/pf/net/if_pfsync.c
412LIB_C_FILES += freebsd/sys/dev/mii/mii.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/brgphy.c
416LIB_C_FILES += freebsd/sys/dev/usb/usb_busdma.c
417LIB_C_FILES += freebsd/sys/dev/usb/usb_core.c
418LIB_C_FILES += freebsd/sys/dev/usb/usb_debug.c
419LIB_C_FILES += freebsd/sys/dev/usb/usb_dev.c
420LIB_C_FILES += freebsd/sys/dev/usb/usb_device.c
421LIB_C_FILES += freebsd/sys/dev/usb/usb_dynamic.c
422LIB_C_FILES += freebsd/sys/dev/usb/usb_error.c
423LIB_C_FILES += freebsd/sys/dev/usb/usb_generic.c
424LIB_C_FILES += freebsd/sys/dev/usb/usb_handle_request.c
425LIB_C_FILES += freebsd/sys/dev/usb/usb_hid.c
426LIB_C_FILES += freebsd/sys/dev/usb/usb_hub.c
427LIB_C_FILES += freebsd/sys/dev/usb/usb_lookup.c
428LIB_C_FILES += freebsd/sys/dev/usb/usb_mbuf.c
429LIB_C_FILES += freebsd/sys/dev/usb/usb_msctest.c
430LIB_C_FILES += freebsd/sys/dev/usb/usb_parse.c
431LIB_C_FILES += freebsd/sys/dev/usb/usb_process.c
432LIB_C_FILES += freebsd/sys/dev/usb/usb_request.c
433LIB_C_FILES += freebsd/sys/dev/usb/usb_transfer.c
434LIB_C_FILES += freebsd/sys/dev/usb/usb_util.c
435LIB_C_FILES += freebsd/sys/dev/usb/quirk/usb_quirk.c
436LIB_C_FILES += freebsd/sys/dev/usb/controller/ohci.c
437LIB_C_FILES += freebsd/sys/dev/usb/controller/ehci.c
438LIB_C_FILES += freebsd/sys/dev/usb/controller/usb_controller.c
439LIB_C_FILES += freebsd/sys/cam/cam.c
440LIB_C_FILES += freebsd/sys/cam/scsi/scsi_all.c
441LIB_C_FILES += freebsd/sys/dev/usb/storage/umass.c
442LIB_C_FILES += freebsd/sys/dev/pci/pci.c
443LIB_C_FILES += freebsd/sys/dev/pci/pci_user.c
444LIB_C_FILES += freebsd/sys/dev/pci/pci_pci.c
445ifeq ($(RTEMS_CPU), arm)
446LIB_C_FILES += freebsd/sys/arm/pci/pci_bus.c
447LIB_C_FILES += freebsd/sys/arm/arm/legacy.c
448NEED_DUMMY_PIC_IRQ=no
449endif
450ifeq ($(RTEMS_CPU), avr)
451LIB_C_FILES += freebsd/sys/avr/pci/pci_bus.c
452LIB_C_FILES += freebsd/sys/avr/avr/legacy.c
453endif
454ifeq ($(RTEMS_CPU), bfin)
455LIB_C_FILES += freebsd/sys/bfin/pci/pci_bus.c
456LIB_C_FILES += freebsd/sys/bfin/bfin/legacy.c
457endif
458ifeq ($(RTEMS_CPU), h8300)
459LIB_C_FILES += freebsd/sys/h8300/pci/pci_bus.c
460LIB_C_FILES += freebsd/sys/h8300/h8300/legacy.c
461endif
462ifeq ($(RTEMS_CPU), i386)
463LIB_C_FILES += freebsd/sys/i386/pci/pci_bus.c
464LIB_C_FILES += freebsd/sys/i386/i386/legacy.c
465NEED_DUMMY_PIC_IRQ=no
466endif
467ifeq ($(RTEMS_CPU), lm32)
468LIB_C_FILES += freebsd/sys/lm32/pci/pci_bus.c
469LIB_C_FILES += freebsd/sys/lm32/lm32/legacy.c
470NEED_DUMMY_PIC_IRQ=no
471endif
472ifeq ($(RTEMS_CPU), m32c)
473LIB_C_FILES += freebsd/sys/m32c/pci/pci_bus.c
474LIB_C_FILES += freebsd/sys/m32c/m32c/legacy.c
475endif
476ifeq ($(RTEMS_CPU), m32r)
477LIB_C_FILES += freebsd/sys/m32r/pci/pci_bus.c
478LIB_C_FILES += freebsd/sys/m32r/m32r/legacy.c
479endif
480ifeq ($(RTEMS_CPU), m68k)
481LIB_C_FILES += freebsd/sys/m68k/pci/pci_bus.c
482LIB_C_FILES += freebsd/sys/m68k/m68k/legacy.c
483endif
484ifeq ($(RTEMS_CPU), mips)
485LIB_C_FILES += freebsd/sys/mips/pci/pci_bus.c
486LIB_C_FILES += freebsd/sys/mips/mips/legacy.c
487NEED_DUMMY_PIC_IRQ=no
488endif
489ifeq ($(RTEMS_CPU), nios2)
490LIB_C_FILES += freebsd/sys/nios2/pci/pci_bus.c
491LIB_C_FILES += freebsd/sys/nios2/nios2/legacy.c
492endif
493ifeq ($(RTEMS_CPU), powerpc)
494LIB_C_FILES += freebsd/sys/powerpc/pci/pci_bus.c
495LIB_C_FILES += freebsd/sys/powerpc/powerpc/legacy.c
496NEED_DUMMY_PIC_IRQ=no
497endif
498ifeq ($(RTEMS_CPU), sh)
499LIB_C_FILES += freebsd/sys/sh/pci/pci_bus.c
500LIB_C_FILES += freebsd/sys/sh/sh/legacy.c
501endif
502ifeq ($(RTEMS_CPU), sparc)
503LIB_C_FILES += freebsd/sys/sparc/pci/pci_bus.c
504LIB_C_FILES += freebsd/sys/sparc/sparc/legacy.c
505NEED_DUMMY_PIC_IRQ=no
506endif
507ifeq ($(RTEMS_CPU), sparc64)
508LIB_C_FILES += freebsd/sys/sparc64/pci/pci_bus.c
509LIB_C_FILES += freebsd/sys/sparc64/sparc64/legacy.c
510endif
511ifeq ($(RTEMS_CPU), v850)
512LIB_C_FILES += freebsd/sys/v850/pci/pci_bus.c
513LIB_C_FILES += freebsd/sys/v850/v850/legacy.c
514endif
515LIB_C_FILES += freebsd/sys/dev/random/harvest.c
516LIB_C_FILES += freebsd/sys/netinet/tcp_hostcache.c
517LIB_C_FILES += freebsd/sys/dev/led/led.c
518LIB_C_FILES += freebsd/sys/netatalk/aarp.c
519LIB_C_FILES += freebsd/sys/netatalk/at_control.c
520LIB_C_FILES += freebsd/sys/netatalk/at_rmx.c
521LIB_C_FILES += freebsd/sys/netatalk/ddp_input.c
522LIB_C_FILES += freebsd/sys/netatalk/ddp_pcb.c
523LIB_C_FILES += freebsd/sys/netatalk/ddp_usrreq.c
524LIB_C_FILES += freebsd/sys/netatalk/at_proto.c
525LIB_C_FILES += freebsd/sys/netatalk/ddp_output.c
526LIB_C_FILES += freebsd/sys/dev/re/if_re.c
527LIB_C_FILES += freebsd/sys/dev/fxp/if_fxp.c
528LIB_C_FILES += freebsd/sys/dev/e1000/e1000_80003es2lan.c
529LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82542.c
530LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82575.c
531LIB_C_FILES += freebsd/sys/dev/e1000/e1000_mac.c
532LIB_C_FILES += freebsd/sys/dev/e1000/e1000_nvm.c
533LIB_C_FILES += freebsd/sys/dev/e1000/e1000_vf.c
534LIB_C_FILES += freebsd/sys/dev/e1000/if_lem.c
535LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82540.c
536LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82543.c
537LIB_C_FILES += freebsd/sys/dev/e1000/e1000_api.c
538LIB_C_FILES += freebsd/sys/dev/e1000/e1000_manage.c
539LIB_C_FILES += freebsd/sys/dev/e1000/e1000_osdep.c
540LIB_C_FILES += freebsd/sys/dev/e1000/if_em.c
541LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82541.c
542LIB_C_FILES += freebsd/sys/dev/e1000/e1000_82571.c
543LIB_C_FILES += freebsd/sys/dev/e1000/e1000_ich8lan.c
544LIB_C_FILES += freebsd/sys/dev/e1000/e1000_mbx.c
545LIB_C_FILES += freebsd/sys/dev/e1000/e1000_phy.c
546LIB_C_FILES += freebsd/sys/dev/e1000/if_igb.c
547LIB_C_FILES += freebsd/sys/dev/dc/dcphy.c
548LIB_C_FILES += freebsd/sys/dev/dc/if_dc.c
549LIB_C_FILES += freebsd/sys/dev/dc/pnphy.c
550LIB_C_FILES += freebsd/sys/dev/smc/if_smc.c
551LIB_C_FILES += freebsd/sys/dev/bce/if_bce.c
552LIB_C_FILES += freebsd/sys/dev/bfe/if_bfe.c
553LIB_C_FILES += freebsd/sys/dev/bge/if_bge.c
554ifeq ($(RTEMS_CPU), arm)
555LIB_C_FILES += freebsd/sys/arm/arm/in_cksum.c
556NEED_DUMMY_PIC_IRQ=no
557endif
558ifeq ($(RTEMS_CPU), avr)
559LIB_C_FILES += freebsd/sys/avr/avr/in_cksum.c
560endif
561ifeq ($(RTEMS_CPU), bfin)
562LIB_C_FILES += freebsd/sys/bfin/bfin/in_cksum.c
563endif
564ifeq ($(RTEMS_CPU), h8300)
565LIB_C_FILES += freebsd/sys/h8300/h8300/in_cksum.c
566endif
567ifeq ($(RTEMS_CPU), i386)
568LIB_C_FILES += freebsd/sys/i386/i386/in_cksum.c
569NEED_DUMMY_PIC_IRQ=no
570endif
571ifeq ($(RTEMS_CPU), lm32)
572LIB_C_FILES += freebsd/sys/lm32/lm32/in_cksum.c
573NEED_DUMMY_PIC_IRQ=no
574endif
575ifeq ($(RTEMS_CPU), m32c)
576LIB_C_FILES += freebsd/sys/m32c/m32c/in_cksum.c
577endif
578ifeq ($(RTEMS_CPU), m32r)
579LIB_C_FILES += freebsd/sys/m32r/m32r/in_cksum.c
580endif
581ifeq ($(RTEMS_CPU), m68k)
582LIB_C_FILES += freebsd/sys/m68k/m68k/in_cksum.c
583endif
584ifeq ($(RTEMS_CPU), mips)
585LIB_C_FILES += freebsd/sys/mips/mips/in_cksum.c
586NEED_DUMMY_PIC_IRQ=no
587endif
588ifeq ($(RTEMS_CPU), nios2)
589LIB_C_FILES += freebsd/sys/nios2/nios2/in_cksum.c
590endif
591ifeq ($(RTEMS_CPU), powerpc)
592LIB_C_FILES += freebsd/sys/powerpc/powerpc/in_cksum.c
593NEED_DUMMY_PIC_IRQ=no
594endif
595ifeq ($(RTEMS_CPU), sh)
596LIB_C_FILES += freebsd/sys/sh/sh/in_cksum.c
597endif
598ifeq ($(RTEMS_CPU), sparc)
599LIB_C_FILES += freebsd/sys/sparc/sparc/in_cksum.c
600LIB_C_FILES += freebsd/sys/mips/mips/in_cksum.c
601NEED_DUMMY_PIC_IRQ=no
602endif
603ifeq ($(RTEMS_CPU), sparc64)
604LIB_C_FILES += freebsd/sys/sparc64/sparc64/in_cksum.c
605endif
606ifeq ($(RTEMS_CPU), v850)
607LIB_C_FILES += freebsd/sys/v850/v850/in_cksum.c
608endif
609LIB_GEN_FILES += freebsd/include/rpc/rpcb_prot.h
610freebsd/include/rpc/rpcb_prot.h: freebsd/include/rpc/rpcb_prot.x
611                rm -f $@
612                rpcgen -h -o $@ $<
613LIB_GEN_FILES += freebsd/sbin/route/keywords.h
614freebsd/sbin/route/keywords.h: freebsd/sbin/route/keywords
615        sed -e '/^#/d' -e '/^$$/d' $< > freebsd/sbin/route/keywords.tmp
616        LC_ALL=C tr 'a-z' 'A-Z' < freebsd/sbin/route/keywords.tmp | paste freebsd/sbin/route/keywords.tmp - | \
617        awk '{ if (NF > 1) printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", $$2, NR, $$1, $$2 }' > $@
618        rm -f freebsd/sbin/route/keywords.tmp
619LIB_C_FILES += freebsd/lib/libc/db/btree/bt_close.c
620LIB_C_FILES += freebsd/lib/libc/db/btree/bt_conv.c
621LIB_C_FILES += freebsd/lib/libc/db/btree/bt_debug.c
622LIB_C_FILES += freebsd/lib/libc/db/btree/bt_delete.c
623LIB_C_FILES += freebsd/lib/libc/db/btree/bt_get.c
624LIB_C_FILES += freebsd/lib/libc/db/btree/bt_open.c
625LIB_C_FILES += freebsd/lib/libc/db/btree/bt_overflow.c
626LIB_C_FILES += freebsd/lib/libc/db/btree/bt_page.c
627LIB_C_FILES += freebsd/lib/libc/db/btree/bt_put.c
628LIB_C_FILES += freebsd/lib/libc/db/btree/bt_search.c
629LIB_C_FILES += freebsd/lib/libc/db/btree/bt_seq.c
630LIB_C_FILES += freebsd/lib/libc/db/btree/bt_split.c
631LIB_C_FILES += freebsd/lib/libc/db/btree/bt_utils.c
632LIB_C_FILES += freebsd/lib/libc/db/db/db.c
633LIB_C_FILES += freebsd/lib/libc/db/mpool/mpool.c
634LIB_C_FILES += freebsd/lib/libc/db/mpool/mpool-compat.c
635LIB_C_FILES += freebsd/lib/libc/db/recno/rec_close.c
636LIB_C_FILES += freebsd/lib/libc/db/recno/rec_delete.c
637LIB_C_FILES += freebsd/lib/libc/db/recno/rec_get.c
638LIB_C_FILES += freebsd/lib/libc/db/recno/rec_open.c
639LIB_C_FILES += freebsd/lib/libc/db/recno/rec_put.c
640LIB_C_FILES += freebsd/lib/libc/db/recno/rec_search.c
641LIB_C_FILES += freebsd/lib/libc/db/recno/rec_seq.c
642LIB_C_FILES += freebsd/lib/libc/db/recno/rec_utils.c
643LIB_C_FILES += freebsd/lib/libc/gen/err.c
644LIB_C_FILES += freebsd/lib/libc/gen/gethostname.c
645LIB_C_FILES += freebsd/lib/libc/inet/inet_addr.c
646LIB_C_FILES += freebsd/lib/libc/inet/inet_cidr_ntop.c
647LIB_C_FILES += freebsd/lib/libc/inet/inet_cidr_pton.c
648LIB_C_FILES += freebsd/lib/libc/inet/inet_lnaof.c
649LIB_C_FILES += freebsd/lib/libc/inet/inet_makeaddr.c
650LIB_C_FILES += freebsd/lib/libc/inet/inet_neta.c
651LIB_C_FILES += freebsd/lib/libc/inet/inet_net_ntop.c
652LIB_C_FILES += freebsd/lib/libc/inet/inet_netof.c
653LIB_C_FILES += freebsd/lib/libc/inet/inet_net_pton.c
654LIB_C_FILES += freebsd/lib/libc/inet/inet_network.c
655LIB_C_FILES += freebsd/lib/libc/inet/inet_ntoa.c
656LIB_C_FILES += freebsd/lib/libc/inet/inet_ntop.c
657LIB_C_FILES += freebsd/lib/libc/inet/inet_pton.c
658LIB_C_FILES += freebsd/lib/libc/inet/nsap_addr.c
659LIB_C_FILES += freebsd/lib/libc/isc/ev_streams.c
660LIB_C_FILES += freebsd/lib/libc/isc/ev_timers.c
661LIB_C_FILES += freebsd/lib/libc/nameser/ns_name.c
662LIB_C_FILES += freebsd/lib/libc/nameser/ns_netint.c
663LIB_C_FILES += freebsd/lib/libc/nameser/ns_parse.c
664LIB_C_FILES += freebsd/lib/libc/nameser/ns_print.c
665LIB_C_FILES += freebsd/lib/libc/nameser/ns_samedomain.c
666LIB_C_FILES += freebsd/lib/libc/nameser/ns_ttl.c
667LIB_C_FILES += freebsd/lib/libc/net/base64.c
668LIB_C_FILES += freebsd/lib/libc/net/ether_addr.c
669LIB_C_FILES += freebsd/lib/libc/net/gai_strerror.c
670LIB_C_FILES += freebsd/lib/libc/net/getaddrinfo.c
671LIB_C_FILES += freebsd/lib/libc/net/gethostbydns.c
672LIB_C_FILES += freebsd/lib/libc/net/gethostbyht.c
673LIB_C_FILES += freebsd/lib/libc/net/gethostbynis.c
674LIB_C_FILES += freebsd/lib/libc/net/gethostnamadr.c
675LIB_C_FILES += freebsd/lib/libc/net/getifaddrs.c
676LIB_C_FILES += freebsd/lib/libc/net/getifmaddrs.c
677LIB_C_FILES += freebsd/lib/libc/net/getnameinfo.c
678LIB_C_FILES += freebsd/lib/libc/net/getnetbydns.c
679LIB_C_FILES += freebsd/lib/libc/net/getnetbyht.c
680LIB_C_FILES += freebsd/lib/libc/net/getnetbynis.c
681LIB_C_FILES += freebsd/lib/libc/net/getnetnamadr.c
682LIB_C_FILES += freebsd/lib/libc/net/getproto.c
683LIB_C_FILES += freebsd/lib/libc/net/getprotoent.c
684LIB_C_FILES += freebsd/lib/libc/net/getprotoname.c
685LIB_C_FILES += freebsd/lib/libc/net/getservent.c
686LIB_C_FILES += freebsd/lib/libc/net/if_indextoname.c
687LIB_C_FILES += freebsd/lib/libc/net/if_nameindex.c
688LIB_C_FILES += freebsd/lib/libc/net/if_nametoindex.c
689LIB_C_FILES += freebsd/lib/libc/net/linkaddr.c
690LIB_C_FILES += freebsd/lib/libc/net/map_v4v6.c
691LIB_C_FILES += freebsd/lib/libc/net/name6.c
692LIB_C_FILES += freebsd/lib/libc/net/nsdispatch.c
693LIB_C_FILES += freebsd/lib/libc/net/rcmd.c
694LIB_C_FILES += freebsd/lib/libc/net/recv.c
695LIB_C_FILES += freebsd/lib/libc/net/send.c
696LIB_C_FILES += freebsd/lib/libc/net/vars.c
697LIB_C_FILES += freebsd/lib/libc/posix1e/mac.c
698LIB_C_FILES += freebsd/lib/libc/resolv/h_errno.c
699LIB_C_FILES += freebsd/lib/libc/resolv/herror.c
700LIB_C_FILES += freebsd/lib/libc/resolv/mtctxres.c
701LIB_C_FILES += freebsd/lib/libc/resolv/res_comp.c
702LIB_C_FILES += freebsd/lib/libc/resolv/res_data.c
703LIB_C_FILES += freebsd/lib/libc/resolv/res_debug.c
704LIB_C_FILES += freebsd/lib/libc/resolv/res_findzonecut.c
705LIB_C_FILES += freebsd/lib/libc/resolv/res_init.c
706LIB_C_FILES += freebsd/lib/libc/resolv/res_mkquery.c
707LIB_C_FILES += freebsd/lib/libc/resolv/res_mkupdate.c
708LIB_C_FILES += freebsd/lib/libc/resolv/res_query.c
709LIB_C_FILES += freebsd/lib/libc/resolv/res_send.c
710LIB_C_FILES += freebsd/lib/libc/resolv/res_state.c
711LIB_C_FILES += freebsd/lib/libc/resolv/res_update.c
712LIB_C_FILES += freebsd/lib/libc/stdio/fgetln.c
713LIB_C_FILES += freebsd/lib/libc/stdlib/strtonum.c
714LIB_C_FILES += freebsd/lib/libc/string/strsep.c
715LIB_C_FILES += freebsd/lib/libipsec/ipsec_dump_policy.c
716LIB_C_FILES += freebsd/lib/libipsec/ipsec_get_policylen.c
717LIB_C_FILES += freebsd/lib/libipsec/ipsec_strerror.c
718LIB_C_FILES += freebsd/lib/libipsec/pfkey.c
719LIB_C_FILES += freebsd/lib/libipsec/pfkey_dump.c
720LIB_C_FILES += freebsd/lib/libmemstat/memstat_all.c
721LIB_C_FILES += freebsd/lib/libmemstat/memstat.c
722LIB_C_FILES += freebsd/lib/libmemstat/memstat_malloc.c
723LIB_C_FILES += freebsd/lib/libmemstat/memstat_uma.c
724LIB_C_FILES += freebsd/lib/libutil/expand_number.c
725LIB_C_FILES += freebsd/lib/libutil/humanize_number.c
726LIB_C_FILES += freebsd/lib/libutil/trimdomain.c
727LIB_C_FILES += freebsd/sbin/dhclient/alloc.c
728LIB_C_FILES += freebsd/sbin/dhclient/bpf.c
729LIB_C_FILES += freebsd/sbin/dhclient/clparse.c
730LIB_C_FILES += freebsd/sbin/dhclient/conflex.c
731LIB_C_FILES += freebsd/sbin/dhclient/convert.c
732LIB_C_FILES += freebsd/sbin/dhclient/dhclient.c
733LIB_C_FILES += freebsd/sbin/dhclient/dispatch.c
734LIB_C_FILES += freebsd/sbin/dhclient/errwarn.c
735LIB_C_FILES += freebsd/sbin/dhclient/hash.c
736LIB_C_FILES += freebsd/sbin/dhclient/inet.c
737LIB_C_FILES += freebsd/sbin/dhclient/options.c
738LIB_C_FILES += freebsd/sbin/dhclient/packet.c
739LIB_C_FILES += freebsd/sbin/dhclient/parse.c
740LIB_C_FILES += freebsd/sbin/dhclient/privsep.c
741LIB_C_FILES += freebsd/sbin/dhclient/tables.c
742LIB_C_FILES += freebsd/sbin/dhclient/tree.c
743LIB_C_FILES += freebsd/sbin/ifconfig/af_atalk.c
744LIB_C_FILES += freebsd/sbin/ifconfig/af_inet6.c
745LIB_C_FILES += freebsd/sbin/ifconfig/af_inet.c
746LIB_C_FILES += freebsd/sbin/ifconfig/af_link.c
747LIB_C_FILES += freebsd/sbin/ifconfig/af_nd6.c
748LIB_C_FILES += freebsd/sbin/ifconfig/ifbridge.c
749LIB_C_FILES += freebsd/sbin/ifconfig/ifcarp.c
750LIB_C_FILES += freebsd/sbin/ifconfig/ifclone.c
751LIB_C_FILES += freebsd/sbin/ifconfig/ifconfig.c
752LIB_C_FILES += freebsd/sbin/ifconfig/ifgif.c
753LIB_C_FILES += freebsd/sbin/ifconfig/ifgre.c
754LIB_C_FILES += freebsd/sbin/ifconfig/ifgroup.c
755LIB_C_FILES += freebsd/sbin/ifconfig/iflagg.c
756LIB_C_FILES += freebsd/sbin/ifconfig/ifmac.c
757LIB_C_FILES += freebsd/sbin/ifconfig/ifmedia.c
758LIB_C_FILES += freebsd/sbin/ifconfig/ifpfsync.c
759LIB_C_FILES += freebsd/sbin/ifconfig/ifvlan.c
760LIB_C_FILES += freebsd/sbin/ping6/ping6.c
761LIB_C_FILES += freebsd/sbin/ping/ping.c
762LIB_C_FILES += freebsd/sbin/route/route.c
763LIB_C_FILES += freebsd/usr.bin/netstat/atalk.c
764LIB_C_FILES += freebsd/usr.bin/netstat/bpf.c
765LIB_C_FILES += freebsd/usr.bin/netstat/if.c
766LIB_C_FILES += freebsd/usr.bin/netstat/inet6.c
767LIB_C_FILES += freebsd/usr.bin/netstat/inet.c
768LIB_C_FILES += freebsd/usr.bin/netstat/ipsec.c
769LIB_C_FILES += freebsd/usr.bin/netstat/main.c
770LIB_C_FILES += freebsd/usr.bin/netstat/mbuf.c
771LIB_C_FILES += freebsd/usr.bin/netstat/mroute6.c
772LIB_C_FILES += freebsd/usr.bin/netstat/mroute.c
773LIB_C_FILES += freebsd/usr.bin/netstat/route.c
774LIB_C_FILES += freebsd/usr.bin/netstat/pfkey.c
775LIB_C_FILES += freebsd/usr.bin/netstat/sctp.c
776LIB_C_FILES += freebsd/usr.bin/netstat/unix.c
777
778TEST_RWLOCK01 = testsuite/rwlock01/rwlock01.exe
779TEST_RWLOCK01_O_FILES =
780TEST_RWLOCK01_D_FILES =
781TEST_RWLOCK01_O_FILES += testsuite/rwlock01/test_main.o
782TEST_RWLOCK01_D_FILES += testsuite/rwlock01/test_main.d
783$(TEST_RWLOCK01): $(TEST_RWLOCK01_O_FILES) $(LIB)
784        $(LINK.c) -Wl,-Map,testsuite/rwlock01/rwlock01.map $^ -lm -lz -o $@
785TESTS += $(TEST_RWLOCK01)
786O_FILES += $(TEST_RWLOCK01_O_FILES)
787D_FILES += $(TEST_RWLOCK01_D_FILES)
788RUN_TESTS += $(TEST_RWLOCK01)
789
790TEST_SLEEP01 = testsuite/sleep01/sleep01.exe
791TEST_SLEEP01_O_FILES =
792TEST_SLEEP01_D_FILES =
793TEST_SLEEP01_O_FILES += testsuite/sleep01/test_main.o
794TEST_SLEEP01_D_FILES += testsuite/sleep01/test_main.d
795$(TEST_SLEEP01): $(TEST_SLEEP01_O_FILES) $(LIB)
796        $(LINK.c) -Wl,-Map,testsuite/sleep01/sleep01.map $^ -lm -lz -o $@
797TESTS += $(TEST_SLEEP01)
798O_FILES += $(TEST_SLEEP01_O_FILES)
799D_FILES += $(TEST_SLEEP01_D_FILES)
800RUN_TESTS += $(TEST_SLEEP01)
801
802TEST_SYSCALLS01 = testsuite/syscalls01/syscalls01.exe
803TEST_SYSCALLS01_O_FILES =
804TEST_SYSCALLS01_D_FILES =
805TEST_SYSCALLS01_O_FILES += testsuite/syscalls01/test_main.o
806TEST_SYSCALLS01_D_FILES += testsuite/syscalls01/test_main.d
807$(TEST_SYSCALLS01): $(TEST_SYSCALLS01_O_FILES) $(LIB)
808        $(LINK.c) -Wl,-Map,testsuite/syscalls01/syscalls01.map $^ -lm -lz -o $@
809TESTS += $(TEST_SYSCALLS01)
810O_FILES += $(TEST_SYSCALLS01_O_FILES)
811D_FILES += $(TEST_SYSCALLS01_D_FILES)
812RUN_TESTS += $(TEST_SYSCALLS01)
813
814TEST_COMMANDS01 = testsuite/commands01/commands01.exe
815TEST_COMMANDS01_O_FILES =
816TEST_COMMANDS01_D_FILES =
817TEST_COMMANDS01_O_FILES += testsuite/commands01/test_main.o
818TEST_COMMANDS01_D_FILES += testsuite/commands01/test_main.d
819$(TEST_COMMANDS01): $(TEST_COMMANDS01_O_FILES) $(LIB)
820        $(LINK.c) -Wl,-Map,testsuite/commands01/commands01.map $^ -lm -lz -o $@
821TESTS += $(TEST_COMMANDS01)
822O_FILES += $(TEST_COMMANDS01_O_FILES)
823D_FILES += $(TEST_COMMANDS01_D_FILES)
824RUN_TESTS += $(TEST_COMMANDS01)
825
826TEST_USB01 = testsuite/usb01/usb01.exe
827TEST_USB01_O_FILES =
828TEST_USB01_D_FILES =
829TEST_USB01_O_FILES += testsuite/usb01/init.o
830TEST_USB01_D_FILES += testsuite/usb01/init.d
831TEST_USB01_O_FILES += testsuite/usb01/test-file-system.o
832TEST_USB01_D_FILES += testsuite/usb01/test-file-system.d
833$(TEST_USB01): $(TEST_USB01_O_FILES) $(LIB)
834        $(LINK.c) -Wl,-Map,testsuite/usb01/usb01.map $^ -lm -lz -o $@
835TESTS += $(TEST_USB01)
836O_FILES += $(TEST_USB01_O_FILES)
837D_FILES += $(TEST_USB01_D_FILES)
838
839TEST_LOOPBACK01 = testsuite/loopback01/loopback01.exe
840TEST_LOOPBACK01_O_FILES =
841TEST_LOOPBACK01_D_FILES =
842TEST_LOOPBACK01_O_FILES += testsuite/loopback01/test_main.o
843TEST_LOOPBACK01_D_FILES += testsuite/loopback01/test_main.d
844$(TEST_LOOPBACK01): $(TEST_LOOPBACK01_O_FILES) $(LIB)
845        $(LINK.c) -Wl,-Map,testsuite/loopback01/loopback01.map $^ -lm -lz -o $@
846TESTS += $(TEST_LOOPBACK01)
847O_FILES += $(TEST_LOOPBACK01_O_FILES)
848D_FILES += $(TEST_LOOPBACK01_D_FILES)
849RUN_TESTS += $(TEST_LOOPBACK01)
850
851TEST_NETSHELL01 = testsuite/netshell01/netshell01.exe
852TEST_NETSHELL01_O_FILES =
853TEST_NETSHELL01_D_FILES =
854TEST_NETSHELL01_O_FILES += testsuite/netshell01/test_main.o
855TEST_NETSHELL01_D_FILES += testsuite/netshell01/test_main.d
856TEST_NETSHELL01_O_FILES += testsuite/netshell01/shellconfig.o
857TEST_NETSHELL01_D_FILES += testsuite/netshell01/shellconfig.d
858TEST_NETSHELL01_O_FILES += testsuite/netshell01/ns_parser_vars.o
859TEST_NETSHELL01_D_FILES += testsuite/netshell01/ns_parser_vars.d
860$(TEST_NETSHELL01): $(TEST_NETSHELL01_O_FILES) $(LIB)
861        $(LINK.c) -Wl,-Map,testsuite/netshell01/netshell01.map $^ -lm -lz -o $@
862TESTS += $(TEST_NETSHELL01)
863O_FILES += $(TEST_NETSHELL01_O_FILES)
864D_FILES += $(TEST_NETSHELL01_D_FILES)
865
866TEST_SWI01 = testsuite/swi01/swi01.exe
867TEST_SWI01_O_FILES =
868TEST_SWI01_D_FILES =
869TEST_SWI01_O_FILES += testsuite/swi01/init.o
870TEST_SWI01_D_FILES += testsuite/swi01/init.d
871TEST_SWI01_O_FILES += testsuite/swi01/swi_test.o
872TEST_SWI01_D_FILES += testsuite/swi01/swi_test.d
873$(TEST_SWI01): $(TEST_SWI01_O_FILES) $(LIB)
874        $(LINK.c) -Wl,-Map,testsuite/swi01/swi01.map $^ -lm -lz -o $@
875TESTS += $(TEST_SWI01)
876O_FILES += $(TEST_SWI01_O_FILES)
877D_FILES += $(TEST_SWI01_D_FILES)
878RUN_TESTS += $(TEST_SWI01)
879
880TEST_TIMEOUT01 = testsuite/timeout01/timeout01.exe
881TEST_TIMEOUT01_O_FILES =
882TEST_TIMEOUT01_D_FILES =
883TEST_TIMEOUT01_O_FILES += testsuite/timeout01/init.o
884TEST_TIMEOUT01_D_FILES += testsuite/timeout01/init.d
885TEST_TIMEOUT01_O_FILES += testsuite/timeout01/timeout_test.o
886TEST_TIMEOUT01_D_FILES += testsuite/timeout01/timeout_test.d
887TEST_TIMEOUT01_O_FILES += testsuite/timeout01/timeout_helper.o
888TEST_TIMEOUT01_D_FILES += testsuite/timeout01/timeout_helper.d
889$(TEST_TIMEOUT01): $(TEST_TIMEOUT01_O_FILES) $(LIB)
890        $(LINK.c) -Wl,-Map,testsuite/timeout01/timeout01.map $^ -lm -lz -o $@
891TESTS += $(TEST_TIMEOUT01)
892O_FILES += $(TEST_TIMEOUT01_O_FILES)
893D_FILES += $(TEST_TIMEOUT01_D_FILES)
894RUN_TESTS += $(TEST_TIMEOUT01)
895
896TEST_INIT01 = testsuite/init01/init01.exe
897TEST_INIT01_O_FILES =
898TEST_INIT01_D_FILES =
899TEST_INIT01_O_FILES += testsuite/init01/test_main.o
900TEST_INIT01_D_FILES += testsuite/init01/test_main.d
901$(TEST_INIT01): $(TEST_INIT01_O_FILES) $(LIB)
902        $(LINK.c) -Wl,-Map,testsuite/init01/init01.map $^ -lm -lz -o $@
903TESTS += $(TEST_INIT01)
904O_FILES += $(TEST_INIT01_O_FILES)
905D_FILES += $(TEST_INIT01_D_FILES)
906RUN_TESTS += $(TEST_INIT01)
907
908TEST_THREAD01 = testsuite/thread01/thread01.exe
909TEST_THREAD01_O_FILES =
910TEST_THREAD01_D_FILES =
911TEST_THREAD01_O_FILES += testsuite/thread01/test_main.o
912TEST_THREAD01_D_FILES += testsuite/thread01/test_main.d
913$(TEST_THREAD01): $(TEST_THREAD01_O_FILES) $(LIB)
914        $(LINK.c) -Wl,-Map,testsuite/thread01/thread01.map $^ -lm -lz -o $@
915TESTS += $(TEST_THREAD01)
916O_FILES += $(TEST_THREAD01_O_FILES)
917D_FILES += $(TEST_THREAD01_D_FILES)
918RUN_TESTS += $(TEST_THREAD01)
919
920ifeq ($(NEED_DUMMY_PIC_IRQ),yes)
921CFLAGS += -I rtems-dummy-pic-irq/include
922endif
923LIB_O_FILES = $(LIB_C_FILES:%.c=%.o)
924O_FILES += $(LIB_O_FILES)
925D_FILES += $(LIB_C_FILES:%.c=%.d)
926
927all: $(LIB) $(TESTS)
928
929$(LIB): $(LIB_GEN_FILES) $(LIB_O_FILES)
930        $(AR) rcu $@ $^
931run_tests: $(RUN_TESTS)
932        $(TEST_RUNNER) $^
933        check_endof
934
935# The following targets use the MIPS Generic in_cksum routine
936rtemsbsd/include/machine/rtems-bsd-config.h: rtemsbsd/include/machine/rtems-bsd-config.h.in
937        sed $(SED_PATTERN) <$< >$@
938
939CPU_SED  = sed
940CPU_SED += -e '/arm/d'
941CPU_SED += -e '/i386/d'
942CPU_SED += -e '/powerpc/d'
943CPU_SED += -e '/mips/d'
944CPU_SED += -e '/sparc64/d'
945
946install: $(LIB)
947        install -d $(INSTALL_BASE)/include
948        install -c -m 644 $(LIB) $(INSTALL_BASE)
949        cd rtemsbsd; for i in `find freebsd -name '*.h'` ; do \
950          install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
951        cd contrib/altq; for i in `find freebsd -name '*.h'` ; do \
952          install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
953        cd contrib/pf; for i in `find freebsd -name '*.h'` ; do \
954          install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
955        for i in `find freebsd -name '*.h' | $(CPU_SED)` ; do \
956          install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
957        -cd freebsd/$(RTEMS_CPU)/include && for i in `find . -name '*.h'` ; do \
958          install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
959        -cd rtemsbsd/$(RTEMS_CPU)/include && \
960          for i in `find . -name '*.h' | $(CPU_SED)` ; do \
961            install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
962        -cd copied/rtemsbsd/$(RTEMS_CPU)/include && for i in `find . -name '*.h'` ; do \
963          install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
964
965clean:
966        rm -f $(LIB_GEN_FILES) $(LIB) $(TESTS) $(O_FILES) $(D_FILES)
967        rm -f libbsd.html
968
969-include $(D_FILES)
970
971doc: libbsd.html
972
973libbsd.html: libbsd.txt
974        asciidoc -o libbsd.html libbsd.txt
Note: See TracBrowser for help on using the repository browser.