Move kvm library spec to Makefile.inc, so that it gets specified
after the ipf library, since the ipf library depends on some functions from the kvm library. Fixes a build problem observed when building for sun2 (though I won't claim understanding why this doesn't show up elsewhere).
This commit is contained in:
parent
58fa7a1588
commit
bf8f08004d
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.12 2004/03/29 04:39:59 lukem Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.13 2004/04/03 22:16:27 he Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -9,8 +9,8 @@ CPPFLAGS+= -I${NETBSDSRCDIR}/sys/netinet
|
|||
CPPFLAGS+= -DSTATETOP -D__UIO_EXPOSE
|
||||
|
||||
IPFOBJDIR!= cd $(.CURDIR)/../libipf && ${PRINTOBJDIR}
|
||||
DPADD+= ${IPFOBJDIR}/libipf.a
|
||||
LDADD+= -L${IPFOBJDIR} -lipf
|
||||
DPADD+= ${IPFOBJDIR}/libipf.a ${LIBKVM}
|
||||
LDADD+= -L${IPFOBJDIR} -lipf -lkvm
|
||||
|
||||
CLEANFILES+= y.tab.c y.tab.h
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
# $NetBSD: Makefile,v 1.17 2004/03/29 04:40:01 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.18 2004/04/03 22:16:27 he Exp $
|
||||
|
||||
NOGCCERROR= # defined
|
||||
|
||||
PROG= ipfstat
|
||||
SRCS= ipfstat.c
|
||||
MAN= ipfstat.8
|
||||
DPADD+= ${LIBCURSES} ${LIBKVM}
|
||||
LDADD+= -lcurses -lkvm
|
||||
DPADD+= ${LIBCURSES}
|
||||
LDADD+= -lcurses
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
# $NetBSD: Makefile,v 1.22 2004/03/31 00:34:32 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.23 2004/04/03 22:16:27 he Exp $
|
||||
|
||||
PROG= ipnat
|
||||
SRCS= ipnat.c ipnat_y.c ipnat_l.c
|
||||
MAN= ipnat.8 ipnat.4 ipnat.5
|
||||
MLINKS= ipnat.5 ipnat.conf.5
|
||||
DPADD+= ${LIBKVM}
|
||||
LDADD+= -lkvm
|
||||
CPPFLAGS+= -I.
|
||||
|
||||
DPSRCS+= ipnat_l.h ipnat_y.h
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.6 2004/03/31 00:34:32 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2004/04/03 22:16:27 he Exp $
|
||||
|
||||
PROG= ippool
|
||||
SRCS= ippool_y.c ippool_l.c kmem.c ippool.c
|
||||
MAN= ippool.8
|
||||
DPADD+= ${LIBKVM}
|
||||
LDADD+= -lkvm
|
||||
CPPFLAGS+= -I.
|
||||
|
||||
DPSRCS+= ippool_l.h ippool_y.h
|
||||
|
|
Loading…
Reference in New Issue