incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim...@apache.org
Subject webworks commit: [CB-1678] - folder structure for bb10 extensions
Date Thu, 18 Oct 2012 21:58:49 GMT
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 <tim.kim@nitobi.com>
Authored: Thu Oct 18 14:58:29 2012 -0700
Committer: Tim Kim <tim.kim@nitobi.com>
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


Mime
View raw message