1 ## Process this file with automake to generate Makefile.in
3 AUTOMAKE_OPTIONS = cygnus
5 INCLUDES = -I$(srcdir)/../include $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
7 LIB_SOURCES = addr2ascii.c ascii2addr.c base64.c bindresvport.c ether_addr.c getaddrinfo.c \
8 gethostbydns.c gethostbyht.c gethostbynis.c gethostnamadr.c \
9 getifaddrs.c getnameinfo.c \
10 getnetbydns.c getnetbyht.c getnetbynis.c getnetnamadr.c \
11 getproto.c getprotoent.c getprotoname.c getservbyname.c \
12 getservbyport.c getservent.c herror.c hesiod.c inet_addr.c \
13 ifname.c inet_lnaof.c \
14 inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c \
15 inet_netof.c inet_network.c inet_ntoa.c inet_ntop.c \
16 inet_pton.c innetgr-stub.c ip6opt.c issetugid-stub.c \
17 linkaddr.c map_v4v6.c namespace.h un-namespace.h \
19 ns_name.c ns_netint.c \
20 ns_ntoa.c ns_parse.c ns_print.c ns_ttl.c \
21 nsdispatch.c nslexer.c nsparser.c nsparser.h \
22 nsap_addr.c res_comp.c res_data.c res_debug.c \
23 res_init.c res_mkquery.c res_mkupdate.c res_query.c \
24 res_send.c res_update.c rthdr.c vars.c
39 LIB_OBJS = $(ELIX_4_OBJS)
44 libnet_la_LDFLAGS = -Xcompiler -nostdlib
45 libnet_la_CFLAGS = -DINET6
48 noinst_LTLIBRARIES = libnet.la
49 libnet_la_SOURCES = $(LIB_SOURCES)
50 libnet_la_LIBADD = $(LIB_OBJS)
51 libnet_la_DEPENDENCIES = $(LIB_OBJS)
52 noinst_DATA = objectlist.awk.in
54 noinst_LIBRARIES = lib.a
55 lib_a_SOURCES = $(LIB_SOURCES)
56 lib_a_LIBADD = $(LIB_OBJS)
57 lib_a_CFLAGS = $(AM_CFLAGS)
58 lib_a_DEPENDENCIES = $(LIB_OBJS)
62 include $(srcdir)/../../../../Makefile.shared
65 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/arpa; \
66 for i in $(srcdir)/../include/arpa/*.h; do \
67 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/arpa/`basename $$i`; \
69 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/net; \
70 for i in $(srcdir)/../include/net/*.h; do \
71 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/net/`basename $$i`; \
73 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet; \
74 for i in $(srcdir)/../include/netinet/*.h; do \
75 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet/`basename $$i`; \
77 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet6; \
78 for i in $(srcdir)/../include/netinet6/*.h; do \
79 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet6/`basename $$i`; \
81 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netns; \
82 for i in $(srcdir)/../include/netns/*.h; do \
83 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netns/`basename $$i`; \
85 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/rpc; \
86 for i in $(srcdir)/../include/rpc/*.h; do \
87 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/rpc/`basename $$i`; \