Kaydet (Commit) 1f234c14 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS sdksample (1.4.4); FILE MERGED

2005/01/28 14:15:20 jsc 1.4.4.5: #i29308# prepare path for del command (windows only)
2004/10/29 07:33:42 jsc 1.4.4.4: #i29308# cleanup
2004/07/30 08:35:30 jsc 1.4.4.3: #i29308# integrate new multiple inheritance interface
2004/06/30 09:10:28 jsc 1.4.4.2: #i29308# use of new UNO features
2004/06/24 09:39:02 jsc 1.4.4.1: #i26335# use zip for packaging
üst db782001
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
# #
# $RCSfile: Makefile,v $ # $RCSfile: Makefile,v $
# #
# $Revision: 1.4 $ # $Revision: 1.5 $
# #
# last change: $Author: rt $ $Date: 2004-05-18 13:22:14 $ # last change: $Author: rt $ $Date: 2005-01-31 16:18:16 $
# #
# The Contents of this file are made available subject to the terms of # The Contents of this file are made available subject to the terms of
# the BSD license. # the BSD license.
...@@ -49,26 +49,15 @@ include $(SETTINGS)/dk.mk ...@@ -49,26 +49,15 @@ include $(SETTINGS)/dk.mk
include ../../../thumbs.mk include ../../../thumbs.mk
IDLFILES = XImageShrink.idl
IDLFILES2 = ImageShrink.idl
PACKAGE = org/openoffice/test PACKAGE = org/openoffice/test
GENJAVAFILES = $(patsubst %.idl,$(OUT_COMP_GEN)/$(PACKAGE)/%.java,$(IDLFILES))
GENURDFILES = $(patsubst %.idl,$(OUT_COMP_GEN)/%.urd,$(IDLFILES))
GENURDFILES += $(patsubst %.idl,$(OUT_COMP_GEN)/%.urd,$(IDLFILES2))
CLASSFILES = $(subst $(OUT_COMP_GEN),$(OUT_COMP_CLASS),$(GENJAVAFILES:.java=.class))
SDK_CLASSPATH = $(subst $(EMPTYSTRING) $(PATH_SEPARATOR),$(PATH_SEPARATOR),$(CLASSPATH)\ SDK_CLASSPATH = $(subst $(EMPTYSTRING) $(PATH_SEPARATOR),$(PATH_SEPARATOR),$(CLASSPATH)\
$(PATH_SEPARATOR)$(OUT_COMP_CLASS)) $(PATH_SEPARATOR)$(OUT_COMP_CLASS))
# Targets # Targets
.PHONY: ALL .PHONY: ALL
ALL : \ ALL : \
$(CLASSFILES) $(GENCLASSFILES)
include $(SETTINGS)/stdtarget.mk include $(SETTINGS)/stdtarget.mk
...@@ -77,18 +66,14 @@ $(OUT_COMP_GEN)/%.urd : %.idl ...@@ -77,18 +66,14 @@ $(OUT_COMP_GEN)/%.urd : %.idl
$(IDLC) -I. -I../../.. -I$(IDL_DIR) -O$(OUT_COMP_GEN) $^ $(IDLC) -I. -I../../.. -I$(IDL_DIR) -O$(OUT_COMP_GEN) $^
$(OUT_COMP_GEN)/%.rdb : $(GENURDFILES) $(OUT_COMP_GEN)/%.rdb : $(GENURDFILES)
-$(DEL) $(subst \\,\,$(subst /,$(PS),$@))
-$(MKDIR) $(subst /,$(PS),$(@D)) -$(MKDIR) $(subst /,$(PS),$(@D))
-$(DEL) $(subst /,$(PS),$@)
$(REGMERGE) $@ /UCR $(GENURDFILES) $(REGMERGE) $@ /UCR $(GENURDFILES)
$(OUT_COMP_GEN)/%.java : $(COMPONENT_RDB) $(OUT_COMP_CLASS)/%.class : $(COMPONENT_RDB)
-$(MKDIR) $(subst /,$(PS),$(@D))
$(JAVAMAKER) -BUCR -nD -T$(subst /,.,$(patsubst $(OUT_COMP_GEN)/%.java,%,$@)) -O$(OUT_COMP_GEN) $(COMPONENT_RDB) $(DKREGISTRYNAME)
$(CLASSFILES) : $(GENJAVAFILES)
-$(MKDIR) $(subst /,$(PS),$(@D)) -$(MKDIR) $(subst /,$(PS),$(@D))
$(SDK_JAVAC) $(JAVAC_FLAGS) -classpath "$(SDK_CLASSPATH)" -d $(OUT_COMP_CLASS) $(GENJAVAFILES) $(JAVAMAKER) -BUCR -nD $(GENTYPELIST) -O$(OUT_COMP_CLASS) $(COMPONENT_RDB) $(OFFICE_TYPE_LIBRARY)
.PHONY: clean .PHONY: clean
clean : clean :
-$(DEL) $(subst \\,\,$(subst /,$(PS),$(CLASSFILES))) -$(DEL) $(subst \\,\,$(subst /,$(PS),$(GENCLASSFILES)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment