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/libnetworking/libc | |
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 'c/src/libnetworking/libc')
-rw-r--r-- | c/src/libnetworking/libc/Makefile.am | 57 | ||||
-rw-r--r-- | c/src/libnetworking/libc/Makefile.in | 63 |
2 files changed, 57 insertions, 63 deletions
diff --git a/c/src/libnetworking/libc/Makefile.am b/c/src/libnetworking/libc/Makefile.am new file mode 100644 index 0000000000..57b2b412f2 --- /dev/null +++ b/c/src/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 diff --git a/c/src/libnetworking/libc/Makefile.in b/c/src/libnetworking/libc/Makefile.in deleted file mode 100644 index c7054f45bb..0000000000 --- a/c/src/libnetworking/libc/Makefile.in +++ /dev/null @@ -1,63 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = libc - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -LIBNAME = lib.a -LIB = ${ARCH}/${LIBNAME} - -# C and C++ source names, if any, go here -- minus the .c or .cc -C_PIECES = base64 gethostbydns gethostbyht gethostbynis gethostnamadr \ - getnetbydns getnetbyht getnetbynis getnetnamadr getproto getprotoent \ - getprotoname getservbyname getservbyport getservent herror inet_addr \ - inet_lnaof inet_makeaddr inet_network inet_ntoa inet_ntop inet_pton \ - map_v4v6 nsap_addr ns_name ns_netint ns_parse ns_print ns_ttl \ - res_comp res_data res_debug res_init res_mkquery res_mkupdate \ - res_query res_send res_stubs res_update strsep -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -SRCS = $(C_FILES) -OBJS = $(C_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/lib.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -# -# Add local stuff here using += -# - -DEFINES += -DNOPOLL -DNOSELECT -CPPFLAGS += -U__STRICT_ANSI__ -CFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += $(LIB) -CLOBBER_ADDITIONS += - -all: ${ARCH} $(LIB) - -$(LIB): $(SRCS) ${OBJS} - $(make-library) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |