0ac69ffac4
- makefile lint (moving NOxx to top of file, include <bsd.own.mk> as necessary, ...)
28 lines
718 B
Makefile
28 lines
718 B
Makefile
# $NetBSD: Makefile.inc,v 1.6 2002/09/19 03:09:43 lukem Exp $
|
|
|
|
.if !defined(__MAKEFILE_INC_INCLUDED__)
|
|
__MAKEFILE_INC_INCLUDED__=1
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DIST= ${NETBSDSRCDIR}/gnu/dist
|
|
|
|
CPPFLAGS+= -I${.CURDIR}/../common -I${DIST}/texinfo/lib \
|
|
-DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H
|
|
|
|
DPADD+= ${LIBCOMMONDIR}/libcommon.a
|
|
LDADD+= -L${LIBCOMMONDIR} -lcommon
|
|
|
|
# libintl-less build should comment the following 3 lines out
|
|
DPADD+= ${LIBINTL}
|
|
LDADD+= -lintl
|
|
CPPFLAGS+= -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_LIBINTL_H=1
|
|
|
|
LIBCOMMONDIR!= cd ${.CURDIR}/../common && ${PRINTOBJDIR}
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.endif
|
|
|
|
.endif # __MAKEFILE_INC_INCLUDED__
|