diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-02-03 13:21:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-02-03 13:21:38 +0000 |
commit | 4bf1801d0d6fa7bcf7488f7f3cc5c39fafeac7d2 (patch) | |
tree | 5a28ef12908ea03bf2125df5b280ed1974dd02e5 /c/src/exec/libnetworking/libc/Makefile.am | |
parent | Fixed spelling errors. (diff) | |
download | rtems-4bf1801d0d6fa7bcf7488f7f3cc5c39fafeac7d2.tar.bz2 |
Patches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
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.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/libnetworking/libc/Makefile.am | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/c/src/exec/libnetworking/libc/Makefile.am b/c/src/exec/libnetworking/libc/Makefile.am new file mode 100644 index 0000000000..57b2b412f2 --- /dev/null +++ b/c/src/exec/libnetworking/libc/Makefile.am @@ -0,0 +1,57 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 no-installman + +LIBNAME = lib.a +LIB = $(ARCH)/$(LIBNAME) + +C_FILES = base64.c gethostbydns.c gethostbyht.c gethostbynis.c \ + gethostnamadr.c getnetbydns.c getnetbyht.c getnetbynis.c getnetnamadr.c \ + getproto.c getprotoent.c getprotoname.c getservbyname.c getservbyport.c \ + getservent.c herror.c inet_addr.c inet_lnaof.c inet_makeaddr.c \ + inet_network.c inet_ntoa.c inet_ntop.c inet_pton.c map_v4v6.c \ + nsap_addr.c ns_name.c ns_netint.c ns_parse.c ns_print.c ns_ttl.c \ + res_comp.c res_data.c res_debug.c res_init.c res_mkquery.c \ + res_mkupdate.c res_query.c res_send.c res_stubs.c res_update.c strsep.c +C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) + +OBJS = $(C_O_FILES) + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../automake/lib.am + +man_MANS = addr2ascii.3 byteorder.3 ethers.3 gethostbyname.3 getnetent.3 \ + getprotoent.3 getservent.3 inet.3 iso_addr.3 linkaddr.3 ns.3 rcmd.3 \ + resolver.3 + +# +# Add local stuff here using += +# + +AM_CPPFLAGS += -DNOPOLL -DNOSELECT +AM_CPPFLAGS += -U__STRICT_ANSI__ + +$(LIB): $(OBJS) + $(make-library) + +all-local: $(ARCH) $(OBJS) $(LIB) + +.PRECIOUS: $(LIB) + +EXTRA_DIST = addr2ascii.3 addr2ascii.c ascii2addr.c base64.c byteorder.3 \ + ether_addr.c ethers.3 gethostbydns.c gethostbyht.c gethostbyname.3 \ + gethostbynis.c gethostnamadr.c gethostname.c getnetbydns.c getnetbyht.c \ + getnetbynis.c getnetent.3 getnetnamadr.c getproto.c getprotoent.3 \ + getprotoent.c getprotoname.c getservbyname.c getservbyport.c \ + getservent.3 getservent.c herror.c inet.3 inet_addr.c inet_lnaof.c \ + inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c inet_netof.c \ + inet_network.c inet_ntoa.c inet_ntop.c inet_pton.c iso_addr.3 iso_addr.c \ + linkaddr.3 linkaddr.c map_v4v6.c ns.3 ns_addr.c ns_name.c ns_netint.c \ + ns_ntoa.c ns_parse.c ns_print.c ns_ttl.c nsap_addr.c rcmd.3 rcmd.c \ + recv.c res_comp.c res_config.h res_data.c res_debug.c res_init.c \ + res_mkquery.c res_mkupdate.c res_query.c res_send.c res_stubs.c \ + res_update.c resolver.3 send.c strsep.c + +include $(top_srcdir)/../../../automake/local.am |