merge the formfield patch from ooo-build
[ooovba.git] / accessibility / workben / makefile.in
blobad97448e7780ffe6f60c6ac4e563b173051aed3c
1 PRJ=$(ROOT)/..
2 SETTINGS=$(OO_SDK_HOME)/settings
3 include $(SETTINGS)/settings.mk
4 include $(SETTINGS)/std.mk
5 include $(SETTINGS)/dk.mk
7 OUT_COMP_JAVA = $(OUT_CLASS)/$(patsubst .,/,$(PACKAGE))
8 JAVAC=$(JAVA_HOME)/bin/javac
9 JAVA=$(JAVA_HOME)/bin/java
10 CLASS_FILES = $(patsubst %.java, %.class, $(JAVAFILES))
11 CLASSPATH = $(subst $(EMPTYSTRING) $(PATH_SEPARATOR),$(PATH_SEPARATOR),$(OFFICE_CLASSES_DIR)/jurt.jar\
12 $(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)/unoil.jar\
13 $(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)/ridl.jar\
14 $(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)/sandbox.jar\
15 $(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)/juh.jar\
16 $(PATH_SEPARATOR)$(OUT_COMP_JAVA)\
17 $(PATH_SEPARATOR).\
18 $(PATH_SEPARATOR)$(ROOT)\
21 subdirs:
22 $(foreach dir,$(SUBDIRS), cd $(dir);$(MAKE);cd ..;)
24 clean:
25 -rm *.class *.jar
26 $(foreach dir,$(SUBDIRS), cd $(dir);$(MAKE) clean ; cd ..;)
29 %.class : %.java
30 $(JAVAC) -classpath $(CLASSPATH) $<
32 .PHONY: all package clean subdirs