summaryrefslogtreecommitdiff
path: root/libc/inet/Makefile.in
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-17 03:31:47 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-17 03:31:47 +0000
commit64933f2dc517eab440c4242234f079127e1f15a7 (patch)
treee47687e9081738291b381f88af14c9e40b0355af /libc/inet/Makefile.in
parent94cec9a5ee5301bf5d65b9ed7c93b8b74510a187 (diff)
resolver: separate gethostent and gethostent_r into two .o files;
delete two stray files which compile to nothing
Diffstat (limited to 'libc/inet/Makefile.in')
-rw-r--r--libc/inet/Makefile.in27
1 files changed, 16 insertions, 11 deletions
diff --git a/libc/inet/Makefile.in b/libc/inet/Makefile.in
index f6ee48f9d..b15f49e5f 100644
--- a/libc/inet/Makefile.in
+++ b/libc/inet/Makefile.in
@@ -12,7 +12,7 @@ INET_OUT := $(top_builddir)libc/inet
CSRC :=
ifneq ($(UCLIBC_HAS_CRYPT_IMPL)$(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6),)
-# des uses nthol
+# des uses ntohl
CSRC += ntohl.c
endif
ifneq ($(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6),)
@@ -25,21 +25,25 @@ CSRC += in6_addr.c
endif
# multi source addr.c
-addr_CSRC := inet_aton.c inet_addr.c inet_ntoa.c inet_makeaddr.c \
+addr_CSRC := \
+ inet_aton.c inet_addr.c inet_ntoa.c inet_makeaddr.c \
inet_lnaof.c inet_netof.c
ifneq ($(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6),)
CSRC += $(addr_CSRC)
endif
# multi source resolv.c
-resolv_CSRC += encodeh.c decodeh.c encoded.c decoded.c lengthd.c encodeq.c \
- decodeq.c lengthq.c encodea.c decodea.c \
- dnslookup.c resolveaddress.c opennameservers.c \
- closenameservers.c resolvename.c gethostbyname.c res_init.c \
- res_query.c gethostbyaddr.c read_etc_hosts_r.c get_hosts_byname_r.c \
- get_hosts_byaddr_r.c gethostbyname2.c getnameinfo.c gethostent.c \
- gethostbyname_r.c gethostbyname2_r.c gethostbyaddr_r.c \
- res_comp.c ns_name.c ethers.c
+resolv_CSRC += \
+ encodeh.c decodeh.c encoded.c decoded.c lengthd.c \
+ encodeq.c decodeq.c lengthq.c encodea.c decodea.c \
+ dnslookup.c opennameservers.c closenameservers.c \
+ read_etc_hosts_r.c get_hosts_byaddr_r.c get_hosts_byname_r.c \
+ getnameinfo.c \
+ gethostbyaddr_r.c gethostbyname_r.c gethostbyname2_r.c gethostent_r.c \
+ gethostbyaddr.c gethostbyname.c gethostbyname2.c gethostent.c \
+ res_init.c res_query.c res_comp.c ns_name.c \
+ ethers.c
+#FIXME! ethers.c is a separate file, not a part of resolv.c - !?
ifneq ($(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6),)
CSRC += $(resolv_CSRC)
@@ -49,7 +53,8 @@ endif
# multi source socketcalls.c
-socketcalls_CSRC += accept.c bind.c connect.c getpeername.c getsockname.c \
+socketcalls_CSRC += \
+ accept.c bind.c connect.c getpeername.c getsockname.c \
getsockopt.c listen.c recv.c recvfrom.c recvmsg.c send.c sendmsg.c \
sendto.c setsockopt.c shutdown.c socket.c socketpair.c
ifeq ($(UCLIBC_HAS_SOCKET),y)