diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-06-10 09:33:10 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-06-10 09:33:10 +0000 |
commit | a00181d15b6f1aa60879b6693cdb217d63a77447 (patch) | |
tree | 6c7e48d4ce457fbd1b7caa2055a8397733799a74 /odk/examples/DevelopersGuide/OfficeDev/DisableCommands | |
parent | 558e97f91fe47a2ef5111ea272df5606208e5a07 (diff) |
INTEGRATION: CWS sdk02 (1.1.2); FILE ADDED
2003/05/21 14:02:40 jsc 1.1.2.1: #109045# new
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/DisableCommands')
-rw-r--r-- | odk/examples/DevelopersGuide/OfficeDev/DisableCommands/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DisableCommands/Makefile b/odk/examples/DevelopersGuide/OfficeDev/DisableCommands/Makefile new file mode 100644 index 000000000000..a01e8f43bc65 --- /dev/null +++ b/odk/examples/DevelopersGuide/OfficeDev/DisableCommands/Makefile @@ -0,0 +1,51 @@ +# Builds the OfficeDevDisableCommandsTest example of the Developers Guide. + +PRJ=../../../.. +SETTINGS=$(PRJ)/settings + +include $(SETTINGS)/settings.mk +include $(SETTINGS)/std.mk +include $(SETTINGS)/dk.mk + +# Define non-platform/compiler specific settings +COMPONENT_NAME=OfficeDevDisableCommandsTest +OUT_COMP_CLASS = $(OUT_CLASS)/$(COMPONENT_NAME) + +JAVAFILES = \ + DisableCommandsTest.java + +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\ + $(PATH_SEPARATOR)$(OUT_COMP_CLASS)) + + +# Targets +.PHONY: ALL +ALL : OfficeDevDisableCommandsTest + +include $(SETTINGS)/stdtarget.mk + +$(OUT_COMP_CLASS) : $(OUT) + $(MKDIR) $(subst /,$(PS),$@) + +$(CLASSFILES) : $(OUT_COMP_CLASS) $(JAVAFILES) + javac -classpath "$(SDK_CLASSPATH)" -d $(OUT_COMP_CLASS) $(JAVAFILES) + +OfficeDevDisableCommandsTest : $(CLASSFILES) + @echo -------------------------------------------------------------------------------- + @echo Please use the following command to execute the example! + @echo - + @echo make DisableCommandsTest.run + @echo -------------------------------------------------------------------------------- + +%.run: $(OUT_COMP_CLASS)/%.class + java -classpath "$(SDK_CLASSPATH)" $(basename $@) + +.PHONY: clean +clean : + -$(DELRECURSIVE) $(subst /,$(PS),$(OUT_COMP_CLASS)) |