Home | History | Annotate | Line # | Download | only in setkey
Makefile revision 1.3
      1  1.3   lukem # $NetBSD: Makefile,v 1.3 2002/08/19 10:17:00 lukem Exp $
      2  1.3   lukem 
      3  1.3   lukem .include <bsd.own.mk>
      4  1.1  itojun 
      5  1.1  itojun PROG=	setkey
      6  1.1  itojun SRCS=	setkey.c parse.y token.l
      7  1.1  itojun 
      8  1.1  itojun #CFLAGS+=-g
      9  1.1  itojun LDADD+=	-ll -ly
     10  1.1  itojun DPADD+=	${LIBL} ${LIBY}
     11  1.1  itojun CLEANFILES+=	y.tab.c y.tab.h key_test.o keytest
     12  1.2  itojun YHEADER=	yes
     13  1.1  itojun 
     14  1.1  itojun #SCRIPTS=	scriptdump
     15  1.1  itojun 
     16  1.1  itojun all: ${PROG} scriptdump
     17  1.1  itojun 
     18  1.1  itojun CPPFLAGS+=-DIPSEC_DEBUG -DINET6 -DYY_NO_UNPUT
     19  1.1  itojun CPPFLAGS+=-I. -I${.CURDIR}
     20  1.1  itojun LDADD+= -lipsec
     21  1.1  itojun DPADD+=	${LIBIPSEC}
     22  1.1  itojun CLEANFILES+=	scriptdump
     23  1.1  itojun 
     24  1.1  itojun # libpfkey.
     25  1.1  itojun # ipsec_strerror.c is for avoiding shlib reference to non-exported function.
     26  1.3   lukem .PATH: ${NETBSDSRCDIR}/lib/libipsec ${NETBSDSRCDIR}/sys/netkey
     27  1.1  itojun SRCS+= pfkey.c pfkey_dump.c key_debug.c ipsec_strerror.c
     28  1.3   lukem CPPFLAGS+=-I${NETBSDSRCDIR}/lib/libipsec -I${NETBSDSRCDIR}/sys/netkey
     29  1.1  itojun 
     30  1.1  itojun MAN=	setkey.8
     31  1.1  itojun LOCALPREFIX=	/usr/pkg
     32  1.1  itojun 
     33  1.1  itojun scriptdump: scriptdump.pl
     34  1.1  itojun 	sed -e 's#@LOCALPREFIX@#${LOCALPREFIX}#' < $> > scriptdump
     35  1.1  itojun 
     36  1.1  itojun .include <bsd.prog.mk>
     37