source: rtems/cpukit/libnetworking/Makefile.am @ 2d0bc83

5
Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on 03/30/18 at 18:42:21

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

  • Property mode set to 100644
File size: 4.5 KB
Line 
1include $(top_srcdir)/automake/multilib.am
2include $(top_srcdir)/automake/compile.am
3
4
5# poll is not supported
6UNUSED_FILES = poll.h
7# Original FreeBSD file
8UNUSED_FILES += sys/poll.h
9
10
11if LIBNETWORKING
12# Add -DFORWARD_PROTOCOL to enable UDP forwarding -- requires missing net/pf.h
13libnetworking_CPPFLAGS = -DINET -DNFS \
14    -DDIAGNOSTIC -DBOOTP_COMPAT -D_KERNEL -D__BSD_VISIBLE
15
16noinst_LIBRARIES = libnetworking.a
17libnetworking_a_CPPFLAGS = $(AM_CPPFLAGS) $(libnetworking_CPPFLAGS)
18
19## poll.h is not in the list because RTEMS does not have poll()
20## and installing poll.h confuses autoconf.
21libnetworking_a_SOURCES = opt_atalk.h opt_bdg.h opt_compat.h opt_inet6.h \
22    opt_inet.h opt_ipfw.h opt_ipx.h opt_mac.h opt_mrouting.h opt_netgraph.h \
23    opt_tcpdebug.h opt_ipsec.h loop.h
24libnetworking_a_SOURCES += opt_ppp.h
25libnetworking_a_SOURCES += bpfilter.h
26
27# arpa
28
29## kern
30
31libnetworking_a_SOURCES += kern/kern_mib.c kern/kern_subr.c \
32    kern/kern_sysctl.c kern/uipc_domain.c kern/uipc_mbuf.c \
33    kern/uipc_socket.c kern/uipc_socket2.c
34
35## machine
36
37libnetworking_a_SOURCES += machine/limits.h
38
39## net
40
41libnetworking_a_SOURCES += net/if.c net/if_ethersubr.c net/if_loop.c \
42    net/radix.c net/route.c net/rtsock.c net/raw_cb.c net/raw_usrreq.c \
43    net/if_ppp.c net/ppp_tty.c net/slcompress.c
44
45## netinet
46
47libnetworking_a_SOURCES += netinet/if_ether.c netinet/igmp.c netinet/in.c \
48    netinet/in_cksum.c netinet/in_pcb.c netinet/in_proto.c netinet/in_rmx.c \
49    netinet/ip_divert.c netinet/ip_fw.c netinet/ip_icmp.c netinet/ip_input.c \
50    netinet/ip_mroute.c netinet/ip_output.c netinet/raw_ip.c \
51    netinet/tcp_debug.c netinet/tcp_input.c netinet/tcp_output.c \
52    netinet/tcp_subr.c netinet/tcp_timer.c netinet/tcp_usrreq.c \
53    netinet/udp_usrreq.c netinet/in_cksum_arm.h netinet/in_cksum_i386.h \
54    netinet/in_cksum_m68k.h netinet/in_cksum_powerpc.h
55
56## netinet6
57
58
59## nfs
60
61libnetworking_a_SOURCES += nfs/bootp_subr.c
62
63## nfsclient
64## rtems
65
66libnetworking_a_SOURCES += rtems/sghostname.c \
67    rtems/rtems_glue.c rtems/rtems_malloc_mbuf.c rtems/rtems_syscall.c \
68    rtems/rtems_bootp.c rtems/rtems_dhcp.c rtems/rtems_dhcp_failsafe.c \
69    rtems/rtems_showmbuf.c rtems/rtems_showroute.c rtems/rtems_showifstat.c \
70    rtems/rtems_showipstat.c rtems/rtems_showicmpstat.c \
71    rtems/rtems_showtcpstat.c rtems/rtems_showudpstat.c rtems/rtems_select.c \
72    rtems/mkrootfs.c rtems/rtems_bsdnet_malloc_starvation.c \
73    rtems/rtems_mii_ioctl.c rtems/rtems_mii_ioctl_kern.c \
74    rtems/rtems_socketpair.c
75
76## sys
77
78# vm
79
80# dev
81## libc
82
83libc_CPPFLAGS = -DNOPOLL -DNOSELECT -D__BSD_VISIBLE -D_THREAD_SAFE
84
85noinst_LIBRARIES += libc.a
86libc_a_CPPFLAGS = $(AM_CPPFLAGS) $(libc_CPPFLAGS)
87
88libc_a_SOURCES = libc/base64.c \
89    libc/gethostbydns.c libc/gethostbyht.c libc/gethostbynis.c \
90    libc/gethostnamadr.c libc/getnetbydns.c libc/getnetbyht.c \
91    libc/getnetbynis.c libc/getnetnamadr.c libc/getnameinfo.c libc/getproto.c \
92    libc/getprotoent.c libc/getprotoname.c libc/getservbyname.c \
93    libc/getservbyport.c libc/getservent.c libc/herror.c libc/inet_addr.c \
94    libc/inet_lnaof.c libc/inet_makeaddr.c libc/inet_netof.c \
95    libc/inet_network.c libc/inet_ntoa.c libc/inet_ntop.c libc/inet_pton.c \
96    libc/linkaddr.c libc/map_v4v6.c libc/nsap_addr.c libc/ns_name.c \
97    libc/ns_netint.c libc/ns_parse.c libc/ns_print.c libc/ns_ttl.c \
98    libc/res_comp.c libc/res_data.c libc/res_debug.c libc/res_init.c \
99    libc/res_mkquery.c libc/res_mkupdate.c libc/res_query.c libc/res_send.c \
100    libc/res_stubs.c libc/res_update.c libc/strsep.c libc/rcmd.c
101libc_a_SOURCES += libc/res_config.h
102libc_a_SOURCES += libc/send.c
103libc_a_SOURCES += libc/recv.c
104libc_a_SOURCES += libc/getifaddrs.c
105libc_a_SOURCES += libc/if_indextoname.c
106libc_a_SOURCES += libc/if_nameindex.c
107endif
108
109UNUSED_FILES += libc/ether_addr.c libc/gethostname.c libc/inet_neta.c \
110    libc/inet_net_ntop.c libc/inet_net_pton.c libc/ns_addr.c \
111    libc/ns_ntoa.c
112
113libc_mans = libc/byteorder.3 libc/ethers.3 \
114    libc/gethostbyname.3 libc/getnetent.3 libc/getprotoent.3 \
115    libc/getservent.3 libc/inet.3 libc/linkaddr.3 libc/ns.3 \
116    libc/rcmd.3 libc/resolver.3
117
118if LIBNETWORKING
119man_MANS = $(libc_MANS)
120
121## lib
122
123
124lib_CPPFLAGS = -DNOPOLL -DNOSELECT
125
126noinst_LIBRARIES += lib.a
127lib_a_CPPFLAGS = $(AM_CPPFLAGS) $(lib_CPPFLAGS) -D__BSD_VISIBLE
128
129lib_a_SOURCES = lib/getprotoby.c lib/rtems_bsdnet_ntp.c lib/ftpfs.c \
130    lib/syslog.c lib/tftpDriver.c
131lib_a_SOURCES += rtems/rtems_syscall_api.c
132endif
133
134
135include $(top_srcdir)/automake/local.am
136if LIBNETWORKING
137include $(srcdir)/headers.am
138endif
Note: See TracBrowser for help on using the repository browser.