Commit 3fe3e71d authored by Florian Lugou's avatar Florian Lugou

Reworked Makefile

parent bdfe1c5a
/.idea
*.iml
/build
*.swp
*~
.gradle
/bin
/release
/TTool_install
This diff is collapsed.
......@@ -10,6 +10,10 @@ ext {
absPath = projectDir.getAbsolutePath()
}
subprojects.each { p ->
println p.path
}
subprojects {
apply plugin: 'java'
sourceCompatibility = 1.7
......@@ -38,8 +42,9 @@ subprojects {
libsDirName = "${rootProject.absPath}/bin"
task copyRuntimeLibs(type: Copy) {
into "${rootProject.absPath}/bin"
from configurations.runtime
from 'runtime'
into "${rootProject.absPath}/bin"
}
build.finalizedBy(copyRuntimeLibs)
......
PREFIX = [GRAPHMINIMIZE]
MANIFEST = $(GRAPHMINIMIZE_DIR)/manifest.txt
DEPEND = $(patsubst %,$(TTOOL_BIN)/%,$(shell cat $(MANIFEST) | grep Class-Path | cut -d: -f2))
LOCAL_SRC_DIR = $(GRAPHMINIMIZE_DIR)/src/main/java
LOCAL_BUILD_DIR = $(GRAPHMINIMIZE_DIR)/build/classes/main
LOCAL_JAVA = $(shell cd $(LOCAL_SRC_DIR); find . -name "*.java")
LOCAL_CLASS = $(patsubst %.java,%.class,$(LOCAL_JAVA))
CFLAGS = $(GLOBAL_CFLAGS) -sourcepath $(TTOOL_SRC):$(LOCAL_SRC_DIR) -classpath $(TTOOL_CLASSPATH) -d $(LOCAL_BUILD_DIR)
JARFLAGS = cmf
JARRSRCFLAGS = uf
.PHONY: compile clean
$(GRAPHMINIMIZE_BINARY): compile $(DEPEND)
@echo "$(PREFIX) Archiving"
@mkdir -p $(TTOOL_BIN)
@$(JAR) $(JARFLAGS) $(MANIFEST) $@ -C $(LOCAL_BUILD_DIR) .
ifneq ($(strip $(LOCAL_RESOURCES_DIR)),)
@$(JAR) $(JARRSRCFLAGS) $@ -C $(LOCAL_RESOURCES_DIR) .
endif
$(TTOOL_BIN)/%.jar: $(TTOOL_LIBS)/%.jar
@mkdir -p $(TTOOL_BIN)
@cp $< $@
compile: $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA)) $(patsubst %,$(TTOOL_SRC)/%,$(GLOBAL_JAVA))
@echo "$(PREFIX) Compiling"
@mkdir -p $(LOCAL_BUILD_DIR)
@$(JAVAC) $(CFLAGS) $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA))
clean:
@rm -rf $(LOCAL_BUILD_DIR)
PREFIX = [GRAPHSHOW]
MANIFEST = $(GRAPHSHOW_DIR)/manifest.txt
DEPEND = $(patsubst %,$(TTOOL_BIN)/%,$(shell cat $(MANIFEST) | grep Class-Path | cut -d: -f2))
LOCAL_SRC_DIR = $(GRAPHSHOW_DIR)/src/main/java
LOCAL_BUILD_DIR = $(GRAPHSHOW_DIR)/build/classes/main
LOCAL_JAVA = $(shell cd $(LOCAL_SRC_DIR); find . -name "*.java")
LOCAL_CLASS = $(patsubst %.java,%.class,$(LOCAL_JAVA))
CFLAGS = $(GLOBAL_CFLAGS) -sourcepath $(TTOOL_SRC):$(LOCAL_SRC_DIR) -classpath $(TTOOL_CLASSPATH) -d $(LOCAL_BUILD_DIR)
JARFLAGS = cmf
JARRSRCFLAGS = uf
.PHONY: compile clean
$(GRAPHSHOW_BINARY): compile $(DEPEND)
@echo "$(PREFIX) Archiving"
@mkdir -p $(TTOOL_BIN)
@$(JAR) $(JARFLAGS) $(MANIFEST) $@ -C $(LOCAL_BUILD_DIR) .
ifneq ($(strip $(LOCAL_RESOURCES_DIR)),)
@$(JAR) $(JARRSRCFLAGS) $@ -C $(LOCAL_RESOURCES_DIR) .
endif
$(TTOOL_BIN)/%.jar: $(TTOOL_LIBS)/%.jar
@mkdir -p $(TTOOL_BIN)
@cp $< $@
compile: $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA)) $(patsubst %,$(TTOOL_SRC)/%,$(GLOBAL_JAVA))
@echo "$(PREFIX) Compiling"
@mkdir -p $(LOCAL_BUILD_DIR)
@$(JAVAC) $(CFLAGS) $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA))
clean:
@rm -rf $(LOCAL_BUILD_DIR)
PREFIX = [JTTOOL]
LOCAL_SRC_DIR = $(JTTOOL_DIR)/src/main/java
LOCAL_BUILD_DIR = $(JTTOOL_DIR)/build/classes/main
LOCAL_JAVA = $(shell cd $(LOCAL_SRC_DIR); find . -name "*.java")
LOCAL_CLASS = $(patsubst %.java,%.class,$(LOCAL_JAVA))
CFLAGS = $(GLOBAL_CFLAGS) -sourcepath $(TTOOL_SRC):$(LOCAL_SRC_DIR) -classpath $(TTOOL_CLASSPATH) -d $(LOCAL_BUILD_DIR)
JARFLAGS = cf
JARRSRCFLAGS = uf
.PHONY: compile clean
$(JTTOOL_BINARY): compile
@echo "$(PREFIX) Archiving"
@mkdir -p $(TTOOL_BIN)
@$(JAR) $(JARFLAGS) $@ -C $(LOCAL_BUILD_DIR) .
ifneq ($(strip $(LOCAL_RESOURCES_DIR)),)
@$(JAR) $(JARRSRCFLAGS) $@ -C $(LOCAL_RESOURCES_DIR) .
endif
compile: $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA)) $(patsubst %,$(TTOOL_SRC)/%,$(GLOBAL_JAVA))
@echo "$(PREFIX) Compiling"
@mkdir -p $(LOCAL_BUILD_DIR)
@$(JAVAC) $(CFLAGS) $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA))
clean:
@rm -rf $(LOCAL_BUILD_DIR)
PREFIX = [LAUNCHER]
MANIFEST = $(LAUNCHER_DIR)/manifest.txt
DEPEND = $(patsubst %,$(TTOOL_BIN)/%,$(shell cat $(MANIFEST) | grep Class-Path | cut -d: -f2))
LOCAL_SRC_DIR = $(LAUNCHER_DIR)/src/main/java
LOCAL_BUILD_DIR = $(LAUNCHER_DIR)/build/classes/main
LOCAL_JAVA = $(shell cd $(LOCAL_SRC_DIR); find . -name "*.java")
LOCAL_CLASS = $(patsubst %.java,%.class,$(LOCAL_JAVA))
CFLAGS = $(GLOBAL_CFLAGS) -sourcepath $(TTOOL_SRC):$(LOCAL_SRC_DIR) -classpath $(TTOOL_CLASSPATH) -d $(LOCAL_BUILD_DIR)
JARFLAGS = cmf
JARRSRCFLAGS = uf
.PHONY: compile clean
$(LAUNCHER_BINARY): compile $(DEPEND)
@echo "$(PREFIX) Archiving"
@mkdir -p $(TTOOL_BIN)
@$(JAR) $(JARFLAGS) $(MANIFEST) $@ -C $(LOCAL_BUILD_DIR) .
ifneq ($(strip $(LOCAL_RESOURCES_DIR)),)
@$(JAR) $(JARRSRCFLAGS) $@ -C $(LOCAL_RESOURCES_DIR) .
endif
$(TTOOL_BIN)/%.jar: $(TTOOL_LIBS)/%.jar
@mkdir -p $(TTOOL_BIN)
@cp $< $@
compile: $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA)) $(patsubst %,$(TTOOL_SRC)/%,$(GLOBAL_JAVA))
@echo "$(PREFIX) Compiling"
@mkdir -p $(LOCAL_BUILD_DIR)
@$(JAVAC) $(CFLAGS) $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA))
clean:
@rm -rf $(LOCAL_BUILD_DIR)
......@@ -21,9 +21,9 @@ jar {
manifest {
attributes(
'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': 'launcher.RTLLauncher'
'Main-Class': 'launcher.Main'
)
}
}
mainClassName = 'launcher.RTLLauncher'
mainClassName = 'launcher.Main'
Main-Class: launcher.RTLLauncher
Main-Class: launcher.Main
Class-Path: ./commons-codec-1.10.jar
/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
ludovic.apvrille AT enst.fr
This software is a computer program whose purpose is to allow the
edition of TURTLE analysis, design and deployment diagrams, to
allow the generation of RT-LOTOS or Java code from this diagram,
and at last to allow the analysis of formal validation traces
obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
from INRIA Rhone-Alpes.
This software is governed by the CeCILL license under French law and
abiding by the rules of distribution of free software. You can use,
modify and/ or redistribute the software under the terms of the CeCILL
license as circulated by CEA, CNRS and INRIA at the following URL
"http://www.cecill.info".
As a counterpart to the access to the source code and rights to copy,
modify and redistribute granted by the license, users are provided only
with a limited warranty and the software's author, the holder of the
economic rights, and the successive licensors have only limited
liability.
In this respect, the user's attention is drawn to the risks associated
with loading, using, modifying and/or developing or reproducing the
software by the user in light of its specific status of free software,
that may mean that it is complicated to manipulate, and that also
therefore means that it is reserved for developers and experienced
professionals having in-depth computer knowledge. Users are therefore
encouraged to load and test the software's suitability as regards their
requirements in conditions enabling the security of their systems and/or
data to be ensured and, more generally, to use and operate it in the
same conditions as regards security.
The fact that you are presently reading this means that you have had
knowledge of the CeCILL license and that you accept its terms.
*/
package launcher;
import launcher.RshServer;
import myutil.TraceManager;
/**
* Class launcher.Main
* For standalone launcher
* Creation: 08/06/2017
* @version 1.1 08/06/2017
* @author Florian LUGOU
*/
public class Main {
public static void main(String[] args) {
for(int i=0; i<args.length; i++) {
if (args[i].compareTo("-port") == 0) {
if (i != (args.length -1)) {
try {
int port = Integer.decode(args[i+1]).intValue();
RshServer.PORT_NUMBER = port;
TraceManager.addDev("Port number set to " + port);
} catch (Exception e) {
TraceManager.addDev("Wrong port number");
}
} else {
TraceManager.addDev("Missing port number");
}
}
}
System.out.println("Server side of the launcher\nVersion: " + RshServer.VERSION);
(new RshServer()).startServer();
}
}
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>bin</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
rsh= ssh -x
rcp= scp
cow10
directory = /tmp/TTool
cow11
directory = /tmp/TTool
cow12
directory = /tmp/TTool
cow13
directory = /tmp/TTool
cow15
directory = /tmp/TTool
\ No newline at end of file
PREFIX = [RUNDSE]
MANIFEST = $(RUNDSE_DIR)/manifest.txt
DEPEND = $(patsubst %,$(TTOOL_BIN)/%,$(shell cat $(MANIFEST) | grep Class-Path | cut -d: -f2))
LOCAL_SRC_DIR = $(RUNDSE_DIR)/src/main/java
LOCAL_BUILD_DIR = $(RUNDSE_DIR)/build/classes/main
LOCAL_JAVA = $(shell cd $(LOCAL_SRC_DIR); find . -name "*.java")
LOCAL_CLASS = $(patsubst %.java,%.class,$(LOCAL_JAVA))
CFLAGS = $(GLOBAL_CFLAGS) -sourcepath $(TTOOL_SRC):$(LOCAL_SRC_DIR) -classpath $(TTOOL_CLASSPATH) -d $(LOCAL_BUILD_DIR)
JARFLAGS = cmf
JARRSRCFLAGS = uf
.PHONY: compile clean
$(RUNDSE_BINARY): compile $(DEPEND)
@echo "$(PREFIX) Archiving"
@mkdir -p $(TTOOL_BIN)
@$(JAR) $(JARFLAGS) $(MANIFEST) $@ -C $(LOCAL_BUILD_DIR) .
ifneq ($(strip $(LOCAL_RESOURCES_DIR)),)
@$(JAR) $(JARRSRCFLAGS) $@ -C $(LOCAL_RESOURCES_DIR) .
endif
$(TTOOL_BIN)/%.jar: $(TTOOL_LIBS)/%.jar
@mkdir -p $(TTOOL_BIN)
@cp $< $@
compile: $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA)) $(patsubst %,$(TTOOL_SRC)/%,$(GLOBAL_JAVA))
@echo "$(PREFIX) Compiling"
@mkdir -p $(LOCAL_BUILD_DIR)
@$(JAVAC) $(CFLAGS) $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA))
clean:
@rm -rf $(LOCAL_BUILD_DIR)
......@@ -15,6 +15,16 @@ include 'api'
include 'services:webservice'
*/
include 'ttool', 'launcher', 'graphminimize', 'graphshow', 'tiftranslator', 'remotesimulator', 'webcrawler:client', 'webcrawler:server'
include 'ttool'
include 'launcher'
include 'graphminimize'
include 'graphshow'
include 'tiftranslator'
include 'simulationcontrol'
include 'webcrawler-client'
include 'webcrawler-server'
project(':webcrawler-client').projectDir = new File(settingsDir, 'webcrawler/client')
project(':webcrawler-server').projectDir = new File(settingsDir, 'webcrawler/server')
rootProject.name = 'ttool'
PREFIX = [REMOTESIMULATOR]
MANIFEST = $(REMOTESIMULATOR_DIR)/manifest.txt
DEPEND = $(patsubst %,$(TTOOL_BIN)/%,$(shell cat $(MANIFEST) | grep Class-Path | cut -d: -f2))
LOCAL_SRC_DIR = $(REMOTESIMULATOR_DIR)/src/main/java
LOCAL_BUILD_DIR = $(REMOTESIMULATOR_DIR)/build/classes/main
LOCAL_JAVA = $(shell cd $(LOCAL_SRC_DIR); find . -name "*.java")
LOCAL_CLASS = $(patsubst %.java,%.class,$(LOCAL_JAVA))
CFLAGS = $(GLOBAL_CFLAGS) -sourcepath $(TTOOL_SRC):$(LOCAL_SRC_DIR) -classpath $(TTOOL_CLASSPATH) -d $(LOCAL_BUILD_DIR)
JARFLAGS = cmf
JARRSRCFLAGS = uf
.PHONY: compile clean
$(REMOTESIMULATOR_BINARY): compile $(DEPEND)
@echo "$(PREFIX) Archiving"
@mkdir -p $(TTOOL_BIN)
@$(JAR) $(JARFLAGS) $(MANIFEST) $@ -C $(LOCAL_BUILD_DIR) .
ifneq ($(strip $(LOCAL_RESOURCES_DIR)),)
@$(JAR) $(JARRSRCFLAGS) $@ -C $(LOCAL_RESOURCES_DIR) .
endif
$(TTOOL_BIN)/%.jar: $(TTOOL_LIBS)/%.jar
@mkdir -p $(TTOOL_BIN)
@cp $< $@
compile: $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA)) $(patsubst %,$(TTOOL_SRC)/%,$(GLOBAL_JAVA))
@echo "$(PREFIX) Compiling"
@mkdir -p $(LOCAL_BUILD_DIR)
@$(JAVAC) $(CFLAGS) $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA))
clean:
@rm -rf $(LOCAL_BUILD_DIR)
......@@ -52,27 +52,6 @@ public class RTLLauncher implements Runnable {
protected String sk;
public static void main(String[] args) {
for(int i=0; i<args.length; i++) {
if (args[i].compareTo("-port") == 0) {
if (i != (args.length -1)) {
try {
int port = Integer.decode(args[i+1]).intValue();
RshServer.PORT_NUMBER = port;
TraceManager.addDev("Port number set to " + port);
} catch (Exception e) {
TraceManager.addDev("Wrong port number");
}
} else {
TraceManager.addDev("Missing port number");
}
}
}
System.out.println("Server side of the launcher\nVersion: " + RshServer.VERSION);
(new RshServer()).startServer();
}
public String getKey() {
sk = "";
for(int i=0; i<16; i++) {
......
......@@ -171,12 +171,6 @@ public class WebCrawler {
}
public static void main(String args[]) throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException, IOException, AWTException, Exception {
WebCrawler wc = new WebCrawler("../localdb/");
wc.start();
}
public void start() throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException, IOException, AWTException, Exception {
if (pathToFiles == null) {
......
PREFIX = [TIFTRANSLATOR]
MANIFEST = $(TIFTRANSLATOR_DIR)/manifest.txt
DEPEND = $(patsubst %,$(TTOOL_BIN)/%,$(shell cat $(MANIFEST) | grep Class-Path | cut -d: -f2))
LOCAL_SRC_DIR = $(TIFTRANSLATOR_DIR)/src/main/java
LOCAL_BUILD_DIR = $(TIFTRANSLATOR_DIR)/build/classes/main
LOCAL_JAVA = $(shell cd $(LOCAL_SRC_DIR); find . -name "*.java")
LOCAL_CLASS = $(patsubst %.java,%.class,$(LOCAL_JAVA))
CFLAGS = $(GLOBAL_CFLAGS) -sourcepath $(TTOOL_SRC):$(LOCAL_SRC_DIR) -classpath $(TTOOL_CLASSPATH) -d $(LOCAL_BUILD_DIR)
JARFLAGS = cmf
JARRSRCFLAGS = uf
.PHONY: compile clean
$(TIFTRANSLATOR_BINARY): compile $(DEPEND)
@echo "$(PREFIX) Archiving"
@mkdir -p $(TTOOL_BIN)
@$(JAR) $(JARFLAGS) $(MANIFEST) $@ -C $(LOCAL_BUILD_DIR) .
ifneq ($(strip $(LOCAL_RESOURCES_DIR)),)
@$(JAR) $(JARRSRCFLAGS) $@ -C $(LOCAL_RESOURCES_DIR) .
endif
$(TTOOL_BIN)/%.jar: $(TTOOL_LIBS)/%.jar
@mkdir -p $(TTOOL_BIN)
@cp $< $@
compile: $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA)) $(patsubst %,$(TTOOL_SRC)/%,$(GLOBAL_JAVA))
@echo "$(PREFIX) Compiling"
@mkdir -p $(LOCAL_BUILD_DIR)
@$(JAVAC) $(CFLAGS) $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA))
clean:
@rm -rf $(LOCAL_BUILD_DIR)
PREFIX = [TMLTRANSLATOR]
MANIFEST = $(TMLTRANSLATOR_DIR)/manifest.txt
DEPEND = $(patsubst %,$(TTOOL_BIN)/%,$(shell cat $(MANIFEST) | grep Class-Path | cut -d: -f2))
LOCAL_SRC_DIR = $(TMLTRANSLATOR_DIR)/src/main/java
LOCAL_BUILD_DIR = $(TMLTRANSLATOR_DIR)/build/classes/main
LOCAL_JAVA = $(shell cd $(LOCAL_SRC_DIR); find . -name "*.java")
LOCAL_CLASS = $(patsubst %.java,%.class,$(LOCAL_JAVA))
CFLAGS = $(GLOBAL_CFLAGS) -sourcepath $(TTOOL_SRC):$(LOCAL_SRC_DIR) -classpath $(TTOOL_CLASSPATH) -d $(LOCAL_BUILD_DIR)
JARFLAGS = cmf
JARRSRCFLAGS = uf
.PHONY: compile clean
$(TMLTRANSLATOR_BINARY): compile $(DEPEND)
@echo "$(PREFIX) Archiving"
@mkdir -p $(TTOOL_BIN)
@$(JAR) $(JARFLAGS) $(MANIFEST) $@ -C $(LOCAL_BUILD_DIR) .
ifneq ($(strip $(LOCAL_RESOURCES_DIR)),)
@$(JAR) $(JARRSRCFLAGS) $@ -C $(LOCAL_RESOURCES_DIR) .
endif
$(TTOOL_BIN)/%.jar: $(TTOOL_LIBS)/%.jar
@mkdir -p $(TTOOL_BIN)
@cp $< $@
compile: $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA)) $(patsubst %,$(TTOOL_SRC)/%,$(GLOBAL_JAVA))
@echo "$(PREFIX) Compiling"
@mkdir -p $(LOCAL_BUILD_DIR)
@$(JAVAC) $(CFLAGS) $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA))
clean:
@rm -rf $(LOCAL_BUILD_DIR)
PREFIX = [TTOOL]
MANIFEST = $(TTOOL_DIR)/ttool.txt
DEPEND = $(patsubst %,$(TTOOL_BIN)/%,$(shell cat $(MANIFEST) | grep Class-Path | cut -d: -f2))
LOCAL_SRC_DIR = $(TTOOL_DIR)/src/main/java
LOCAL_RESOURCES_DIR = $(TTOOL_RESOURCES)
LOCAL_BUILD_DIR = $(TTOOL_DIR)/build/classes/main
LOCAL_RUNTIME_DIR = $(TTOOL_DIR)/runtime
LOCAL_JAVA = $(shell cd $(LOCAL_SRC_DIR); find . -name "*.java")
LOCAL_CLASS = $(patsubst %.java,%.class,$(LOCAL_JAVA))
LOCAL_RT_DEP = $(patsubst $(LOCAL_RUNTIME_DIR)/%,$(TTOOL_BIN)/%,$(wildcard $(LOCAL_RUNTIME_DIR)/*))
CFLAGS = $(GLOBAL_CFLAGS) -sourcepath $(TTOOL_SRC):$(LOCAL_SRC_DIR) -classpath $(TTOOL_CLASSPATH) -d $(LOCAL_BUILD_DIR)
JARFLAGS = cmf
JARRSRCFLAGS = uf
.PHONY: compile clean
$(TTOOL_BINARY): compile $(LOCAL_RT_DEP) $(DEPEND)
@echo "$(PREFIX) Archiving"
@mkdir -p $(TTOOL_BIN)
@$(JAR) $(JARFLAGS) $(MANIFEST) $@ -C $(LOCAL_BUILD_DIR) .
@$(JAR) $(JARRSRCFLAGS) $@ -C $(LOCAL_RESOURCES_DIR) . 2>/dev/null
$(TTOOL_BIN)/%.jar: $(TTOOL_LIBS)/%.jar
@mkdir -p $(TTOOL_BIN)
@cp $< $@
$(TTOOL_BIN)/%: $(LOCAL_RUNTIME_DIR)/%
@mkdir -p $(TTOOL_BIN)
@cp -r $< $@
compile: $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA)) $(patsubst %,$(TTOOL_SRC)/%,$(GLOBAL_JAVA))
@echo "$(PREFIX) Compiling"
@mkdir -p $(LOCAL_BUILD_DIR)
@$(JAVAC) $(CFLAGS) $(patsubst %,$(LOCAL_SRC_DIR)/%,$(LOCAL_JAVA))