Sentinel with process jailing using Tomoyo - works with the SmartLightsController...
[iot2.git] / benchmarks / Java / Lifxtest / Makefile
1 BASE = ../../..
2
3 include $(BASE)/common.mk
4
5 JFLAGS = -d $(BIN_DIR) -cp $(BIN_DIR):$(CHECKERJARS):.
6 JARFLAGS = cf 
7 JARFLAGS_SMARTLIGHTS = cf Lifxtest.jar
8
9 # checker option
10 #
11 CHECKER_OPT = -processor iotchecker.IoTJavaChecker -AprintErrorStack
12
13 ASTUBS = -Astubs=../../../checker/astubs/ 
14
15 all: lifxtest
16
17 check-all: check-lifxtest
18
19 PHONY += lifxtest
20 lifxtest:
21         $(JAVAC) $(JFLAGS) *.java
22         cp Lifxtest.config $(BIN_DIR)/Lifxtest
23         cd $(BIN_DIR)/Lifxtest; $(JAR) $(JARFLAGS) Lifxtest.jar ../Lifxtest/Lifxtest*.class ../Lifxtest/LightBulb*.class ../iotcode/LifxLightBulb/*.class ../iotcode/interfaces/LightBulb*.class
24
25 PHONY += check-lifxtest
26 check-lifxtest:
27         $(JAVAC) $(JFLAGS) $(CHECKER_OPT) $(ASTUBS) *.java
28         cp Lifxtest.config $(BIN_DIR)/Lifxtest
29         cd $(BIN_DIR)/Lifxtest; $(JAR) $(JARFLAGS) Lifxtest.jar ../Lifxtest/Lifxtest*.class ../Lifxtest/LightBulb*.class ../iotcode/LifxLightBulb/*.class ../iotcode/interfaces/LightBulb*.class
30
31 .PHONY: $(PHONY)