NetBSD/usr.sbin/pkg_install/Makefile.inc

30 lines
789 B
PHP
Raw Normal View History

# $NetBSD: Makefile.inc,v 1.25 2003/09/23 05:39:41 grant Exp $
2000-10-25 19:55:44 +04:00
# Original from FreeBSD, no rcs id.
2001-01-07 11:00:54 +03:00
.include <bsd.own.mk>
2001-01-07 11:00:54 +03:00
LIBINSTALL != cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
CPPFLAGS+=-I${.CURDIR}/../lib ${DEBUG} -DBINDIR='"${BINDIR}"'
# UNDER NO CIRCUMSTANCES SHOULD THIS MAKEFILE TEST THE OUTPUT OF uname!!
2002-09-16 04:12:54 +04:00
# DOING SO BREAKS CROSS COMPILING.
#CHMOD_CMD?= /bin/chmod
#CHOWN_CMD?= /usr/sbin/chown
#CHGRP_CMD?= /usr/bin/chgrp
2002-06-10 13:14:26 +04:00
WARNS=2
#CPPFLAGS+= -DCHMOD_CMD='"${CHMOD_CMD}"' -DCHOWN_CMD='"${CHOWN_CMD}"'
#CPPFLAGS+= -DCHGRP_CMD='"${CHGRP_CMD}"'
1997-10-17 18:53:18 +04:00
DPADD+= ${LIBINSTALL}/libinstall.a
LDADD+= -L${LIBINSTALL} -linstall -ltermcap
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif
2000-09-01 08:34:03 +04:00
#CFLAGS+= -g
#STRIPFLAG= # unset
#LDFLAGS+= -L/usr/pkg/lib -lefence