pkgsrc/x11/neXtaw/buildlink3.mk

34 lines
947 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.14 2009/03/20 19:25:48 joerg Exp $
2004-04-12 01:29:49 +02:00
BUILDLINK_TREE+= neXtaw
2004-04-12 01:29:49 +02:00
.if !defined(NEXTAW_BUILDLINK3_MK)
NEXTAW_BUILDLINK3_MK:=
2004-04-12 01:29:49 +02:00
BUILDLINK_API_DEPENDS.neXtaw+= neXtaw>=0.15.1
BUILDLINK_ABI_DEPENDS.neXtaw+= neXtaw>=0.15.1nb2
2004-04-12 01:29:49 +02:00
BUILDLINK_PKGSRCDIR.neXtaw?= ../../x11/neXtaw
.include "../../mk/bsd.fast.prefs.mk"
2008-01-04 02:25:51 +01:00
. if ${X11_TYPE} == "modular"
.PHONY: buildlink-neXtaw-inc-hack
buildlink-neXtaw-cookie: buildlink-neXtaw-inc-hack
2008-01-04 02:25:51 +01:00
buildlink-neXtaw-inc-hack: buildlink-directories
[ ! -h ${BUILDLINK_DIR}/include/X11/Xaw ] && \
${MKDIR} ${BUILDLINK_DIR}/include/X11 && \
${LN} -s neXtaw ${BUILDLINK_DIR}/include/X11/Xaw
2008-01-04 02:25:51 +01:00
. endif
2004-04-12 01:29:49 +02:00
2008-01-04 02:25:51 +01:00
LIBXAW?= -L${BUILDLINK_PREFIX.neXtaw}/lib \
${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.neXtaw}/lib \
-lneXtaw
2007-01-30 21:56:13 +01:00
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.endif # NEXTAW_BUILDLINK3_MK
2004-04-12 01:29:49 +02:00
BUILDLINK_TREE+= -neXtaw