3 include $(BASE)/common.mk
5 BOOFDIR := ../../libs/boofcv_libs
6 BOOFJARS := $(BOOFDIR)/BoofCV-feature-0.21.jar:$(BOOFDIR)/BoofCV-io-0.21.jar:$(BOOFDIR)/BoofCV-visualize-0.21.jar:$(BOOFDIR)/BoofCV-ip-0.21.jar:$(CHECKERJARS)
8 JFLAGS = -d $(BIN_DIR) -cp $(BOOFJARS):$(BIN_DIR):$(CHECKERJARS):.
13 CHECKER_OPT = -processor iotchecker.IoTJavaChecker -AprintErrorStack
15 ASTUBS = -Astubs=../../../checker/astubs/
19 check-all: check-homesecurity
23 $(JAVAC) $(JFLAGS) *.java
24 cp HomeSecurityController.config $(BIN_DIR)/HomeSecurityController
25 cd $(BIN_DIR)/HomeSecurityController; $(JAR) $(JARFLAGS) HomeSecurityController.jar ../HomeSecurityController/HomeSecurityController*.class ../HomeSecurityController/MotionDetection*.class ../iotcode/interfaces/SmartthingsSensor*.class ../iotcode/interfaces/Camera*.class ../iotcode/interfaces/Alarm*.class ../iotcode/interfaces/Room*.class ../iotcode/interfaces/ZoneState*.class ../iotcode/interfaces/Resolution*.class
27 PHONY += check-homesecurity
29 $(JAVAC) $(JFLAGS) $(CHECKER_OPT) $(ASTUBS) *.java
30 cp HomeSecurityController.config $(BIN_DIR)/HomeSecurityController
31 cd $(BIN_DIR)/HomeSecurityController; $(JAR) $(JARFLAGS) HomeSecurityController.jar ../HomeSecurityController/HomeSecurityController*.class ../HomeSecurityController/MotionDetection*.class ../iotcode/interfaces/SmartthingsSensor*.class ../iotcode/interfaces/Camera*.class ../iotcode/interfaces/Alarm*.class ../iotcode/interfaces/Room*.class ../iotcode/interfaces/ZoneState*.class ../iotcode/interfaces/Resolution*.class