1*b1cdbd2cSJim Jagielski#************************************************************** 2*b1cdbd2cSJim Jagielski# 3*b1cdbd2cSJim Jagielski# Licensed to the Apache Software Foundation (ASF) under one 4*b1cdbd2cSJim Jagielski# or more contributor license agreements. See the NOTICE file 5*b1cdbd2cSJim Jagielski# distributed with this work for additional information 6*b1cdbd2cSJim Jagielski# regarding copyright ownership. The ASF licenses this file 7*b1cdbd2cSJim Jagielski# to you under the Apache License, Version 2.0 (the 8*b1cdbd2cSJim Jagielski# "License"); you may not use this file except in compliance 9*b1cdbd2cSJim Jagielski# with the License. You may obtain a copy of the License at 10*b1cdbd2cSJim Jagielski# 11*b1cdbd2cSJim Jagielski# http://www.apache.org/licenses/LICENSE-2.0 12*b1cdbd2cSJim Jagielski# 13*b1cdbd2cSJim Jagielski# Unless required by applicable law or agreed to in writing, 14*b1cdbd2cSJim Jagielski# software distributed under the License is distributed on an 15*b1cdbd2cSJim Jagielski# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b1cdbd2cSJim Jagielski# KIND, either express or implied. See the License for the 17*b1cdbd2cSJim Jagielski# specific language governing permissions and limitations 18*b1cdbd2cSJim Jagielski# under the License. 19*b1cdbd2cSJim Jagielski# 20*b1cdbd2cSJim Jagielski#************************************************************** 21*b1cdbd2cSJim Jagielski 22*b1cdbd2cSJim Jagielski# Builds the C++ component example of the Developers Guide. 23*b1cdbd2cSJim Jagielski 24*b1cdbd2cSJim JagielskiPRJ=../../../.. 25*b1cdbd2cSJim JagielskiSETTINGS=$(PRJ)/settings 26*b1cdbd2cSJim Jagielski 27*b1cdbd2cSJim Jagielskiinclude $(SETTINGS)/settings.mk 28*b1cdbd2cSJim Jagielskiinclude $(SETTINGS)/std.mk 29*b1cdbd2cSJim Jagielskiinclude $(SETTINGS)/dk.mk 30*b1cdbd2cSJim Jagielski 31*b1cdbd2cSJim Jagielski# Define non-platform/compiler specific settings 32*b1cdbd2cSJim JagielskiSAMPLE_NAME=CppComponentSample 33*b1cdbd2cSJim JagielskiSAMPLE_INC_OUT=$(OUT_INC)/$(SAMPLE_NAME) 34*b1cdbd2cSJim JagielskiSAMPLE_GEN_OUT=$(OUT_MISC)/$(SAMPLE_NAME) 35*b1cdbd2cSJim JagielskiSAMPLE_SLO_OUT=$(OUT_SLO)/$(SAMPLE_NAME) 36*b1cdbd2cSJim JagielskiSAMPLE_OBJ_OUT=$(OUT_OBJ)/$(SAMPLE_NAME) 37*b1cdbd2cSJim Jagielski 38*b1cdbd2cSJim JagielskiCOMP_NAME=CppComponent 39*b1cdbd2cSJim JagielskiCOMP_IMPL_NAME=$(COMP_NAME).uno.$(SHAREDLIB_EXT) 40*b1cdbd2cSJim Jagielski 41*b1cdbd2cSJim JagielskiAPP1_NAME= TestCppComponent 42*b1cdbd2cSJim JagielskiAPP1_BINARY= $(OUT_BIN)/$(APP1_NAME)$(EXE_EXT) 43*b1cdbd2cSJim Jagielski 44*b1cdbd2cSJim JagielskiCOMP_RDB_NAME = $(COMP_NAME).uno.rdb 45*b1cdbd2cSJim JagielskiCOMP_RDB = $(SAMPLE_GEN_OUT)/$(COMP_RDB_NAME) 46*b1cdbd2cSJim JagielskiCOMP_PACKAGE = $(OUT_BIN)/$(COMP_NAME).$(UNOOXT_EXT) 47*b1cdbd2cSJim JagielskiCOMP_PACKAGE_URL = $(subst \\,\,"$(COMP_PACKAGE_DIR)$(PS)$(COMP_NAME).$(UNOOXT_EXT)") 48*b1cdbd2cSJim JagielskiCOMP_UNOPKG_MANIFEST = $(SAMPLE_GEN_OUT)/$(COMP_NAME)/META-INF/manifest.xml 49*b1cdbd2cSJim Jagielski#COMP_MAPFILE = $(SAMPLE_GEN_OUT)/$(COMP_NAME).uno.map 50*b1cdbd2cSJim JagielskiCOMP_COMPONENTS = $(SAMPLE_GEN_OUT)/$(COMP_NAME).components 51*b1cdbd2cSJim Jagielski 52*b1cdbd2cSJim JagielskiCOMP_REGISTERFLAG = $(SAMPLE_GEN_OUT)/devguide_$(COMP_NAME)_register_component.flag 53*b1cdbd2cSJim JagielskiCOMP_TYPEFLAG = $(SAMPLE_GEN_OUT)/devguide_$(COMP_NAME)_types.flag 54*b1cdbd2cSJim Jagielski 55*b1cdbd2cSJim JagielskiIDLFILES = some.idl 56*b1cdbd2cSJim Jagielski 57*b1cdbd2cSJim JagielskiCXXFILES = service1_impl.cxx \ 58*b1cdbd2cSJim Jagielski service2_impl.cxx 59*b1cdbd2cSJim Jagielski 60*b1cdbd2cSJim JagielskiSLOFILES = $(patsubst %.cxx,$(SAMPLE_SLO_OUT)/%.$(OBJ_EXT),$(CXXFILES)) 61*b1cdbd2cSJim Jagielski 62*b1cdbd2cSJim JagielskiGENURDFILES = $(patsubst %.idl,$(SAMPLE_GEN_OUT)/%.urd,$(IDLFILES)) 63*b1cdbd2cSJim Jagielski 64*b1cdbd2cSJim JagielskiTYPELIST=-Tmy_module.XSomething \ 65*b1cdbd2cSJim Jagielski -Tmy_modules.MyService1 \ 66*b1cdbd2cSJim Jagielski -Tmy_module.MyService2 67*b1cdbd2cSJim Jagielski 68*b1cdbd2cSJim Jagielski# Targets 69*b1cdbd2cSJim Jagielski.PHONY: ALL 70*b1cdbd2cSJim JagielskiALL : \ 71*b1cdbd2cSJim Jagielski $(SAMPLE_NAME) 72*b1cdbd2cSJim Jagielski 73*b1cdbd2cSJim Jagielskiinclude $(SETTINGS)/stdtarget.mk 74*b1cdbd2cSJim Jagielski 75*b1cdbd2cSJim Jagielski$(SAMPLE_GEN_OUT)/%.urd : %.idl 76*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) 77*b1cdbd2cSJim Jagielski $(IDLC) -I. -I$(IDL_DIR) -O$(SAMPLE_GEN_OUT) $< 78*b1cdbd2cSJim Jagielski 79*b1cdbd2cSJim Jagielski$(SAMPLE_GEN_OUT)/%.rdb : $(GENURDFILES) 80*b1cdbd2cSJim Jagielski -$(DEL) $(subst \\,\,$(subst /,$(PS),$@)) 81*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) 82*b1cdbd2cSJim Jagielski $(REGMERGE) $@ /UCR $(GENURDFILES) 83*b1cdbd2cSJim Jagielski 84*b1cdbd2cSJim Jagielski$(COMP_TYPEFLAG) : $(COMP_RDB) $(SDKTYPEFLAG) 85*b1cdbd2cSJim Jagielski -$(DEL) $(subst \\,\,$(subst /,$(PS),$@)) 86*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) 87*b1cdbd2cSJim Jagielski $(CPPUMAKER) -Gc -BUCR -O$(SAMPLE_INC_OUT) $(TYPESLIST) $(COMP_RDB) -X$(URE_TYPES) -X$(OFFICE_TYPES) 88*b1cdbd2cSJim Jagielski echo flagged > $@ 89*b1cdbd2cSJim Jagielski 90*b1cdbd2cSJim Jagielski$(SAMPLE_SLO_OUT)/%.$(OBJ_EXT) : %.cxx $(COMP_TYPEFLAG) 91*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) 92*b1cdbd2cSJim Jagielski $(CC) $(CC_FLAGS) $(CC_INCLUDES) -I$(SAMPLE_INC_OUT) $(CC_DEFINES) $(CC_OUTPUT_SWITCH)$(subst /,$(PS),$@) $< 93*b1cdbd2cSJim Jagielski 94*b1cdbd2cSJim Jagielski#$(COMP_MAPFILE) : $(SLOFILES) 95*b1cdbd2cSJim Jagielski# -$(MKDIR) $(subst /,$(PS),$(@D)) 96*b1cdbd2cSJim Jagielski# cat $(PRJ)/settings/component.uno.map > $(COMP_MAPFILE) 97*b1cdbd2cSJim Jagielski#ifeq "$(OS)" "MACOSX" 98*b1cdbd2cSJim Jagielski# nm -gx $(SLOFILES) | $(ADDSYMBOLS) >> $(COMP_MAPFILE) 99*b1cdbd2cSJim Jagielski#endif 100*b1cdbd2cSJim Jagielski 101*b1cdbd2cSJim Jagielskiifeq "$(OS)" "WIN" 102*b1cdbd2cSJim Jagielski$(SHAREDLIB_OUT)/%.$(SHAREDLIB_EXT) : $(SLOFILES) 103*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) 104*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(SAMPLE_GEN_OUT)) 105*b1cdbd2cSJim Jagielski $(LINK) $(COMP_LINK_FLAGS) /OUT:$@ \ 106*b1cdbd2cSJim Jagielski /MAP:$(SAMPLE_GEN_OUT)/$(subst $(SHAREDLIB_EXT),map,$(@F)) $(SLOFILES) \ 107*b1cdbd2cSJim Jagielski $(CPPUHELPERLIB) $(CPPULIB) $(SALLIB) msvcrt.lib kernel32.lib 108*b1cdbd2cSJim Jagielski $(LINK_MANIFEST) 109*b1cdbd2cSJim Jagielskielse 110*b1cdbd2cSJim Jagielski#$(SHAREDLIB_OUT)/%.$(SHAREDLIB_EXT) : $(SLOFILES) $(COMP_MAPFILE) 111*b1cdbd2cSJim Jagielski$(SHAREDLIB_OUT)/%.$(SHAREDLIB_EXT) : $(SLOFILES) 112*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) && $(DEL) $(subst \\,\,$(subst /,$(PS),$@)) 113*b1cdbd2cSJim Jagielski $(LINK) $(COMP_LINK_FLAGS) $(LINK_LIBS) -o $@ $(SLOFILES) \ 114*b1cdbd2cSJim Jagielski $(CPPUHELPERLIB) $(CPPULIB) $(SALLIB) $(STC++LIB) $(CPPUHELPERDYLIB) $(CPPUDYLIB) $(SALDYLIB) 115*b1cdbd2cSJim Jagielskiifeq "$(OS)" "MACOSX" 116*b1cdbd2cSJim Jagielski $(INSTALL_NAME_URELIBS) $@ 117*b1cdbd2cSJim Jagielskiendif 118*b1cdbd2cSJim Jagielskiendif 119*b1cdbd2cSJim Jagielski 120*b1cdbd2cSJim Jagielski# rule for component package manifest 121*b1cdbd2cSJim Jagielski$(SAMPLE_GEN_OUT)/%/manifest.xml : 122*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) 123*b1cdbd2cSJim Jagielski @echo $(OSEP)?xml version="$(QM)1.0$(QM)" encoding="$(QM)UTF-8$(QM)"?$(CSEP) > $@ 124*b1cdbd2cSJim Jagielski @echo $(OSEP)!DOCTYPE manifest:manifest PUBLIC "$(QM)-//OpenOffice.org//DTD Manifest 1.0//EN$(QM)" "$(QM)Manifest.dtd$(QM)"$(CSEP) >> $@ 125*b1cdbd2cSJim Jagielski @echo $(OSEP)manifest:manifest xmlns:manifest="$(QM)http://openoffice.org/2001/manifest$(QM)"$(CSEP) >> $@ 126*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)$(OSEP)manifest:file-entry manifest:media-type="$(QM)application/vnd.sun.star.uno-typelibrary;type=RDB$(QM)" >> $@ 127*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)manifest:full-path="$(QM)$(subst /META-INF,,$(subst $(SAMPLE_GEN_OUT)/,,$(@D))).uno.rdb$(QM)"/$(CSEP) >> $@ 128*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)$(OSEP)manifest:file-entry manifest:media-type="$(QM)application/vnd.sun.star.uno-components;platform=$(UNOPKG_PLATFORM)$(QM)">> $@ 129*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)manifest:full-path="$(QM)$(COMP_NAME).components$(QM)"/$(CSEP)>> $@ 130*b1cdbd2cSJim Jagielski @echo $(OSEP)/manifest:manifest$(CSEP) >> $@ 131*b1cdbd2cSJim Jagielski 132*b1cdbd2cSJim Jagielski$(COMP_COMPONENTS) : 133*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) 134*b1cdbd2cSJim Jagielski @echo $(OSEP)?xml version="$(QM)1.0$(QM)" encoding="$(QM)UTF-8$(QM)"?$(CSEP) > $@ 135*b1cdbd2cSJim Jagielski @echo $(OSEP)components xmlns="$(QM)http://openoffice.org/2010/uno-components$(QM)"$(CSEP) >> $@ 136*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)$(OSEP)component loader="$(QM)com.sun.star.loader.SharedLibrary$(QM)" uri="$(QM)$(UNOPKG_PLATFORM)/$(COMP_IMPL_NAME)$(QM)"$(CSEP) >> $@ 137*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)$(OSEP)implementation name="$(QM)my_module.my_sc_implementation.MyService1$(QM)"$(CSEP) >> $@ 138*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)$(OSEP)service name="$(QM)my_module.MyService1$(QM)"/$(CSEP) >> $@ 139*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)$(OSEP)/implementation$(CSEP) >> $@ 140*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)$(OSEP)implementation name="$(QM)my_module.my_sc_implementation.MyService2$(QM)"$(CSEP) >> $@ 141*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)$(OSEP)service name="$(QM)my_module.MyService2$(QM)"/$(CSEP) >> $@ 142*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)$(OSEP)/implementation$(CSEP) >> $@ 143*b1cdbd2cSJim Jagielski @echo $(SQM) $(SQM)$(OSEP)/component$(CSEP) >> $@ 144*b1cdbd2cSJim Jagielski @echo $(OSEP)/components$(CSEP) >> $@ 145*b1cdbd2cSJim Jagielski 146*b1cdbd2cSJim Jagielski$(COMP_PACKAGE) : $(SHAREDLIB_OUT)/$(COMP_IMPL_NAME) $(COMP_RDB) $(COMP_UNOPKG_MANIFEST) $(COMP_COMPONENTS) 147*b1cdbd2cSJim Jagielski -$(DEL) $(subst \\,\,$(subst /,$(PS),$@)) 148*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) 149*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(SAMPLE_GEN_OUT)/$(UNOPKG_PLATFORM)) 150*b1cdbd2cSJim Jagielski $(COPY) $(subst /,$(PS),$<) $(subst /,$(PS),$(SAMPLE_GEN_OUT)/$(UNOPKG_PLATFORM)) 151*b1cdbd2cSJim Jagielski cd $(subst /,$(PS),$(SAMPLE_GEN_OUT)) && $(SDK_ZIP) ../../bin/$(@F) $(COMP_NAME).components 152*b1cdbd2cSJim Jagielski cd $(subst /,$(PS),$(SAMPLE_GEN_OUT)) && $(SDK_ZIP) -u ../../bin/$(@F) $(COMP_RDB_NAME) $(UNOPKG_PLATFORM)/$(<F) 153*b1cdbd2cSJim Jagielski cd $(subst /,$(PS),$(SAMPLE_GEN_OUT)/$(subst .$(UNOOXT_EXT),,$(@F))) && $(SDK_ZIP) -u ../../../bin/$(@F) META-INF/manifest.xml 154*b1cdbd2cSJim Jagielski 155*b1cdbd2cSJim Jagielski 156*b1cdbd2cSJim Jagielski$(COMP_REGISTERFLAG) : $(COMP_PACKAGE) 157*b1cdbd2cSJim Jagielskiifeq "$(SDK_AUTO_DEPLOYMENT)" "YES" 158*b1cdbd2cSJim Jagielski -$(DEL) $(subst \\,\,$(subst /,$(PS),$@)) 159*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) 160*b1cdbd2cSJim Jagielski $(DEPLOYTOOL) $(COMP_PACKAGE_URL) 161*b1cdbd2cSJim Jagielski @echo flagged > $(subst /,$(PS),$@) 162*b1cdbd2cSJim Jagielskielse 163*b1cdbd2cSJim Jagielski @echo -------------------------------------------------------------------------------- 164*b1cdbd2cSJim Jagielski @echo If you want to install your component automatically, please set the environment 165*b1cdbd2cSJim Jagielski @echo variable SDK_AUTO_DEPLOYMENT = YES. But note that auto deployment is only 166*b1cdbd2cSJim Jagielski @echo possible if no office instance is running. 167*b1cdbd2cSJim Jagielski @echo -------------------------------------------------------------------------------- 168*b1cdbd2cSJim Jagielskiendif 169*b1cdbd2cSJim Jagielski 170*b1cdbd2cSJim Jagielski$(SAMPLE_OBJ_OUT)/$(APP1_NAME).$(OBJ_EXT) : $(APP1_NAME).cxx $(COMP_TYPEFLAG) 171*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) 172*b1cdbd2cSJim Jagielski $(CC) $(CC_FLAGS) $(CC_INCLUDES) -I$(SAMPLE_INC_OUT) $(CC_DEFINES) $(CC_OUTPUT_SWITCH)$(subst /,$(PS),$@) $< 173*b1cdbd2cSJim Jagielski 174*b1cdbd2cSJim Jagielski$(OUT_BIN)/_$(APP1_NAME)$(EXE_EXT) : $(SAMPLE_OBJ_OUT)/$(APP1_NAME).$(OBJ_EXT) 175*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(@D)) 176*b1cdbd2cSJim Jagielski -$(MKDIR) $(subst /,$(PS),$(SAMPLE_GEN_OUT)) 177*b1cdbd2cSJim Jagielskiifeq "$(OS)" "WIN" 178*b1cdbd2cSJim Jagielski $(LINK) $(EXE_LINK_FLAGS) /OUT:$@ /MAP:$(SAMPLE_GEN_OUT)/$(basename $(@F)).map \ 179*b1cdbd2cSJim Jagielski $< $(CPPUHELPERLIB) $(CPPULIB) $(SALHELPERLIB) $(SALLIB) 180*b1cdbd2cSJim Jagielskielse 181*b1cdbd2cSJim Jagielski $(LINK) $(EXE_LINK_FLAGS) $(LINK_LIBS) -o $@ $< \ 182*b1cdbd2cSJim Jagielski $(CPPUHELPERLIB) $(CPPULIB) $(SALHELPERLIB) $(SALLIB) $(STDC++LIB) $(CPPUHELPERDYLIB) $(CPPUDYLIB) $(SALHELPERDYLIB) $(SALDYLIB) 183*b1cdbd2cSJim Jagielskiifeq "$(OS)" "MACOSX" 184*b1cdbd2cSJim Jagielski $(INSTALL_NAME_URELIBS_BIN) $@ 185*b1cdbd2cSJim Jagielskiendif 186*b1cdbd2cSJim Jagielskiendif 187*b1cdbd2cSJim Jagielski 188*b1cdbd2cSJim Jagielski$(OUT_BIN)/$(APP1_NAME)$(EXE_EXT) : $(OUT_BIN)/_$(APP1_NAME)$(EXE_EXT) 189*b1cdbd2cSJim Jagielski $(COPY) $(subst /,$(PS),$(BIN_DIR)/unoapploader$(EXE_EXT)) $(subst /,$(PS),$@) 190*b1cdbd2cSJim Jagielski# touch the target to renew the date for correct dependencies. 191*b1cdbd2cSJim Jagielski# Note: no touch under windows! The unoapploader.exe is copied always. 192*b1cdbd2cSJim Jagielskiifneq "$(OS)" "WIN" 193*b1cdbd2cSJim Jagielski touch $@ 194*b1cdbd2cSJim Jagielskiendif 195*b1cdbd2cSJim Jagielski 196*b1cdbd2cSJim Jagielski$(SAMPLE_NAME) : $(COMP_REGISTERFLAG) $(APP1_BINARY) 197*b1cdbd2cSJim Jagielski @echo -------------------------------------------------------------------------------- 198*b1cdbd2cSJim Jagielski @echo Please use the following command to execute the example! 199*b1cdbd2cSJim Jagielski @echo - 200*b1cdbd2cSJim Jagielski @echo $(MAKE) $(APP1_NAME).run 201*b1cdbd2cSJim Jagielski @echo -------- 202*b1cdbd2cSJim Jagielski @echo The simple C++ component was installed if SDK_AUTO_DEPLOYMENT = YES. 203*b1cdbd2cSJim Jagielski @echo You can use this component inside your office installation, see the example 204*b1cdbd2cSJim Jagielski @echo description. You can also load the "$(QM)SimpleComponent.odt$(QM)" document containing 205*b1cdbd2cSJim Jagielski @echo a StarBasic macro which uses this component. 206*b1cdbd2cSJim Jagielski @echo - 207*b1cdbd2cSJim Jagielski @echo $(MAKE) SimpleComponent.odt.load 208*b1cdbd2cSJim Jagielski @echo -------------------------------------------------------------------------------- 209*b1cdbd2cSJim Jagielski 210*b1cdbd2cSJim Jagielski%.run: $(OUT_BIN)/%$(EXE_EXT) 211*b1cdbd2cSJim Jagielski $(subst /,$(PS),$(OUT_BIN))$(PS)$(basename $@) 212*b1cdbd2cSJim Jagielski# cd $(subst /,$(PS),$(OUT_BIN)) && $(basename $@) 213*b1cdbd2cSJim Jagielski 214*b1cdbd2cSJim JagielskiSimpleComponent.odt.load : $(COMP_REGISTERFLAG) 215*b1cdbd2cSJim Jagielski "$(OFFICE_PROGRAM_PATH)$(PS)soffice" $(basename $@) 216*b1cdbd2cSJim Jagielski 217*b1cdbd2cSJim Jagielski.PHONY: clean 218*b1cdbd2cSJim Jagielskiclean : 219*b1cdbd2cSJim Jagielski -$(DELRECURSIVE) $(subst /,$(PS),$(SAMPLE_INC_OUT)) 220*b1cdbd2cSJim Jagielski -$(DELRECURSIVE) $(subst /,$(PS),$(SAMPLE_GEN_OUT)) 221*b1cdbd2cSJim Jagielski -$(DELRECURSIVE) $(subst /,$(PS),$(SAMPLE_SLO_OUT)) 222*b1cdbd2cSJim Jagielski -$(DELRECURSIVE) $(subst /,$(PS),$(SAMPLE_OBJ_OUT)) 223*b1cdbd2cSJim Jagielski -$(DEL) $(subst \\,\,$(subst /,$(PS),$(COMP_COMPONENTS))) 224*b1cdbd2cSJim Jagielski -$(DEL) $(subst \\,\,$(subst /,$(PS),$(OUT_BIN)/$(COMP_NAME)*)) 225*b1cdbd2cSJim Jagielski -$(DEL) $(subst \\,\,$(subst /,$(PS),$(OUT_BIN)/*$(APP1_NAME)*)) 226