2012-05-24 13:26:59 +00:00
|
|
|
LIBC_NET_DIR = $(LIBC_DIR)/libc/net
|
|
|
|
|
|
|
|
# needed for compiling getservbyname() and getservbyport()
|
|
|
|
SRC_C = getservent.c nsdispatch.c nsparser.c nslexer.c
|
|
|
|
|
|
|
|
# needed for getaddrinfo()
|
2012-07-12 11:39:31 +00:00
|
|
|
SRC_C += getaddrinfo.c
|
2012-05-24 13:26:59 +00:00
|
|
|
|
2012-07-12 11:39:31 +00:00
|
|
|
# needed for getnameinfo()
|
|
|
|
SRC_C += getnameinfo.c name6.c
|
2012-05-24 13:26:59 +00:00
|
|
|
|
|
|
|
# needed for gethostbyname()
|
|
|
|
SRC_C += gethostnamadr.c gethostbydns.c gethostbyht.c map_v4v6.c
|
|
|
|
|
|
|
|
# needed for getprotobyname()
|
|
|
|
SRC_C += getprotoent.c getprotoname.c
|
|
|
|
|
|
|
|
# defines in6addr_any
|
|
|
|
SRC_C += vars.c
|
|
|
|
|
|
|
|
# b64_ntop
|
|
|
|
SRC_C += base64.c
|
|
|
|
|
2012-07-12 11:39:31 +00:00
|
|
|
SRC_C += rcmd.c rcmdsh.c
|
2012-05-24 13:26:59 +00:00
|
|
|
|
|
|
|
include $(REP_DIR)/lib/mk/libc-common.inc
|
|
|
|
|
2012-07-12 11:39:31 +00:00
|
|
|
INC_DIR += $(REP_DIR)/include/libc
|
|
|
|
INC_DIR += $(REP_DIR)/include/libc/sys
|
|
|
|
|
|
|
|
# needed for name6.c, contains res_private.h
|
|
|
|
INC_DIR += $(LIBC_DIR)/libc/resolv
|
|
|
|
|
2012-05-24 13:26:59 +00:00
|
|
|
vpath %.c $(LIBC_NET_DIR)
|