Added an option to build with the interface for mobile devices

This commit is contained in:
Pierre Pronchery 2010-04-11 23:04:44 +00:00 committed by Thomas Klausner
parent 713cfacedc
commit 0bd2a8f12c
2 changed files with 13 additions and 3 deletions

View file

@ -1,6 +1,4 @@
# $NetBSD: Makefile,v 1.4 2010/03/28 17:46:39 khorben Exp $
#
# TODO: add an embedded option
# $NetBSD: Makefile,v 1.5 2010/04/11 23:04:44 khorben Exp $
DISTNAME= Browser-0.1.4
PKGNAME= deforaos-browser-0.1.4
@ -19,6 +17,8 @@ PKG_DESTDIR_SUPPORT= user-destdir
MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= DESTDIR=${DESTDIR}
.include "options.mk"
.include "../../wip/deforaos-libsystem/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../wip/deforaos-libdesktop/buildlink3.mk"

View file

@ -0,0 +1,10 @@
# $NetBSD: options.mk,v 1.1 2010/04/11 23:04:44 khorben Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.deforaos-browser
PKG_SUPPORTED_OPTIONS= embedded
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Membedded)
MAKE_FLAGS+= CPPFLAGS=-DEMBEDDED
.endif