39 lines
1.4 KiB
Makefile
39 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2006/04/16 22:36:13 jtonio Exp $
|
|
#
|
|
|
|
.include "../../wip/kaffe/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/kaffe/kaffe-x11/}
|
|
|
|
COMMENT+= (AWT support through X11)
|
|
|
|
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-native-awt/--with-kaffe-x-awt/}
|
|
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-gtk-peer/--enable-gtk-peer/}
|
|
CONFIGURE_ARGS+= --with-x
|
|
|
|
BUILD_DIRS= ${WRKSRC}/config
|
|
BUILD_DIRS+= ${WRKSRC}/libraries/javalib
|
|
BUILD_DIRS+= ${WRKSRC}/include
|
|
BUILD_DIRS+= ${WRKSRC}/replace
|
|
BUILD_DIRS+= ${WRKSRC}/libltdl
|
|
BUILD_DIRS+= ${WRKSRC}/kaffe/kaffevm
|
|
BUILD_DIRS+= ${WRKSRC}/libraries/clib/classpath
|
|
BUILD_DIRS+= ${WRKSRC}/libraries/clib/awt
|
|
INSTALL_DIRS= ${WRKSRC}/libraries/clib/awt
|
|
INSTALL_DIRS+= ${WRKSRC}/libraries/javalib/awt-implementations
|
|
INSTALL_DIRS+= ${WRKSRC}/libraries/javalib/external/classpath/gnu/java/awt
|
|
|
|
pre-build:
|
|
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} BUILD_ENVIRONMENT
|
|
|
|
PRINT_PLIST_AWK+= /^@dirrm/ { print "@comment in kaffe: " $$0; next; }
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../graphics/libart2/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/libungif/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../wip/kaffe/buildlink3.mk"
|
|
.include "../../mk/x11.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|