source: rtems/c/src/libnetworking/libc/Makefile.am @ 4bf1801

4.104.114.84.95
Last change on this file since 4bf1801 was 4bf1801, checked in by Joel Sherrill <joel.sherrill@…>, on 02/03/00 at 13:21:38

Patches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@…>
that contains the automake files for libnetworking plus a couple of
minor fixes. [Now only one unused/unsupported Makefile.in remains
(./c/src/lib/libbsp/hppa1.1/pxfl/Makefile.in).]

To apply:

patch -p1 < rtems-rc-20000118-7.diff
/bin/sh rtems-rc-20000118-7.rm
/bin/sh rtems-rc-20000118-7.add
./bootstrap

Notes:

  • I have tested this one by building all BSPs for m68k, powerpc, sh and unix with toolchains built since last weekend.
  • I did not touch libnetworking's directory layout.
  • Property mode set to 100644
File size: 2.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4 no-installman
6
7LIBNAME = lib.a
8LIB = $(ARCH)/$(LIBNAME)
9
10C_FILES = base64.c gethostbydns.c gethostbyht.c gethostbynis.c \
11    gethostnamadr.c getnetbydns.c getnetbyht.c getnetbynis.c getnetnamadr.c \
12    getproto.c getprotoent.c getprotoname.c getservbyname.c getservbyport.c \
13    getservent.c herror.c inet_addr.c inet_lnaof.c inet_makeaddr.c \
14    inet_network.c inet_ntoa.c inet_ntop.c inet_pton.c map_v4v6.c \
15    nsap_addr.c ns_name.c ns_netint.c ns_parse.c ns_print.c ns_ttl.c \
16    res_comp.c res_data.c res_debug.c res_init.c res_mkquery.c \
17    res_mkupdate.c res_query.c res_send.c res_stubs.c res_update.c strsep.c
18C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
19
20OBJS = $(C_O_FILES)
21
22include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
23include $(top_srcdir)/../../../automake/lib.am
24
25man_MANS = addr2ascii.3 byteorder.3 ethers.3 gethostbyname.3 getnetent.3 \
26    getprotoent.3 getservent.3 inet.3 iso_addr.3 linkaddr.3 ns.3 rcmd.3 \
27    resolver.3
28
29#
30# Add local stuff here using +=
31#
32
33AM_CPPFLAGS += -DNOPOLL -DNOSELECT
34AM_CPPFLAGS += -U__STRICT_ANSI__
35
36$(LIB): $(OBJS)
37        $(make-library)
38
39all-local: $(ARCH) $(OBJS) $(LIB)
40
41.PRECIOUS: $(LIB)
42
43EXTRA_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_network.c inet_ntoa.c inet_ntop.c inet_pton.c iso_addr.3 iso_addr.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
57include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.