2003-09-23 09:39:41 +04:00
|
|
|
# $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.
|
1997-06-05 16:59:18 +04:00
|
|
|
|
2001-01-07 11:00:54 +03:00
|
|
|
.include <bsd.own.mk>
|
2000-10-27 15:49:23 +04:00
|
|
|
|
2001-01-07 11:00:54 +03:00
|
|
|
LIBINSTALL != cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
|
1999-08-19 18:37:36 +04:00
|
|
|
CPPFLAGS+=-I${.CURDIR}/../lib ${DEBUG} -DBINDIR='"${BINDIR}"'
|
1999-08-20 13:12:10 +04:00
|
|
|
|
2002-09-16 03:56:57 +04:00
|
|
|
# UNDER NO CIRCUMSTANCES SHOULD THIS MAKEFILE TEST THE OUTPUT OF uname!!
|
2002-09-16 04:12:54 +04:00
|
|
|
# DOING SO BREAKS CROSS COMPILING.
|
1999-08-20 18:34:34 +04:00
|
|
|
|
2002-10-17 07:31:33 +04:00
|
|
|
#CHMOD_CMD?= /bin/chmod
|
|
|
|
#CHOWN_CMD?= /usr/sbin/chown
|
|
|
|
#CHGRP_CMD?= /usr/bin/chgrp
|
2002-06-10 13:14:26 +04:00
|
|
|
WARNS=2
|
1999-08-20 13:12:10 +04:00
|
|
|
|
2002-10-17 07:31:33 +04:00
|
|
|
#CPPFLAGS+= -DCHMOD_CMD='"${CHMOD_CMD}"' -DCHOWN_CMD='"${CHOWN_CMD}"'
|
|
|
|
#CPPFLAGS+= -DCHGRP_CMD='"${CHGRP_CMD}"'
|
1999-08-23 14:34:53 +04:00
|
|
|
|
1997-10-17 18:53:18 +04:00
|
|
|
DPADD+= ${LIBINSTALL}/libinstall.a
|
2002-10-26 18:43:43 +04:00
|
|
|
LDADD+= -L${LIBINSTALL} -linstall -ltermcap
|
1997-10-17 16:03:36 +04:00
|
|
|
|
|
|
|
.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
|