Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A403AD8CA for ; Thu, 18 Oct 2012 21:58:50 +0000 (UTC) Received: (qmail 24707 invoked by uid 500); 18 Oct 2012 21:58:50 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 24672 invoked by uid 500); 18 Oct 2012 21:58:50 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 24664 invoked by uid 99); 18 Oct 2012 21:58:50 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 21:58:50 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id CF7489B51; Thu, 18 Oct 2012 21:58:49 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: timkim@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: webworks commit: [CB-1678] - folder structure for bb10 extensions Message-Id: <20121018215849.CF7489B51@tyr.zones.apache.org> Date: Thu, 18 Oct 2012 21:58:49 +0000 (UTC) Updated Branches: refs/heads/bb10_ext_qnx [created] 79113f997 [CB-1678] - folder structure for bb10 extensions Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/commit/79113f99 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/tree/79113f99 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/diff/79113f99 Branch: refs/heads/bb10_ext_qnx Commit: 79113f997fe72745febc5c56706cbcd6112431c5 Parents: e72c24c Author: Tim Kim Authored: Thu Oct 18 14:58:29 2012 -0700 Committer: Tim Kim Committed: Thu Oct 18 14:58:29 2012 -0700 ---------------------------------------------------------------------- framework/ext-qnx/Makefile | 8 +++++ framework/ext-qnx/arm/Makefile | 8 +++++ framework/ext-qnx/arm/a.le-v7-g/Makefile | 1 + framework/ext-qnx/arm/a.le-v7/Makefile | 1 + framework/ext-qnx/arm/so.le-v7-g/Makefile | 1 + framework/ext-qnx/arm/so.le-v7/Makefile | 1 + framework/ext-qnx/common.mk | 36 ++++++++++++++++++++++++ framework/ext-qnx/x86/Makefile | 8 +++++ framework/ext-qnx/x86/a-g/Makefile | 1 + framework/ext-qnx/x86/a/Makefile | 1 + framework/ext-qnx/x86/so-g/Makefile | 1 + framework/ext-qnx/x86/so/Makefile | 1 + 12 files changed, 68 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/Makefile ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/Makefile b/framework/ext-qnx/Makefile new file mode 100644 index 0000000..0cc5eae --- /dev/null +++ b/framework/ext-qnx/Makefile @@ -0,0 +1,8 @@ +LIST=CPU +ifndef QRECURSE +QRECURSE=recurse.mk +ifdef QCONFIG +QRDIR=$(dir $(QCONFIG)) +endif +endif +include $(QRDIR)$(QRECURSE) http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/arm/Makefile ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/arm/Makefile b/framework/ext-qnx/arm/Makefile new file mode 100644 index 0000000..0e22650 --- /dev/null +++ b/framework/ext-qnx/arm/Makefile @@ -0,0 +1,8 @@ +LIST=VARIANT +ifndef QRECURSE +QRECURSE=recurse.mk +ifdef QCONFIG +QRDIR=$(dir $(QCONFIG)) +endif +endif +include $(QRDIR)$(QRECURSE) http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/arm/a.le-v7-g/Makefile ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/arm/a.le-v7-g/Makefile b/framework/ext-qnx/arm/a.le-v7-g/Makefile new file mode 100644 index 0000000..2c76089 --- /dev/null +++ b/framework/ext-qnx/arm/a.le-v7-g/Makefile @@ -0,0 +1 @@ +include ../../common.mk http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/arm/a.le-v7/Makefile ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/arm/a.le-v7/Makefile b/framework/ext-qnx/arm/a.le-v7/Makefile new file mode 100644 index 0000000..2c76089 --- /dev/null +++ b/framework/ext-qnx/arm/a.le-v7/Makefile @@ -0,0 +1 @@ +include ../../common.mk http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/arm/so.le-v7-g/Makefile ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/arm/so.le-v7-g/Makefile b/framework/ext-qnx/arm/so.le-v7-g/Makefile new file mode 100644 index 0000000..2c76089 --- /dev/null +++ b/framework/ext-qnx/arm/so.le-v7-g/Makefile @@ -0,0 +1 @@ +include ../../common.mk http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/arm/so.le-v7/Makefile ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/arm/so.le-v7/Makefile b/framework/ext-qnx/arm/so.le-v7/Makefile new file mode 100644 index 0000000..2c76089 --- /dev/null +++ b/framework/ext-qnx/arm/so.le-v7/Makefile @@ -0,0 +1 @@ +include ../../common.mk http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/common.mk ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/common.mk b/framework/ext-qnx/common.mk new file mode 100644 index 0000000..880ab3f --- /dev/null +++ b/framework/ext-qnx/common.mk @@ -0,0 +1,36 @@ +ifndef QCONFIG +QCONFIG=qconfig.mk +endif +include $(QCONFIG) + +USEFILE= + +# Extra include path for libfreetype and for target overrides and patches +EXTRA_INCVPATH+=$(QNX_TARGET)/usr/include/freetype2 \ + $(QNX_TARGET)/../target-override/usr/include + +# Extra library search path for target overrides and patches +EXTRA_LIBVPATH+=$(QNX_TARGET)/../target-override/$(CPUVARDIR)/lib \ + $(QNX_TARGET)/../target-override/$(CPUVARDIR)/usr/lib + +# Compiler options for enhanced security and recording the compiler options in release builds +CCFLAGS+=-fstack-protector-all -D_FORTIFY_SOURCE=2 \ + $(if $(filter g so shared,$(VARIANTS)),,-fPIE) \ + $(if $(filter g,$(VARIANTS)),,-frecord-gcc-switches) + +# Linker options for enhanced security +LDFLAGS+=-Wl,-z,relro -Wl,-z,now $(if $(filter g so shared,$(VARIANTS)),,-pie) + +# Add your required library names, here +LIBS+= + +include $(MKFILES_ROOT)/qmacros.mk + +# Suppress the _g suffix from the debug variant +BUILDNAME=$(IMAGE_PREF_$(BUILD_TYPE))$(NAME)$(IMAGE_SUFF_$(BUILD_TYPE)) +BUILDNAME_SAR=$(IMAGE_PREF_AR)$(NAME)S$(IMAGE_SUFF_AR) + +include $(MKFILES_ROOT)/qtargets.mk + +OPTIMIZE_TYPE_g=none +OPTIMIZE_TYPE=$(OPTIMIZE_TYPE_$(filter g, $(VARIANTS))) http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/x86/Makefile ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/x86/Makefile b/framework/ext-qnx/x86/Makefile new file mode 100644 index 0000000..0e22650 --- /dev/null +++ b/framework/ext-qnx/x86/Makefile @@ -0,0 +1,8 @@ +LIST=VARIANT +ifndef QRECURSE +QRECURSE=recurse.mk +ifdef QCONFIG +QRDIR=$(dir $(QCONFIG)) +endif +endif +include $(QRDIR)$(QRECURSE) http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/x86/a-g/Makefile ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/x86/a-g/Makefile b/framework/ext-qnx/x86/a-g/Makefile new file mode 100644 index 0000000..2c76089 --- /dev/null +++ b/framework/ext-qnx/x86/a-g/Makefile @@ -0,0 +1 @@ +include ../../common.mk http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/x86/a/Makefile ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/x86/a/Makefile b/framework/ext-qnx/x86/a/Makefile new file mode 100644 index 0000000..2c76089 --- /dev/null +++ b/framework/ext-qnx/x86/a/Makefile @@ -0,0 +1 @@ +include ../../common.mk http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/x86/so-g/Makefile ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/x86/so-g/Makefile b/framework/ext-qnx/x86/so-g/Makefile new file mode 100644 index 0000000..2c76089 --- /dev/null +++ b/framework/ext-qnx/x86/so-g/Makefile @@ -0,0 +1 @@ +include ../../common.mk http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/79113f99/framework/ext-qnx/x86/so/Makefile ---------------------------------------------------------------------- diff --git a/framework/ext-qnx/x86/so/Makefile b/framework/ext-qnx/x86/so/Makefile new file mode 100644 index 0000000..2c76089 --- /dev/null +++ b/framework/ext-qnx/x86/so/Makefile @@ -0,0 +1 @@ +include ../../common.mk