p≡p for Java
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
810 B

  1. include ../../../../../../../Makefile.conf
  2. include ../Makefile.conf
  3. TEST_UNIT_NAME=jni114
  4. JAVA_CLASSES = \
  5. TestAlice.class \
  6. ../utils/AdapterBaseTestContext.class \
  7. ../utils/AdapterTestUtils.class \
  8. ../utils/TestCallbacks.class
  9. .PHONY: pitytest compile alice test clean
  10. all: alice compile
  11. pitytest:
  12. $(MAKE) -C $(PITYTEST_DIR)
  13. alice: compile clean-pep-home-alice
  14. cd $(JAVA_CWD);pwd;HOME=$(JAVA_PEP_HOME_DIR_ALICE) $(JAVA) $(JAVA_PKG_BASENAME).$(TEST_UNIT_NAME).TestAlice
  15. compile: $(JAVA_CLASSES) pitytest
  16. %.class: %.java
  17. cd $(JAVA_CWD);$(JAVAC_CMD) -cp $(CLASSPATH) $(JAVA_PKG_BASEPATH)/$(TEST_UNIT_NAME)/$<
  18. clean:
  19. rm -f $(JAVA_CLASSES)
  20. rm -f *.class
  21. rm -f *.log
  22. rm -Rf .gnupg
  23. rm -Rf .lldb
  24. clean-pep-home: clean-pep-home-alice
  25. clean-pep-home-alice:
  26. rm -rf $(PEP_HOME_DIR_ALICE)/.pEp