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.

34 lines
693 B

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