libports: add needed files to libc-net

This commit is contained in:
Josef Söntgen 2012-07-12 13:39:31 +02:00 committed by Norman Feske
parent fba80f3fee
commit 34bfb70946
2 changed files with 13 additions and 6 deletions

View File

@ -4,11 +4,10 @@ LIBC_NET_DIR = $(LIBC_DIR)/libc/net
SRC_C = getservent.c nsdispatch.c nsparser.c nslexer.c
# needed for getaddrinfo()
#SRC_C += getaddrinfo.c
SRC_C += getaddrinfo.c
# getaddrinfo() includes parts of rpc/ which in return includes
# even more stuff from the rpc framework. For now the effort for
# getting this right is too much.
# needed for getnameinfo()
SRC_C += getnameinfo.c name6.c
# needed for gethostbyname()
SRC_C += gethostnamadr.c gethostbydns.c gethostbyht.c map_v4v6.c
@ -22,8 +21,14 @@ SRC_C += vars.c
# b64_ntop
SRC_C += base64.c
INC_DIR += $(REP_DIR)/include/libc/sys
SRC_C += rcmd.c rcmdsh.c
include $(REP_DIR)/lib/mk/libc-common.inc
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
vpath %.c $(LIBC_NET_DIR)

View File

@ -182,7 +182,9 @@ LIBC_IMPORT_INCLUDES += include/libc/vm/vm_param.h \
#
# Files coming from the sys/net directories
#
LIBC_IMPORT_INCLUDES += include/libc/net/if.h
LIBC_IMPORT_INCLUDES += include/libc/net/if.h \
include/libc/net/if_dl.h \
include/libc/net/if_types.h
#
# Files coming from the sys/netinet and sys/netinet6 directories