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
)/juh.jar\
15 $(PATH_SEPARATOR
)$(OUT_COMP_JAVA
)\
17 $(PATH_SEPARATOR
)$(ROOT
)\
21 $(foreach dir,$(SUBDIRS
), cd
$(dir);$(MAKE
);cd ..
;)
25 $(foreach dir,$(SUBDIRS
), cd
$(dir);$(MAKE
) clean ; cd ..
;)
29 $(JAVAC
) -classpath
$(CLASSPATH
) $<
31 .PHONY
: all package
clean subdirs