summaryrefslogtreecommitdiff
path: root/odk/examples
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-02-03 16:14:51 +0000
committerKurt Zenker <kz@openoffice.org>2006-02-03 16:14:51 +0000
commita80325cfcf353f8ea926220edf3a8571246db489 (patch)
tree16e6a53cd795ab913dbfa38d5a061fd664e1b271 /odk/examples
parent3b1aadb861fe9eb1153321975bd68086b41fe6c7 (diff)
INTEGRATION: CWS jsc5 (1.3.46); FILE MERGED
2006/02/02 12:15:37 jsc 1.3.46.1: i59703# adapt makefile to be prepared for full qualified paths
Diffstat (limited to 'odk/examples')
-rw-r--r--odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/Makefile b/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/Makefile
index ffb553ca5730..dcdab37cc792 100644
--- a/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/Makefile
+++ b/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/Makefile
@@ -2,9 +2,9 @@
#
# $RCSfile: Makefile,v $
#
-# $Revision: 1.3 $
+# $Revision: 1.4 $
#
-# last change: $Author: rt $ $Date: 2005-03-29 12:13:29 $
+# last change: $Author: kz $ $Date: 2006-02-03 17:14:51 $
#
# The Contents of this file are made available subject to the terms of
# the BSD license.
@@ -88,7 +88,7 @@ $(OUT_APP_OBJ)/%.$(OBJ_EXT) : %.cxx $(APP_TYPEFLAG)
-$(MKDIR) $(subst /,$(PS),$(@D))
$(CC) $(CC_FLAGS) $(CC_INCLUDES) -I$(OUT_APP_INC) $(CC_DEFINES) $(CC_OUTPUT_SWITCH)$(subst /,$(PS),$@) $<
-$(OUT_BIN)/_%$(EXE_EXT) : $(OUT_APP_OBJ)/%.$(OBJ_EXT)
+$(OUT_BIN)/_$(APP_NAME)$(EXE_EXT) : $(OUT_APP_OBJ)/$(APP_NAME).$(OBJ_EXT)
-$(MKDIR) $(subst /,$(PS),$(@D))
-$(MKDIR) $(subst /,$(PS),$(OUT_APP_GEN))
ifeq "$(OS)" "WIN"
@@ -99,11 +99,12 @@ else
$(CPPUHELPERLIB) $(CPPULIB) $(SALHELPERLIB) $(SALLIB) $(STLPORTLIB) $(STDC++LIB)
endif
-$(OUT_BIN)/%$(EXE_EXT) : $(OUT_BIN)/_%$(EXE_EXT)
+$(OUT_BIN)/$(APP_NAME)$(EXE_EXT) : $(OUT_BIN)/_$(APP_NAME)$(EXE_EXT)
+ -$(MKDIR) $(subst /,$(PS),$(@D))
$(COPY) $(subst /,$(PS),$(BIN_DIR)/unoapploader$(EXE_EXT)) $(subst /,$(PS),$@)
touch $@
-SimpleBootstrapCppExample : $(OUT_BIN)/SimpleBootstrap_cpp$(EXE_EXT)
+SimpleBootstrapCppExample : $(OUT_BIN)/$(APP_NAME)$(EXE_EXT)
@echo --------------------------------------------------------------------------------
@echo Please use the following command to execute the example!
@echo -