INTEGRATION: CWS sdk02 (1.1.2); FILE ADDED
2003/05/21 14:02:40 jsc 1.1.2.1: #109045# new
This commit is contained in:
parent
558e97f91f
commit
a00181d15b
1 changed files with 51 additions and 0 deletions
|
@ -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))
|
Loading…
Reference in a new issue