phunix/tests/lib/libc/net/Makefile
Lionel Sambuc 0a6a1f1d05 NetBSD re-synchronization of the source tree
This brings our tree to NetBSD 7.0, as found on -current on the
10-10-2015.

This updates:
 - LLVM to 3.6.1
 - GCC to GCC 5.1
 - Replace minix/commands/zdump with usr.bin/zdump
 - external/bsd/libelf has moved to /external/bsd/elftoolchain/
 - Import ctwm
 - Drop sprintf from libminc

Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
2016-01-13 20:32:14 +01:00

47 lines
978 B
Makefile

# $NetBSD: Makefile,v 1.10 2014/01/09 02:18:10 christos Exp $
.include <bsd.own.mk>
MKMAN= no
#LSC: Unsupported on MINIX
#TESTS_SUBDIRS+= getaddrinfo
FILES+=hosts resolv.conf
TESTSDIR= ${TESTSBASE}/lib/libc/net
TESTS_C+= t_getprotoent
#LSC: Unsupported on MINIX
#TESTS_C+= t_ether_aton
#SRCS.t_ether_aton= aton_ether_subr.c t_ether_aton.c
aton_ether_subr.c: gen_ether_subr ${NETBSDSRCDIR}/sys/net/if_ethersubr.c
${HOST_SH} ${.ALLSRC} ${.TARGET}
TESTS_SH+= t_nsdispatch
TESTS_SH+= t_protoent
TESTS_SH+= t_servent
TESTS_SH+= t_hostent
BINDIR= ${TESTSDIR}
#LSC: Unsupported on MINIX
#PROGS+= h_nsd_recurse
PROGS+= h_protoent
PROGS+= h_servent
PROGS+= h_hostent
PROGS+= h_dns_server
CPPFLAGS.h_hostent.c += -I${NETBSDSRCDIR}/lib/libc/net
# For easy debugging, without installing libc
#.PATH.c:${NETBSDSRCDIR}/lib/libc/net
#SRCS.h_hostent = h_hostent.c gethnamaddr.c
#DBG=-g3
LDADD.h_nsd_recurse+= -lpthread
CLEANFILES+= aton_ether_subr.c
.include <bsd.test.mk>