summaryrefslogtreecommitdiffstats
path: root/odk/examples/OLE
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-06-10 09:45:03 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-06-10 09:45:03 +0000
commit0692696ea9c51380699916cb992c3345514af826 (patch)
tree96ea6a6a7e281a46163a91dbabcdf0375b5caf03 /odk/examples/OLE
parentINTEGRATION: CWS sdk02 (1.1.2); FILE ADDED (diff)
downloadcore-0692696ea9c51380699916cb992c3345514af826.tar.gz
core-0692696ea9c51380699916cb992c3345514af826.zip
INTEGRATION: CWS sdk02 (1.6.6); FILE MERGED
2003/05/16 14:01:24 jsc 1.6.6.1: #109045# improve build process
Diffstat (limited to 'odk/examples/OLE')
-rw-r--r--odk/examples/OLE/activex/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/odk/examples/OLE/activex/Makefile b/odk/examples/OLE/activex/Makefile
index 7fc8cb9bc9e1..9162458fe245 100644
--- a/odk/examples/OLE/activex/Makefile
+++ b/odk/examples/OLE/activex/Makefile
@@ -31,25 +31,24 @@ ALL : \
include $(SETTINGS)/stdtarget.mk
-$(OUT_COMP_GEN) : $(OUT)
- $(MKDIR) $(subst /,$(PS),$@)
- $(MKDIR) $(subst /,$(PS),$(OUT_COMP_INC))
- $(MKDIR) $(subst /,$(PS),$(OUT_COMP_SLO))
-
# Attention: so_activex.idl is no UNOIDL file!
-$(OUT_COMP_INC)/so_activex.h : so_activex.idl $(OUT_COMP_GEN)
+$(OUT_COMP_INC)/so_activex.h : so_activex.idl
+ -$(MKDIR) $(subst /,$(PS),$(@D))
midl.exe /tlb $(OUT_COMP_GEN)/so_activex.tlb /h $(OUT_COMP_INC)/so_activex.h \
/iid $(OUT_COMP_INC)/so_activex_i.c /proxy $(OUT_COMP_INC)/so_activex_p.c /dlldata \
$(OUT_COMP_INC)/dlldata.c /Oicf $<
-$(OUT_COMP_GEN)/so_activex.res : so_activex.rc $(OUT_COMP_INC)/so_activex.h $(OUT_COMP_GEN)
+$(OUT_COMP_GEN)/so_activex.res : so_activex.rc $(OUT_COMP_INC)/so_activex.h
+ -$(MKDIR) $(subst /,$(PS),$(@D))
rc $(CC_INCLUDES) /R /FO$@ so_activex.rc
-$(OUT_COMP_SLO)/%.$(OBJ_EXT) : %.cpp $(OUT_COMP_GEN)
+$(OUT_COMP_SLO)/%.$(OBJ_EXT) : %.cpp
+ -$(MKDIR) $(subst /,$(PS),$(@D))
$(CC) $(CC_FLAGS) $(CC_INCLUDES) -I$(OUT_COMP_INC) $(CC_DEFINES) $(CC_OUTPUT_SWITCH)$(subst /,$(PS),$@) $<
-$(SHAREDLIB_OUT)/$(SHAREDLIB_PRE)%.$(SHAREDLIB_EXT) : $(SLOFILES) $(OUT_COMP_GEN)/so_activex.res so_activex.def $(OUT_COMP_GEN)
- $(LINK) $(LIBRARY_LINK_FLAGS) /OUT:$@ /MAP:$(OUT_COMP_GEN)/$(COMPONENT_NAME).map \
+$(SHAREDLIB_OUT)/$(SHAREDLIB_PRE)%.$(SHAREDLIB_EXT) : $(SLOFILES) $(OUT_COMP_GEN)/so_activex.res so_activex.def
+ -$(MKDIR) $(subst /,$(PS),$(@D))
+ $(LINK) $(LIBRARY_LINK_FLAGS) /OUT:$@ /MAP:$(OUT_COMP_GEN)/$(subst $(SHAREDLIB_EXT),map,$(@F)) \
/DEF:so_activex.def /IMPLIB:$(OUT_LIB)/iso_activex.lib $(SLOFILES) \
msvcrt.lib kernel32.lib user32.lib uuid.lib advapi32.lib ole32.lib oleaut32.lib gdi32.lib \
urlmon.lib Shlwapi.lib oldnames.lib $(OUT_COMP_GEN)/so_activex.res