pkgsrc/x11/controlcenter/buildlink2.mk
jlam 569f4d898d IDL files must be added to BUIDLINK_FILES because the IDL files are
compiled using orbit-idl, which uses the C preprocessor to do its work, and
the C preprocessor has it's arguments transformed (correctly) by
buildlink2.
2002-09-23 19:57:28 +00:00

30 lines
1.1 KiB
Makefile

# $NetBSD: buildlink2.mk,v 1.5 2002/09/23 19:57:30 jlam Exp $
.if !defined(CONTROLCENTER_BUILDLINK2_MK)
CONTROLCENTER_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= controlcenter
BUILDLINK_DEPENDS.controlcenter?= control-center>=1.4.0.4
BUILDLINK_PKGSRCDIR.controlcenter?= ../../x11/controlcenter
DEPENDS+= ${BUILDLINK_DEPENDS.controlcenter}:../../x11/controlcenter
EVAL_PREFIX+= BUILDLINK_PREFIX.controlcenter=controlcenter
BUILDLINK_PREFIX.controlcenter_DEFAULTS= ${X11PREFIX}
BUILDLINK_FILES.controlcenter= include/libcapplet1/*
BUILDLINK_FILES.controlcenter+= lib/libcapplet.*
BUILDLINK_FILES.controlcenter+= share/idl/control-center.idl
BUILDLINK_CPPFLAGS.controlcenter= \
-I${BUILDLINK_PREFIX.controlcenter}/include/libcapplet1
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.controlcenter}
.include "../../graphics/gdk-pixbuf/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../sysutils/gnome-vfs/buildlink2.mk"
.include "../../x11/gnome-libs/buildlink2.mk"
BUILDLINK_TARGETS+= controlcenter-buildlink
controlcenter-buildlink: _BUILDLINK_USE
.endif # CONTROLCENTER_BUILDLINK2_MK