source: rtems/cpukit/libnetworking/Makefile.am @ 87b133a

4.104.114.84.95
Last change on this file since 87b133a was 66e365f, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/05/05 at 10:32:53

2005-08-05 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am: Add libnetworking/memory.h
  • libnetworking/Makefile.am: Remove memory.h
  • Property mode set to 100644
File size: 6.6 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8CLEANFILES =
9DISTCLEANFILES =
10
11AM_CPPFLAGS += -I$(srcdir)
12
13EXTRA_DIST = README
14
15# poll is not supported
16UNUSED_FILES = poll.h
17# Original FreeBSD file
18UNUSED_FILES += sys/poll.h
19
20UNUSED_FILES += net/zlib.c net/zlib.h
21UNUSED_FILES += net/ppp.h net/ppp-deflate.c net/bsd-comp.c
22
23if HAS_NETWORKING
24# Add -DFORWARD_PROTOCOL to enable UDP forwarding -- requires missing net/pf.h
25libnetworking_CPPFLAGS = -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS \
26    -DDIAGNOSTIC -DBOOTP_COMPAT -D_KERNEL -D__BSD_VISIBLE
27
28noinst_LIBRARIES = libnetworking.a
29libnetworking_a_CPPFLAGS = $(AM_CPPFLAGS) $(libnetworking_CPPFLAGS)
30
31## poll.h is not in the list because RTEMS does not have poll()
32## and installing poll.h confuses autoconf.
33include_HEADERS = loop.h netdb.h
34include_HEADERS += resolv.h syslog.h
35
36libnetworking_a_SOURCES = opt_atalk.h opt_bdg.h opt_compat.h opt_inet6.h \
37    opt_inet.h opt_ipfw.h opt_ipx.h opt_mac.h opt_mrouting.h opt_netgraph.h \
38    opt_tcpdebug.h opt_ipsec.h
39libnetworking_a_SOURCES += bpfilter.h
40
41# arpa
42
43include_arpadir = $(includedir)/arpa
44
45include_arpa_HEADERS = arpa/ftp.h arpa/inet.h arpa/nameser.h \
46    arpa/nameser_compat.h
47
48## kern
49
50libnetworking_a_SOURCES += kern/kern_mib.c kern/kern_subr.c \
51    kern/kern_sysctl.c kern/uipc_domain.c kern/uipc_mbuf.c \
52    kern/uipc_socket.c kern/uipc_socket2.c
53
54## machine
55
56include_machinedir = $(includedir)/machine
57
58include_machine_HEADERS = machine/conf.h machine/cpu.h machine/cpufunc.h \
59    machine/endian.h machine/in_cksum.h machine/vmparam.h
60
61libnetworking_a_SOURCES += machine/limits.h
62
63## net
64
65include_netdir = $(includedir)/net
66
67include_net_HEADERS = net/bpf.h net/ethernet.h net/if.h net/if_arp.h \
68    net/if_dl.h net/if_llc.h net/if_ppp.h net/if_types.h net/if_var.h \
69    net/netisr.h net/ppp-comp.h net/ppp_defs.h net/radix.h net/raw_cb.h \
70    net/route.h net/if_pppvar.h net/pppcompress.h net/slcompress.h
71
72libnetworking_a_SOURCES += net/if.c net/if_ethersubr.c net/if_loop.c \
73    net/radix.c net/route.c net/rtsock.c net/raw_cb.c net/raw_usrreq.c \
74    net/if_ppp.c net/ppp_tty.c net/pppcompress.c net/slcompress.c
75
76## netinet
77
78include_netinetdir = $(includedir)/netinet
79
80include_netinet_HEADERS = netinet/icmp_var.h netinet/if_ether.h \
81    netinet/igmp.h netinet/igmp_var.h netinet/in.h netinet/in_pcb.h \
82    netinet/in_systm.h netinet/in_var.h netinet/ip.h netinet/ip_fw.h \
83    netinet/ip_icmp.h netinet/ip_mroute.h netinet/ip_var.h netinet/tcp.h \
84    netinet/tcp_debug.h netinet/tcp_fsm.h netinet/tcp_seq.h \
85    netinet/tcp_timer.h netinet/tcp_var.h netinet/tcpip.h netinet/udp.h \
86    netinet/udp_var.h
87
88libnetworking_a_SOURCES += netinet/if_ether.c netinet/igmp.c netinet/in.c \
89    netinet/in_cksum.c netinet/in_pcb.c netinet/in_proto.c netinet/in_rmx.c \
90    netinet/ip_divert.c netinet/ip_fw.c netinet/ip_icmp.c netinet/ip_input.c \
91    netinet/ip_mroute.c netinet/ip_output.c netinet/raw_ip.c \
92    netinet/tcp_debug.c netinet/tcp_input.c netinet/tcp_output.c \
93    netinet/tcp_subr.c netinet/tcp_timer.c netinet/tcp_usrreq.c \
94    netinet/udp_usrreq.c netinet/in_cksum_arm.h netinet/in_cksum_i386.h \
95    netinet/in_cksum_m68k.h netinet/in_cksum_powerpc.h
96
97## nfs
98
99include_nfsdir = $(includedir)/nfs
100
101include_nfs_HEADERS = nfs/krpc.h nfs/nfs.h nfs/nfsproto.h \
102    nfs/rpcv2.h nfs/xdr_subs.h
103
104libnetworking_a_SOURCES += nfs/bootp_subr.c
105
106## nfsclient
107include_nfsclientdir = $(includedir)/nfsclient
108
109include_nfsclient_HEADERS = nfsclient/nfsargs.h nfsclient/nfsdiskless.h
110
111## rtems
112
113include_rtemsdir = $(includedir)/rtems
114
115include_rtems_HEADERS = rtems/rtems_bsdnet.h rtems/rtems_bsdnet_internal.h \
116    rtems/dhcp.h rtems/tftp.h rtems/ftpfs.h rtems/mkrootfs.h
117
118libnetworking_a_SOURCES += rtems/sghostname.c rtems/issetugid.c \
119    rtems/rtems_glue.c rtems/rtems_syscall.c \
120    rtems/rtems_bootp.c rtems/rtems_dhcp.c \
121    rtems/rtems_showmbuf.c rtems/rtems_showroute.c rtems/rtems_showifstat.c \
122    rtems/rtems_showipstat.c rtems/rtems_showicmpstat.c \
123    rtems/rtems_showtcpstat.c rtems/rtems_showudpstat.c rtems/rtems_select.c \
124    rtems/mkrootfs.c rtems/rtems_bsdnet_malloc_starvation.c
125
126## sys
127
128include_sysdir = $(includedir)/sys
129
130include_sys_HEADERS = sys/buf.h sys/callout.h sys/conf.h sys/domain.h \
131    sys/kernel.h sys/libkern.h sys/linker_set.h sys/malloc.h sys/mbuf.h \
132    sys/mount.h sys/proc.h sys/protosw.h sys/queue.h sys/reboot.h \
133    sys/resourcevar.h sys/rtprio.h sys/select.h sys/signalvar.h sys/socket.h \
134    sys/socketvar.h sys/sysctl.h sys/syslog.h sys/systm.h sys/ttydefaults.h \
135    sys/ucred.h sys/uio.h sys/un.h
136
137# vm
138
139include_vmdir = $(includedir)/vm
140
141include_vm_HEADERS = vm/vm.h vm/vm_extern.h vm/vm_kern.h vm/vm_param.h
142
143## libc
144
145libc_CPPFLAGS = -DNOPOLL -DNOSELECT -D__BSD_VISIBLE
146
147noinst_LIBRARIES += libc.a
148libc_a_CPPFLAGS = $(AM_CPPFLAGS) $(libc_CPPFLAGS)
149
150libc_a_SOURCES = libc/addr2ascii.c libc/ascii2addr.c libc/base64.c \
151    libc/gethostbydns.c libc/gethostbyht.c libc/gethostbynis.c \
152    libc/gethostnamadr.c libc/getnetbydns.c libc/getnetbyht.c \
153    libc/getnetbynis.c libc/getnetnamadr.c libc/getproto.c \
154    libc/getprotoent.c libc/getprotoname.c libc/getservbyname.c \
155    libc/getservbyport.c libc/getservent.c libc/herror.c libc/inet_addr.c \
156    libc/inet_lnaof.c libc/inet_makeaddr.c libc/inet_netof.c \
157    libc/inet_network.c libc/inet_ntoa.c libc/inet_ntop.c libc/inet_pton.c \
158    libc/linkaddr.c libc/map_v4v6.c libc/nsap_addr.c libc/ns_name.c \
159    libc/ns_netint.c libc/ns_parse.c libc/ns_print.c libc/ns_ttl.c \
160    libc/res_comp.c libc/res_data.c libc/res_debug.c libc/res_init.c \
161    libc/res_mkquery.c libc/res_mkupdate.c libc/res_query.c libc/res_send.c \
162    libc/res_stubs.c libc/res_update.c libc/strsep.c libc/rcmd.c
163endif
164
165UNUSED_FILES += libc/ether_addr.c libc/gethostname.c libc/inet_neta.c \
166    libc/inet_net_ntop.c libc/inet_net_pton.c libc/iso_addr.c libc/ns_addr.c \
167    libc/ns_ntoa.c libc/recv.c libc/res_config.h libc/send.c
168
169libc_mans = libc/addr2ascii.3 libc/byteorder.3 libc/ethers.3 \
170    libc/gethostbyname.3 libc/getnetent.3 libc/getprotoent.3 \
171    libc/getservent.3 libc/inet.3 libc/iso_addr.3 libc/linkaddr.3 libc/ns.3 \
172    libc/rcmd.3 libc/resolver.3
173EXTRA_DIST += $(libc_mans)
174
175if HAS_NETWORKING
176man_MANS = $(libc_MANS)
177
178## lib
179
180EXTRA_DIST += lib/README
181
182lib_CPPFLAGS = -DNOPOLL -DNOSELECT
183
184noinst_LIBRARIES += lib.a
185lib_a_CPPFLAGS = $(AM_CPPFLAGS) $(lib_CPPFLAGS) -D__BSD_VISIBLE
186
187lib_a_SOURCES = lib/getprotoby.c lib/rtems_bsdnet_ntp.c lib/ftpfs.c \
188    lib/syslog.c lib/tftpDriver.c
189endif
190
191EXTRA_DIST += $(UNUSED_FILES)
192
193all-local: $(PREINSTALL_FILES)
194
195include $(srcdir)/preinstall.am
196
197include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.