1 |
207 |
jeremybenn |
## Process this file with automake to generate Makefile.in
|
2 |
|
|
|
3 |
|
|
AUTOMAKE_OPTIONS = cygnus
|
4 |
|
|
|
5 |
|
|
INCLUDES = -I$(srcdir)/../include -I$(srcdir)/.. $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
6 |
|
|
|
7 |
|
|
GENERAL_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 |
|
|
|
35 |
|
|
ELIX_4_SOURCES = \
|
36 |
|
|
ifname.c \
|
37 |
|
|
rcmd.$(oext) \
|
38 |
|
|
rcmdsh.$(oext)
|
39 |
|
|
|
40 |
|
|
if ELIX_LEVEL_1
|
41 |
|
|
ELIX_SOURCES =
|
42 |
|
|
else
|
43 |
|
|
if ELIX_LEVEL_2
|
44 |
|
|
ELIX_SOURCES =
|
45 |
|
|
else
|
46 |
|
|
if ELIX_LEVEL_3
|
47 |
|
|
ELIX_SOURCES =
|
48 |
|
|
else
|
49 |
|
|
ELIX_SOURCES = $(ELIX_4_SOURCES)
|
50 |
|
|
endif
|
51 |
|
|
endif
|
52 |
|
|
endif
|
53 |
|
|
|
54 |
|
|
libnet_la_LDFLAGS = -Xcompiler -nostdlib
|
55 |
|
|
libnet_la_CFLAGS = -DINET6
|
56 |
|
|
|
57 |
|
|
if USE_LIBTOOL
|
58 |
|
|
noinst_LTLIBRARIES = libnet.la
|
59 |
|
|
libnet_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
|
60 |
|
|
noinst_DATA = objectlist.awk.in
|
61 |
|
|
else
|
62 |
|
|
noinst_LIBRARIES = lib.a
|
63 |
|
|
lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
|
64 |
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
65 |
|
|
noinst_DATA =
|
66 |
|
|
endif # USE_LIBTOOL
|
67 |
|
|
|
68 |
|
|
include $(srcdir)/../../../../Makefile.shared
|
69 |
|
|
|
70 |
|
|
install-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;
|