Make this work on Solaris "out of the box"
This commit is contained in:
parent
1705bbe96b
commit
b41eccc5cd
|
@ -1,9 +1,21 @@
|
|||
# $NetBSD: Makefile.inc,v 1.6 1999/08/19 14:37:36 agc Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.7 1999/08/20 09:12:10 agc Exp $
|
||||
# Original from Freebsd, no rcs id.
|
||||
|
||||
LIBINSTALL != cd ${.CURDIR}/../lib;\
|
||||
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
|
||||
CPPFLAGS+=-I${.CURDIR}/../lib ${DEBUG} -DBINDIR='"${BINDIR}"'
|
||||
|
||||
.if ${OS} == "SunOS.5"
|
||||
.if exists(/etc/mk.conf)
|
||||
.include "/etc/mk.conf"
|
||||
.endif
|
||||
LOCALBASE?= /usr/local
|
||||
TAR_CMD?= gtar
|
||||
TAR_FULLPATHNAME?= ${LOCALBASE}/bin/${TAR_CMD}
|
||||
CPPFLAGS+=-DTAR_CMD='"${TAR_CMD}"' -DTAR_FULLPATHNAME='"${TAR_FULLPATHNAME}"'
|
||||
BINDIR=${LOCALBASE}/bsd/bin
|
||||
.endif
|
||||
|
||||
DPADD+= ${LIBINSTALL}/libinstall.a
|
||||
LDADD+= -L${LIBINSTALL} -linstall
|
||||
|
||||
|
|
Loading…
Reference in New Issue