2003-09-08 17:33:00 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.8 2003/09/08 13:33:03 wiz Exp $
|
1999-02-11 18:42:13 +03:00
|
|
|
|
|
|
|
.if !defined(__MAKEFILE_INC_INCLUDED__)
|
|
|
|
__MAKEFILE_INC_INCLUDED__=1
|
|
|
|
|
2000-11-01 05:06:24 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-09-19 07:09:31 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/gnu/dist
|
2003-01-17 18:32:23 +03:00
|
|
|
IDIST= ${DIST}/texinfo
|
2002-09-19 07:09:31 +04:00
|
|
|
|
2003-01-17 18:32:23 +03:00
|
|
|
CPPFLAGS+= -I${.CURDIR}/../common -I${IDIST}/lib \
|
1999-02-11 18:42:13 +03:00
|
|
|
-DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H
|
|
|
|
|
|
|
|
DPADD+= ${LIBCOMMONDIR}/libcommon.a
|
|
|
|
LDADD+= -L${LIBCOMMONDIR} -lcommon
|
2000-11-06 18:30:49 +03:00
|
|
|
|
2000-11-01 05:06:24 +03:00
|
|
|
DPADD+= ${LIBINTL}
|
|
|
|
LDADD+= -lintl
|
1999-02-11 18:42:13 +03:00
|
|
|
|
2001-01-09 11:52:56 +03:00
|
|
|
LIBCOMMONDIR!= cd ${.CURDIR}/../common && ${PRINTOBJDIR}
|
1999-02-11 18:42:13 +03:00
|
|
|
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.endif # __MAKEFILE_INC_INCLUDED__
|