source: trunk/libs/newlib/src/newlib/libc/sys/linux/net/Makefile.am

Last change on this file was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 3.3 KB
Line 
1## Process this file with automake to generate Makefile.in
2
3AUTOMAKE_OPTIONS = cygnus
4
5INCLUDES = -I$(srcdir)/../include -I$(srcdir)/.. $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
6
7GENERAL_SOURCES = addr2ascii.c ascii2addr.c alias-lookup.c \
8        base64.c check_pf.c digits_dots.c \
9        ether_aton.c ether_aton_r.c ether_hton.c \
10        ether_line.c ether_ntoa.c ether_ntoa_r.c ether_ntoh.c \
11        ethers-lookup.c getaddrinfo.c getaliasent.c \
12        getaliasent_r.c getaliasname.c getaliasname_r.c gethstbyad.c \
13        gethstbyad_r.c gethstbynm2.c gethstbynm2_r.c gethstbynm.c \
14        gethstbynm_r.c gethstent.c gethstent_r.c getnameinfo.c getnetbyad.c \
15        getnetbyad_r.c getnetbynm.c getnetbynm_r.c getnetent.c getnetent_r.c \
16        getnetgrent.c getnetgrent_r.c getnssent.c getnssent_r.c getproto.c \
17        getproto_r.c getprtent.c \
18        getprtent_r.c getprtname.c getprtname_r.c getrpcbyname.c \
19        getrpcbyname_r.c getrpcbynumber.c getrpcbynumber_r.c getrpcent.c \
20        getrpcent_r.c getservent.c getservent_r.c getsrvbynm.c getsrvbynm_r.c \
21        getsrvbypt.c getsrvbypt_r.c grp-lookup.c \
22        herrno.c hosts-lookup.c ifreq.c \
23        in6_addr.c inet6_option.c inet_addr.c \
24        inet_lnaof.c inet_mkadr.c inet_net.c inet_neta.c inet_netof.c \
25        inet_net_ntop.c inet_net_pton.c inet_ntoa.c inet_ntop.c \
26        inet_pton.c issetugid-stub.c key-lookup.c netgrp-lookup.c \
27        network-lookup.c nsswitch.c \
28        ns_name.c ns_netint.c ns_parse.c ns_print.c ns_samedomain.c \
29        ns_ttl.c nsap_addr.c proto-lookup.c opensock.c pwd-lookup.c recv.c \
30        res_comp.c res_data.c res_debug.c res_hconf.c res_init.c \
31        res_libc.c res_mkquery.c \
32        res_query.c res_send.c \
33        rexec.c rpc-lookup.c ruserpass.c send.c service-lookup.c spwd-lookup.c
34
35ELIX_4_SOURCES = \
36        ifname.c \
37        rcmd.$(oext) \
38        rcmdsh.$(oext)
39
40if ELIX_LEVEL_1
41ELIX_SOURCES =
42else
43if ELIX_LEVEL_2
44ELIX_SOURCES =
45else
46if ELIX_LEVEL_3
47ELIX_SOURCES =
48else
49ELIX_SOURCES = $(ELIX_4_SOURCES)
50endif
51endif
52endif
53
54libnet_la_LDFLAGS = -Xcompiler -nostdlib
55libnet_la_CFLAGS = -DINET6
56
57if USE_LIBTOOL
58noinst_LTLIBRARIES = libnet.la
59libnet_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
60noinst_DATA = objectlist.awk.in
61else
62noinst_LIBRARIES = lib.a
63lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
64lib_a_CFLAGS = $(AM_CFLAGS)
65noinst_DATA =
66endif # USE_LIBTOOL
67
68include $(srcdir)/../../../../Makefile.shared
69
70install-data-local:
71        $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/arpa; \
72        for i in $(srcdir)/../include/arpa/*.h; do \
73          $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/arpa/`basename $$i`; \
74        done; \
75        $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/net; \
76        for i in $(srcdir)/../include/net/*.h; do \
77          $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/net/`basename $$i`; \
78        done; \
79        $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet; \
80        for i in $(srcdir)/../include/netinet/*.h; do \
81          $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet/`basename $$i`; \
82        done; \
83        $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet6; \
84        for i in $(srcdir)/../include/netinet6/*.h; do \
85          $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet6/`basename $$i`; \
86        done; \
87        $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netns; \
88        for i in $(srcdir)/../include/netns/*.h; do \
89          $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netns/`basename $$i`; \
90        done; \
91        $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/rpc; \
92        for i in $(srcdir)/../include/rpc/*.h; do \
93          $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/rpc/`basename $$i`; \
94        done;
Note: See TracBrowser for help on using the repository browser.