diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/FirstSteps/Makefile')
-rw-r--r-- | odk/examples/DevelopersGuide/FirstSteps/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/odk/examples/DevelopersGuide/FirstSteps/Makefile b/odk/examples/DevelopersGuide/FirstSteps/Makefile index 2f4a0d5bb514..f9d97ea69e45 100644 --- a/odk/examples/DevelopersGuide/FirstSteps/Makefile +++ b/odk/examples/DevelopersGuide/FirstSteps/Makefile @@ -2,9 +2,9 @@ # # $RCSfile: Makefile,v $ # -# $Revision: 1.3 $ +# $Revision: 1.4 $ # -# last change: $Author: hr $ $Date: 2003-06-30 15:26:26 $ +# last change: $Author: rt $ $Date: 2004-05-18 13:23:39 $ # # The Contents of this file are made available subject to the terms of # the BSD license. @@ -58,11 +58,7 @@ JAVAFILES = \ CLASSFILES = $(patsubst %.java,$(OUT_COMP_CLASS)/%.class,$(JAVAFILES)) -SDK_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)/sandbox.jar\ - $(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)/juh.jar\ +SDK_CLASSPATH = $(subst $(EMPTYSTRING) $(PATH_SEPARATOR),$(PATH_SEPARATOR),$(CLASSPATH)\ $(PATH_SEPARATOR)$(OUT_COMP_CLASS)) @@ -75,7 +71,7 @@ include $(SETTINGS)/stdtarget.mk $(CLASSFILES) : $(JAVAFILES) -$(MKDIR) $(subst /,$(PS),$(@D)) - javac $(JAVAC_FLAGS) -classpath "$(SDK_CLASSPATH)" -d $(OUT_COMP_CLASS) $(JAVAFILES) + $(SDK_JAVAC) $(JAVAC_FLAGS) -classpath "$(SDK_CLASSPATH)" -d $(OUT_COMP_CLASS) $(JAVAFILES) FirstStepsExamples : $(CLASSFILES) @echo -------------------------------------------------------------------------------- @@ -87,7 +83,7 @@ FirstStepsExamples : $(CLASSFILES) @echo -------------------------------------------------------------------------------- %.run: $(OUT_COMP_CLASS)/%.class - java -classpath "$(SDK_CLASSPATH)" $(basename $@) + $(SDK_JAVA) -classpath "$(SDK_CLASSPATH)" $(basename $@) .PHONY: clean clean : |