diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-06-10 09:48:04 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-06-10 09:48:04 +0000 |
commit | 6bef716cc191ebf684b1b9ee7ab6b9649a87a8ec (patch) | |
tree | 1b6265aaada772aa80d9e936c8a969325b9ea9e2 /odk/examples/java/ToDo | |
parent | d4fbd9346acfc146fad2c5cfbdbe52d086390246 (diff) |
INTEGRATION: CWS sdk02 (1.13.6); FILE MERGED
2003/05/14 11:46:15 jsc 1.13.6.1: #109045# insert JAVAC_FLAGS option
Diffstat (limited to 'odk/examples/java/ToDo')
-rw-r--r-- | odk/examples/java/ToDo/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/odk/examples/java/ToDo/Makefile b/odk/examples/java/ToDo/Makefile index ae4fd7e52995..fc46a8b68cb0 100644 --- a/odk/examples/java/ToDo/Makefile +++ b/odk/examples/java/ToDo/Makefile @@ -54,36 +54,40 @@ ALL : JavaToDoExample include $(SETTINGS)/stdtarget.mk -$(OUT_COMP_GEN) : $(OUT) - $(MKDIR) $(subst /,$(PS),$@) - $(MKDIR) $(subst /,$(PS),$(OUT_COMP_CLASS)) - -$(OUT_COMP_CLASS)/%.Manifest : $(OUT_COMP_GEN) +$(OUT_COMP_CLASS)/%.Manifest : + -$(MKDIR) $(subst /,$(PS),$(@D)) @echo RegistrationClassName: $(basename $(basename $(@F)))> $@ -$(OUT_COMP_GEN)/%.urd : %.idl $(OUT_COMP_GEN) +$(OUT_COMP_GEN)/%.urd : %.idl + -$(MKDIR) $(subst /,$(PS),$(@D)) idlc -C -I. -I$(IDL_DIR) -O$(OUT_COMP_GEN) $< $(OUT_COMP_GEN)/%.rdb : $(GENURDFILES) + -$(MKDIR) $(subst /,$(PS),$(@D)) -$(DEL) $(subst /,$(PS),$@) regmerge $@ /UCR $(GENURDFILES) -$(OUT_COMP_GEN)/%.java : $(COMPONENT1_RDB) $(OUT_COMP_GEN) +$(OUT_COMP_GEN)/%.java : $(COMPONENT1_RDB) + -$(MKDIR) $(subst /,$(PS),$(@D)) javamaker -BUCR -nD -T$(subst /,.,$(patsubst $(OUT_COMP_GEN)/%.java,%,$@)) -O$(OUT_COMP_GEN) $(COMPONENT1_RDB) $(DKREGISTRYNAME) -$(CLASSFILES) : $(OUT_COMP_GEN) $(JAVAFILES) $(GENJAVAFILES) - javac -classpath "$(SDK_CLASSPATH)" -d $(OUT_COMP_CLASS) $(GENJAVAFILES) $(JAVAFILES) +$(CLASSFILES) : $(JAVAFILES) $(GENJAVAFILES) + -$(MKDIR) $(subst /,$(PS),$(@D)) + javac $(JAVAC_FLAGS) -classpath "$(SDK_CLASSPATH)" -d $(OUT_COMP_CLASS) $(GENJAVAFILES) $(JAVAFILES) $(OUT_CLASS)/%.jar : $(OUT_COMP_CLASS)/%.Manifest $(CLASSFILES) + -$(MKDIR) $(subst /,$(PS),$(@D)) cd $(OUT_COMP_CLASS) && jar cvfm ../$(@F) $(<F) $($(basename $(basename $(@F)))_CLASSFILES) $(OUT_BIN)/%.zip : $(OUT_COMP_GEN)/%.rdb $(OUT_CLASS)/%.jar + -$(MKDIR) $(subst /,$(PS),$(@D)) $(COPY) $(subst /,$(PS),$<) $(subst /,$(PS),$(OUT_CLASS)) cd $(OUT_CLASS) && jar cvfM ../bin/$(@F) $(^F) $(DEL) $(subst /,$(PS),$(OUT_CLASS)/$(<F)) $(REGISTERFLAG) : $(COMPONENT1_PACKAGE) ifneq "$(SDK_AUTO_DEPLOYMENT)" "" + -$(MKDIR) $(subst /,$(PS),$(@D)) -$(DEL) $(subst /,$(PS),$@) $(DEPLOYTOOL) $(COMPONENT1_PACKAGE_URL) @echo flagged > $(subst /,$(PS),$@) |