summaryrefslogtreecommitdiffstats
path: root/android-projects/makefile
diff options
context:
space:
mode:
authorbossiel <bossiel@yahoo.fr>2011-08-10 22:59:15 +0000
committerbossiel <bossiel@yahoo.fr>2011-08-10 22:59:15 +0000
commit1ebf5a5fcda0c9154e22ed02404fd46525a7fd9f (patch)
tree4b6214a7142ab1035cb0e47444e88af38e712421 /android-projects/makefile
downloaddoubango-1.0.zip
doubango-1.0.tar.gz
Move deprecated v1.0 from trunk to branches1.0
Diffstat (limited to 'android-projects/makefile')
-rw-r--r--android-projects/makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/android-projects/makefile b/android-projects/makefile
new file mode 100644
index 0000000..e132cc8
--- /dev/null
+++ b/android-projects/makefile
@@ -0,0 +1,40 @@
+include ./root.mk
+
+
+
+
+
+
+ifeq ($(PROJECT), tinyWRAP) ##### tinyWRAP
+all:
+ (cd ../bindings/java/android; $(MAKE) -f droid-makefile all; cp -f lib$(PROJECT)_$(MARCH).$(EXT) $(OUTPUT_DIR))
+clean:
+ (cd ../bindings/java/android; $(MAKE) -f droid-makefile clean)
+
+
+
+else ifeq ($(PROJECT), tinyDEMO) ##### tinyDEMO
+all:
+ (cd ../tinyDEMO $(MAKE) -f droid-makefile all; $(MAKE) -f droid-makefile install; cp -f demo $(OUTPUT_DIR))
+clean:
+ (cd ../tinyDEMO; $(MAKE) -f droid-makefile clean)
+
+
+
+else ##### All other libraries (tiny*)
+all:
+ (cd ../$(PROJECT) ; $(MAKE) -f droid-makefile all; cp -f lib$(PROJECT)_$(MARCH).$(EXT) $(OUTPUT_DIR))
+test:
+ (cd ../$(PROJECT)/test; $(MAKE) -f droid-makefile all; cp -f test $(OUTPUT_DIR))
+install:
+ (cd ../$(PROJECT) ; $(MAKE) -f droid-makefile install)
+
+clean:
+ (cd ../$(PROJECT); $(MAKE) -f droid-makefile clean)
+ (cd ../$(PROJECT)/test; $(MAKE) -f droid-makefile clean)
+endif
+
+
+gdbserver:
+ $(ANDROID_SDK_ROOT)/tools/adb forward tcp:1234: tcp:1234
+ $(ANDROID_SDK_ROOT)/tools/adb shell $(EXEC_DIR)/gdbserver :1234 $(EXEC_DIR)/test \ No newline at end of file
OpenPOWER on IntegriCloud