summaryrefslogtreecommitdiff
path: root/accessibility/workben/makefile.in
blob: d81df5fb73638937dacd950fe83de4782401c6aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PRJ=$(ROOT)/..
SETTINGS=$(OO_SDK_HOME)/settings
include $(SETTINGS)/settings.mk
include $(SETTINGS)/std.mk
include $(SETTINGS)/dk.mk

OUT_COMP_JAVA = $(OUT_CLASS)/$(patsubst .,/,$(PACKAGE))
JAVAC=$(JAVA_HOME)/bin/javac
JAVA=$(JAVA_HOME)/bin/java
CLASS_FILES = $(patsubst %.java, %.class, $(JAVAFILES))
CLASSPATH = $(subst $(EMPTYSTRING) $(PATH_SEPARATOR),$(PATH_SEPARATOR),$(OFFICE_CLASSES_DIR)/jurt.jar\
		$(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)/unoil.jar\
		$(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)/ridl.jar\
		$(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)/juh.jar\
		$(PATH_SEPARATOR)$(OUT_COMP_JAVA)\
		$(PATH_SEPARATOR).\
		$(PATH_SEPARATOR)$(ROOT)\
		)

subdirs:
	$(foreach dir,$(SUBDIRS), cd $(dir);$(MAKE);cd ..;)

clean:
	-rm *.class *.jar
	$(foreach dir,$(SUBDIRS), cd $(dir);$(MAKE) clean ; cd ..;)


%.class : %.java
	$(JAVAC) -classpath $(CLASSPATH) $<

.PHONY: all package clean subdirs