1 | ## |
---|
2 | ## $Id$ |
---|
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/compile.am |
---|
25 | include $(top_srcdir)/../../../automake/lib.am |
---|
26 | |
---|
27 | man_MANS = addr2ascii.3 byteorder.3 ethers.3 gethostbyname.3 getnetent.3 \ |
---|
28 | getprotoent.3 getservent.3 inet.3 iso_addr.3 linkaddr.3 ns.3 rcmd.3 \ |
---|
29 | resolver.3 |
---|
30 | |
---|
31 | # |
---|
32 | # Add local stuff here using += |
---|
33 | # |
---|
34 | |
---|
35 | AM_CPPFLAGS += -DNOPOLL -DNOSELECT |
---|
36 | |
---|
37 | $(LIB): $(OBJS) |
---|
38 | $(make-library) |
---|
39 | |
---|
40 | all-local: $(ARCH) $(OBJS) $(LIB) |
---|
41 | |
---|
42 | .PRECIOUS: $(LIB) |
---|
43 | |
---|
44 | EXTRA_DIST = addr2ascii.3 addr2ascii.c ascii2addr.c base64.c byteorder.3 \ |
---|
45 | ether_addr.c ethers.3 gethostbydns.c gethostbyht.c gethostbyname.3 \ |
---|
46 | gethostbynis.c gethostnamadr.c gethostname.c getnetbydns.c getnetbyht.c \ |
---|
47 | getnetbynis.c getnetent.3 getnetnamadr.c getproto.c getprotoent.3 \ |
---|
48 | getprotoent.c getprotoname.c getservbyname.c getservbyport.c \ |
---|
49 | getservent.3 getservent.c herror.c inet.3 inet_addr.c inet_lnaof.c \ |
---|
50 | inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c inet_netof.c \ |
---|
51 | inet_network.c inet_ntoa.c inet_ntop.c inet_pton.c map_v4v6.c linkaddr.3 \ |
---|
52 | linkaddr.c ns.3 ns_addr.c ns_name.c ns_netint.c ns_ntoa.c ns_parse.c \ |
---|
53 | ns_print.c ns_ttl.c nsap_addr.c rcmd.3 rcmd.c recv.c res_comp.c \ |
---|
54 | res_config.h res_data.c res_debug.c res_init.c res_mkquery.c \ |
---|
55 | res_mkupdate.c res_query.c res_send.c res_stubs.c res_update.c \ |
---|
56 | resolver.3 send.c strsep.c |
---|
57 | |
---|
58 | include $(top_srcdir)/../../../automake/local.am |
---|