Use PRINTOBJDIR.

This commit is contained in:
enami 2001-01-07 08:00:54 +00:00
parent e2173eff07
commit 270db080e9
11 changed files with 40 additions and 42 deletions

View File

@ -1,18 +1,17 @@
# $NetBSD: Makefile.inc,v 1.15 2000/11/21 02:03:26 wiz Exp $
# $NetBSD: Makefile.inc,v 1.16 2001/01/07 08:00:57 enami Exp $
WARNS?= 1
WFORMAT=2
.include <bsd.own.mk>
IDIST= ${.CURDIR}/../../../dist/am-utils
LIBAMUOBJDIR!=cd ${.CURDIR}/../libamu; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
LIBAMUOBJDIR!=cd ${.CURDIR}/../libamu && ${PRINTOBJDIR}
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../include -I${IDIST}/libamu \
-I${IDIST}/include -I${LIBAMUOBJDIR}
.include <bsd.own.mk>
.if !defined(LIB) || empty(LIB)
LDADD+= -L${LIBAMUOBJDIR} -lamu
.if ${MKPIC} == "no"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2000/11/20 00:24:42 wiz Exp $
# $NetBSD: Makefile,v 1.19 2001/01/07 08:00:54 enami Exp $
.include "${.CURDIR}/../Makefile.inc"
@ -22,8 +22,7 @@ SRCS= am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c amfs_host.c \
# info_ldap.c info_nisplus.c ops_cachefs.c ops_efs.c ops_lofs.c ops_xfs.c
MAN+= amd.8
AMDOBJDIR!=cd ${.CURDIR}; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
AMDOBJDIR!=cd ${.CURDIR} && ${PRINTOBJDIR}
CPPFLAGS+= -I${DIST} -I${AMDOBJDIR}
LDADD+= ${LIBAMU} -lrpcsvc

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2000/11/20 00:25:07 wiz Exp $
# $NetBSD: Makefile,v 1.17 2001/01/07 08:00:56 enami Exp $
.include "${.CURDIR}/../Makefile.inc"
@ -12,8 +12,7 @@ SRCS= fsi_analyze.c fsi_dict.c fsi_gram.c fsi_lex.c fsi_util.c fsinfo.c \
MAN+= fsinfo.8
FSINFOOBJDIR!=cd ${.CURDIR}; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
FSINFOOBJDIR!=cd ${.CURDIR} && ${PRINTOBJDIR}
CPPFLAGS+= -I${DIST} -I${FSINFOOBJDIR}
YHEADER= 1

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile.inc,v 1.7 2000/10/11 20:23:48 is Exp $
# $NetBSD: Makefile.inc,v 1.8 2001/01/07 08:00:57 enami Exp $
.include <bsd.own.mk>
WARNS=0
WFORMAT=2
@ -11,8 +13,6 @@ NAMED= named
PIDFILE= /var/run/named.pid
PS= ps
LIB_BIND!= cd ${BIND_DIR}/lib; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | \
${MAKE} -s -f -
LIB_BIND!= cd ${BIND_DIR}/lib && ${PRINTOBJDIR}
INCLUDE?= -I${LIB_BIND} -I${.OBJDIR} -I${BIND_DIST_DIR}/include
LIBRARY?= -L${LIB_BIND} -lbind

View File

@ -1,7 +1,8 @@
# $NetBSD: Makefile.inc,v 1.1 1998/03/15 01:13:25 lukem Exp $
# $NetBSD: Makefile.inc,v 1.2 2001/01/07 08:00:58 enami Exp $
LIBCOMMON != cd ${.CURDIR}/../common;\
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
.include <bsd.own.mk>
LIBCOMMON != cd ${.CURDIR}/../common && ${PRINTOBJDIR}
CPPFLAGS+=-I${.CURDIR}/../common
DPADD+= ${LIBCOMMON}/libcommon.a
LDADD+= -L${LIBCOMMON} -lcommon

View File

