source: rtems/cpukit/libnetworking/Makefile.am @ eae4d147

Last change on this file since eae4d147 was eae4d147, checked in by Sebastian Huber <sebastian.huber@…>, on Sep 7, 2018 at 4:24:00 AM

network: Remove unused files

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