1 |
30 |
unneback |
##
|
2 |
|
|
## $Id: Makefile.am,v 1.2 2001-09-27 12:01:53 chris Exp $
|
3 |
|
|
##
|
4 |
|
|
|
5 |
|
|
AUTOMAKE_OPTIONS = foreign 1.4 no-installman
|
6 |
|
|
|
7 |
|
|
LIBNAME = lib.a
|
8 |
|
|
LIB = $(ARCH)/$(LIBNAME)
|
9 |
|
|
|
10 |
|
|
C_FILES = addr2ascii.c ascii2addr.c base64.c gethostbydns.c gethostbyht.c \
|
11 |
|
|
gethostbynis.c gethostnamadr.c getnetbydns.c getnetbyht.c getnetbynis.c \
|
12 |
|
|
getnetnamadr.c getproto.c getprotoent.c getprotoname.c getservbyname.c \
|
13 |
|
|
getservbyport.c getservent.c herror.c inet_addr.c inet_lnaof.c \
|
14 |
|
|
inet_makeaddr.c inet_netof.c inet_network.c inet_ntoa.c inet_ntop.c \
|
15 |
|
|
inet_pton.c linkaddr.c map_v4v6.c nsap_addr.c ns_name.c ns_netint.c \
|
16 |
|
|
ns_parse.c ns_print.c ns_ttl.c res_comp.c res_data.c res_debug.c \
|
17 |
|
|
res_init.c res_mkquery.c res_mkupdate.c res_query.c res_send.c \
|
18 |
|
|
res_stubs.c res_update.c strsep.c
|
19 |
|
|
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
20 |
|
|
|
21 |
|
|
OBJS = $(C_O_FILES)
|
22 |
|
|
|
23 |
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
24 |
|
|
include $(top_srcdir)/../../../automake/lib.am
|
25 |
|
|
|
26 |
|
|
man_MANS = addr2ascii.3 byteorder.3 ethers.3 gethostbyname.3 getnetent.3 \
|
27 |
|
|
getprotoent.3 getservent.3 inet.3 iso_addr.3 linkaddr.3 ns.3 rcmd.3 \
|
28 |
|
|
resolver.3
|
29 |
|
|
|
30 |
|
|
#
|
31 |
|
|
# Add local stuff here using +=
|
32 |
|
|
#
|
33 |
|
|
|
34 |
|
|
AM_CPPFLAGS += -DNOPOLL -DNOSELECT -U__STRICT_ANSI__
|
35 |
|
|
|
36 |
|
|
$(LIB): $(OBJS)
|
37 |
|
|
$(make-library)
|
38 |
|
|
|
39 |
|
|
all-local: $(ARCH) $(OBJS) $(LIB)
|
40 |
|
|
|
41 |
|
|
.PRECIOUS: $(LIB)
|
42 |
|
|
|
43 |
|
|
EXTRA_DIST = addr2ascii.3 addr2ascii.c ascii2addr.c base64.c byteorder.3 \
|
44 |
|
|
ether_addr.c ethers.3 gethostbydns.c gethostbyht.c gethostbyname.3 \
|
45 |
|
|
gethostbynis.c gethostnamadr.c gethostname.c getnetbydns.c getnetbyht.c \
|
46 |
|
|
getnetbynis.c getnetent.3 getnetnamadr.c getproto.c getprotoent.3 \
|
47 |
|
|
getprotoent.c getprotoname.c getservbyname.c getservbyport.c \
|
48 |
|
|
getservent.3 getservent.c herror.c inet.3 inet_addr.c inet_lnaof.c \
|
49 |
|
|
inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c inet_netof.c \
|
50 |
|
|
inet_netof.c inet_network.c inet_ntoa.c inet_ntop.c inet_pton.c map_v4v6.c \
|
51 |
|
|
linkaddr.3 linkaddr.c map_v4v6.c ns.3 ns_addr.c ns_name.c ns_netint.c \
|
52 |
|
|
ns_ntoa.c ns_parse.c ns_print.c ns_ttl.c nsap_addr.c rcmd.3 rcmd.c \
|
53 |
|
|
recv.c res_comp.c res_config.h res_data.c res_debug.c res_init.c \
|
54 |
|
|
res_mkquery.c res_mkupdate.c res_query.c res_send.c res_stubs.c \
|
55 |
|
|
res_update.c resolver.3 send.c strsep.c
|
56 |
|
|
|
57 |
|
|
include $(top_srcdir)/../../../automake/local.am
|