@ -32,12 +32,11 @@
WARNS?= 0
COBJDIR!=cd $(.CURDIR)/../common; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
OMOBJDIR!=cd $(.CURDIR)/../omapip; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
MROBJDIR!=cd $(.CURDIR)/../minires; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
.include <bsd.own.mk>
COBJDIR!=cd $(.CURDIR)/../common && ${PRINTOBJDIR}
OMOBJDIR!=cd $(.CURDIR)/../omapip && ${PRINTOBJDIR}
MROBJDIR!=cd $(.CURDIR)/../minires && ${PRINTOBJDIR}
CPPFLAGS+= -I${.CURDIR}/.. -I${.CURDIR}/../includes
LDADD= ${OMOBJDIR}/libomapi.a ${COBJDIR}/libdhcp.a ${MROBJDIR}/libminires.a

View File

@ -1,7 +1,8 @@
# $NetBSD: Makefile.inc,v 1.4 1997/10/25 06:58:19 lukem Exp $
# $NetBSD: Makefile.inc,v 1.5 2001/01/07 08:00:58 enami Exp $
LIBCOMMON != cd ${.CURDIR}/../common_source;\
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
.include <bsd.own.mk>
LIBCOMMON != cd ${.CURDIR}/../common_source && ${PRINTOBJDIR}
CPPFLAGS+=-I${.CURDIR}/../common_source
DPADD+= ${LIBCOMMON}/libcommon.a
LDADD+= -L${LIBCOMMON} -lcommon

View File

@ -1,7 +1,8 @@
# $NetBSD: Makefile.inc,v 1.8 1997/10/25 06:58:22 lukem Exp $
# $NetBSD: Makefile.inc,v 1.9 2001/01/07 08:00:58 enami Exp $
LIBCOMMON != cd ${.CURDIR}/../common;\
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
.include <bsd.own.mk>
LIBCOMMON != cd ${.CURDIR}/../common && ${PRINTOBJDIR}
CPPFLAGS+=-I${.CURDIR}/../common
DPADD+= ${LIBKVM} ${LIBCOMMON}/libcommon.a
LDADD+= -lkvm -L${LIBCOMMON} -lcommon

View File

@ -1,12 +1,9 @@
# $NetBSD: Makefile.inc,v 1.13 2000/10/27 11:49:23 hubertf Exp $
# $NetBSD: Makefile.inc,v 1.14 2001/01/07 08:00:58 enami Exp $
# Original from FreeBSD, no rcs id.
.if exists(/etc/mk.conf)
.include "/etc/mk.conf"
.endif
.include <bsd.own.mk>
LIBINSTALL != cd ${.CURDIR}/../lib;\
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
LIBINSTALL != cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
CPPFLAGS+=-I${.CURDIR}/../lib ${DEBUG} -DBINDIR='"${BINDIR}"'
.if !defined(OPSYS)

View File

@ -1,12 +1,13 @@
# $NetBSD: Makefile.inc,v 1.6 2000/07/19 07:52:44 enami Exp $
# $NetBSD: Makefile.inc,v 1.7 2001/01/07 08:00:57 enami Exp $
.include <bsd.own.mk>
CPPFLAGS+=-UCMUCS -UCMU -UMACH -DVAR_TMP -DHAS_DAEMON -DHAS_POSIX_DIR \
-DLIBWRAP -DHAS_FPARSELN
CPPFLAGS+=-I${.CURDIR}/../source -I${.CURDIR}/../lib -I${.CURDIR}/../sys
CPPFLAGS+=-DEE_XXX
LIBSUPDIR != cd ${.CURDIR}/../lib;\
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
LIBSUPDIR != cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
LIBSUP= ${LIBSUPDIR}/libsup.a
SUPLIB= -L${LIBSUPDIR} -lsup

View File

@ -1,7 +1,8 @@
# $NetBSD: Makefile.inc,v 1.5 1998/06/08 06:53:47 lukem Exp $
# $NetBSD: Makefile.inc,v 1.6 2001/01/07 08:00:58 enami Exp $
LIBCOMMON != cd ${.CURDIR}/../common;\
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
.include <bsd.own.mk>
LIBCOMMON != cd ${.CURDIR}/../common && ${PRINTOBJDIR}
CPPFLAGS+=-I${.CURDIR}/../common
DPADD+= ${LIBCOMMON}/libcommon.a ${LIBUTIL}
LDADD+= -L${LIBCOMMON} -lcommon -lutil