minix/tests/lib/libc/net/Makefile
Lionel Sambuc 84d9c625bf Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
2014-07-28 17:05:06 +02:00

45 lines
943 B
Makefile

# $NetBSD: Makefile,v 1.8 2013/08/16 15:29:45 christos Exp $
.include <bsd.own.mk>
MKMAN= no
#LSC: Unsupported on MINIX
#TESTS_SUBDIRS+= getaddrinfo
FILES+=hosts
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
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>