- Timestamp:
- Dec 18, 2013 7:14:54 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip-apps/src/swig/java/Makefile
r4691 r4696 80 80 endif 81 81 82 MY_APP_JAVA = android/src/$(subst .,/,$(MY_PACKAGE_NAME))/app/MyApp.java 83 82 84 .PHONY: all java install uninstall 83 85 … … 97 99 rm -rf $(LIBPJSUA2_SO) $(OUT_DIR)/* $(MY_PACKAGE_PATH)/*.java $(MY_PACKAGE_PATH)/*.class 98 100 99 java: $(MY_PACKAGE_PATH)/Error.class $(MY_PACKAGE_PATH)/test.class 101 java: $(MY_PACKAGE_PATH)/Error.class $(MY_PACKAGE_PATH)/test.class $(MY_PACKAGE_PATH)/sample.class 100 102 101 103 $(MY_PACKAGE_PATH)/Error.class: $(MY_PACKAGE_PATH)/Error.java 102 $(MY_JAVAC) -d $(OUT_DIR) $(MY_PACKAGE_PATH)/*.java 104 $(MY_JAVAC) -d $(OUT_DIR) $(MY_PACKAGE_PATH)/*.java $(MY_APP_JAVA) 103 105 104 106 $(MY_PACKAGE_PATH)/test.class: test.java 105 107 $(MY_JAVAC) -d $(OUT_DIR) -classpath "$(OUT_DIR)" test.java 108 109 $(MY_PACKAGE_PATH)/sample.class: sample.java 110 $(MY_JAVAC) -d $(OUT_DIR) -classpath "$(OUT_DIR)" sample.java 106 111 107 112 test: 108 113 @# Need to specify classpath and library path, alternatively, they can be set via 109 114 @# CLASSPATH and java.library.path env settings 110 $(MY_JAVA) -cp "$(OUT_DIR);$(MY_PACKAGE_PATH)" -Djava.library.path="$(OUT_DIR)" test 115 $(MY_JAVA) -cp "$(OUT_DIR)" -Djava.library.path="$(OUT_DIR)" test 116 117 sample: 118 @# Need to specify classpath and library path, alternatively, they can be set via 119 @# CLASSPATH and java.library.path env settings 120 $(MY_JAVA) -cp "$(OUT_DIR)" -Djava.library.path="$(OUT_DIR)" org.pjsip.pjsua2.app.sample 111 121 112 122 install:
Note: See TracChangeset
for help on using the changeset viewer.