1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24MKFILENAME:=RULES.MK 25 26$(OBJ)/%.obj : %.cxx 27 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 28.IF "$(GUI)"=="UNX" 29 @$(RM) $@ $(@:s/.obj/.o/) 30 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(CFLAGSINCXX)$(PWD)/$*.cxx 31.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 32.IF "$(noadjust)"=="" 33 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 34.ENDIF # "$(noadjust)"=="" 35.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 36 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 37.ELSE 38 @@-$(RM) $@ 39.IF "$(COM)"=="GCC" 40 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cxx 41.ELSE 42 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cxx 43.ENDIF 44.ENDIF 45.IF "$(nodep)"=="" 46 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/) 47 @noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/)) 48.ENDIF # "$(nodep)"=="" 49 50$(OBJ)/%.obj : %.cpp 51 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 52.IF "$(GUI)"=="UNX" 53 @$(RM) $@ $(@:s/.obj/.o/) 54 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(CFLAGSINCXX)$(PWD)/$*.cpp 55.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 56 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 57.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 58 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 59.ELSE 60 @@-$(RM) $@ 61.IF "$(COM)"=="GCC" 62 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cpp 63.ELSE 64 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cpp 65.ENDIF 66.ENDIF 67.IF "$(nodep)"=="" 68 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/) 69 @noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/)) 70.ENDIF # "$(nodep)"=="" 71 72$(OBJ)/%.obj : %.cc 73 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 74.IF "$(GUI)"=="UNX" 75 @$(RM) $@ $(@:s/.obj/.o/) 76 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(CFLAGSINCXX)$(PWD)/$*.cc 77.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 78 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 79.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 80 @+$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 81.ELSE 82 @@$(RM) $@ 83.IF "$(COM)"=="GCC" 84 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cc 85.ELSE 86 $(COMMAND_ECHO)$(CXX) @$(mktmp $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cc ) 87.ENDIF 88.ENDIF 89 90.IF "$(ENABLE_PCH)"!="" 91# workaround for file locking problems on network volumes 92PCHOUTDIR=$(SLO)/pch 93PCHEXOUTDIR=$(SLO)/pch_ex 94$(SLO)/precompiled.% .PHONY: 95 -$(MKDIRHIER) $(SLO)/pch 96.IF "$(COM)"=="MSC" 97 $(COMMAND_ECHO)$(CXX) @$(mktmp -Fp$(PCHOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGS_NO_EXCEPTIONS) -DEXCEPTIONS_OFF $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).cxx) 98.ELIF "$(COM)"=="GCC" && "$(CCNUMVER)">="000300040000" 99 $(COMMAND_ECHO)$(CXX) -o$(SLO)/pch/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGS_NO_EXCEPTIONS) -DEXCEPTIONS_OFF $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).hxx 100 @echo "#error Tried to use wrong precompiled header" > $(SLO)/pch/precompiled_$(PRJNAME).hxx 101.ELSE # "$(COM)"=="MSC" 102 @$(TOUCH) $(SLO)/pch/precompiled_$(PRJNAME).hxx$(PCHPOST) 103.ENDIF # "$(COM)"=="MSC" 104 @echo USED_PCHFLAGS=$(CFLAGS)$(CFLAGSCXX)$(CFLAGSCXXSLO)$(CFLAGSSLO)$(CDEFS)$(CDEFSSLO)$(CDEFSMT)$(CFLAGS_NO_EXCEPTIONS) -DEXCEPTIONS_OFF$(CFLAGSAPPEND)> $(INCCOM)/pch.mk 105 106$(SLO)/precompiled_ex.% .PHONY: 107 -$(MKDIRHIER) $(SLO)/pch_ex 108.IF "$(COM)"=="MSC" 109 $(COMMAND_ECHO)$(CXX) @$(mktmp -Fp$(PCHEXOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH:s/pchname/pchname_ex/) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSEXCEPTIONS) -DEXCEPTIONS_ON $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).cxx) 110.ELIF "$(COM)"=="GCC" && "$(CCNUMVER)">="000300040000" 111 $(COMMAND_ECHO)$(CXX) -o$(SLO)/pch_ex/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSEXCEPTIONS) -DEXCEPTIONS_ON $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).hxx 112 @echo "#error Tried to use wrong precompiled header" > $(SLO)/pch_ex/precompiled_$(PRJNAME).hxx 113.ELSE # "$(COM)"=="MSC" 114 @$(TOUCH) $(SLO)/pch_ex/precompiled_$(PRJNAME).hxx$(PCHPOST) 115.ENDIF # "$(COM)"=="MSC" 116 @echo USED_EXCEPTIONS_PCHFLAGS=$(subst,$(CFLAGSDEBUG), $(CFLAGS))$(CFLAGSCXX)$(CFLAGSCXXSLO)$(CFLAGSSLO)$(CDEFS)$(CDEFSSLO)$(CDEFSMT)$(CFLAGSEXCEPTIONS) -DEXCEPTIONS_ON$(CFLAGSAPPEND)> $(INCCOM)/pch_ex.mk 117 118.INCLUDE .IGNORE : $(INCCOM)/pch.mk 119.INCLUDE .IGNORE : $(INCCOM)/pch_ex.mk 120.ENDIF # "$(ENABLE_PCH)"!="" 121 122$(SLO)/%.obj : %.cxx 123 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 124.IF "$(ENABLE_PCH)"!="" 125# just a helper var 126 @noop $(assign used_exc_switches=$(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS))) 127# cleanup first 128 @noop $(assign ACT_PCH_SWITCHES:=$(NULL)) 129# eq: first string is a copy of the compile line, 130# second generated by pch creation 131# use pch with exception support 132 @noop $(assign ACT_PCH_SWITCHES+=$(eq,$(strip $(USED_EXCEPTIONS_PCHFLAGS)),$(strip $(subst,$(CFLAGSDEBUG), $(CFLAGS))$(CFLAGSCXX)$(CFLAGSCXXSLO)$(CFLAGSSLO)$(CDEFS:s/\//)$(CDEFSSLO)$(CDEFSMT)$(used_exc_switches)$(CFLAGSAPPEND)) $(CFLAGS_USE_EXCEPTIONS_PCH) $(NULL))) 133# use pch without exception support 134 @noop $(assign ACT_PCH_SWITCHES+=$(eq,$(strip $(USED_PCHFLAGS)),$(strip $(subst,$(CFLAGSDEBUG), $(CFLAGS))$(CFLAGSCXX)$(CFLAGSCXXSLO)$(CFLAGSSLO)$(CDEFS:s/\//)$(CDEFSSLO)$(CDEFSMT)$(used_exc_switches)$(CFLAGSAPPEND)) $(CFLAGS_USE_PCH) $(NULL))) 135.ENDIF # "$(ENABLE_PCH)"!="" 136.IF "$(GUI)"=="UNX" 137.IF "$(TEST)"!="" 138 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) -E $(CFLAGSINCXX)$(PWD)/$*.cxx 139.ELSE 140 @$(RM) $@ $(@:s/.obj/.o/) 141 $(COMMAND_ECHO)$(CAPTURE_COMMAND) $(CXX) $(ACT_PCH_SWITCHES) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(CFLAGSINCXX)$(PWD)/$*.cxx $(CAPTURE_OUTPUT) 142.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" && "$(CAPTURE_COMMAND)"=="" 143 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 144.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 145 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 146.ENDIF 147.ELSE # "$(GUI)"=="UNX" 148 @@-$(RM) $@ 149.IF "$(COM)"=="GCC" 150 $(COMMAND_ECHO)$(CAPTURE_COMMAND) $(CXX) $(ACT_PCH_SWITCHES) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cxx $(CAPTURE_OUTPUT) 151.ELSE 152 $(COMMAND_ECHO)$(CAPTURE_COMMAND) $(CXX) $(ACT_PCH_SWITCHES) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cxx $(CAPTURE_OUTPUT) 153.ENDIF # "$(COM)"=="GCC" 154.ENDIF # "$(GUI)"=="UNX" 155.IF "$(nodep)"=="" 156# fixme: write to file 157 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/) 158 @noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/)) 159.ENDIF # "$(nodep)"=="" 160 161$(SLO)/%.obj : %.cpp 162 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 163.IF "$(GUI)"=="UNX" 164.IF "$(TEST)"!="" 165 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) -E $(CFLAGSINCXX)$(PWD)/$*.cpp 166.ELSE 167 @$(RM) $@ $(@:s/.obj/.o/) 168 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(CFLAGSINCXX)$(PWD)/$*.cpp 169.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 170 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 171.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 172 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 173.ENDIF 174.ELSE 175 @@-$(RM) $@ 176.IF "$(COM)"=="GCC" 177 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cpp 178.ELSE 179 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cpp 180.ENDIF 181.ENDIF 182.IF "$(nodep)"=="" 183 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/) 184 @noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/)) 185.ENDIF # "$(nodep)"=="" 186 187$(SLO)/%.obj : $(MISC)/%.cxx 188 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE) 189.IF "$(GUI)"=="UNX" 190.IF "$(TEST)"!="" 191 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) -E $(CFLAGSINCXX)$(MISC)/$*.cxx 192.ELSE 193 @$(RM) $@ $(@:s/.obj/.o/) 194 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(CFLAGSINCXX)$(MISC)/$*.cxx 195.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 196 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 197.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 198 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 199.ENDIF 200.ELSE 201.IF "$(COM)"=="GCC" 202 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(MISC)/$*.cxx 203.ELSE 204 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(MISC)/$*.cxx 205.ENDIF 206.ENDIF 207.IF "$(nodep)"=="" 208 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $@ ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/) 209 @noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/)) 210.ENDIF # "$(nodep)"=="" 211 212$(SLO)/%.obj : $(MISC)/%.cc 213 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE) 214.IF "$(GUI)"=="UNX" 215.IF "$(TEST)"!="" 216 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) -E $(CFLAGSINCXX)$(MISC)/$*.cc 217.ELSE 218 @$(RM) $@ $(@:s/.obj/.o/) 219 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(CFLAGSINCXX)$(MISC)/$*.cc 220.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 221 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 222.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 223 @+$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 224.ENDIF 225.ELSE 226 $(COMMAND_ECHO)$(CXX) @$(mktmp $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(MISC)/$*.cc ) 227.ENDIF 228 229$(OBJ)/%.obj : $(MISC)/%.cxx 230 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE) 231.IF "$(GUI)"=="UNX" 232.IF "$(TEST)"!="" 233 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) -E $(CFLAGSINCXX)$(MISC)/$*.cxx 234.ELSE 235 @$(RM) $@ $(@:s/.obj/.o/) 236 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(CFLAGSINCXX)$(MISC)/$*.cxx 237.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 238 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 239.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 240 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 241.ENDIF 242.ELSE 243.IF "$(COM)"=="GCC" 244 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(MISC)/$*.cxx 245.ELSE 246 $(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(MISC)/$*.cxx 247.ENDIF 248.ENDIF 249.IF "$(nodep)"=="" 250 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/) 251 @noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/)) 252.ENDIF # "$(nodep)"=="" 253 254$(OBJ)/%.obj : %.c 255 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 256.IF "$(GUI)"=="UNX" 257.IF "$(TEST)"!="" 258 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) -E $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.c 259.ELSE 260 @$(RM) $@ $(@:s/.obj/.o/) 261 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.c 262.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 263.IF "$(noadjust)"=="" 264 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 265.ENDIF # "$(noadjust)"=="" 266.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 267 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 268.ENDIF 269.ELSE 270.IF "$(COM)"=="GCC" 271 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $*.c 272.ELSE 273 .IF "$(VERBOSE)" == "TRUE" 274 -@echo Cflags: $(CFLAGS) $(INCLUDE) 275 .ENDIF 276 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $*.c 277.ENDIF 278.ENDIF 279.IF "$(nodep)"=="" 280 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/) 281 @noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/)) 282.ENDIF # "$(nodep)"=="" 283 284$(OBJ)/%.obj : $(MISC)/%.c 285 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE) 286.IF "$(GUI)"=="UNX" 287 @$(RM) $@ $(@:s/.obj/.o/) 288 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(MISC)/$*.c 289.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 290 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 291.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 292 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 293.ELSE 294 @@-$(RM) $@ 295.IF "$(COM)"=="GCC" 296 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(MISC)/$*.c 297.ELSE 298 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(MISC)/$*.c 299.ENDIF 300.ENDIF 301.IF "$(nodep)"=="" 302 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/) 303 @noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/)) 304.ENDIF # "$(nodep)"=="" 305 306$(SLO)/%.obj : $(MISC)/%.c 307 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE) 308.IF "$(GUI)"=="UNX" 309 @$(RM) $@ $(@:s/.obj/.o/) 310 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(MISC)/$*.c 311.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 312 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 313.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 314 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 315.ELSE 316 @@-$(RM) $@ 317.IF "$(COM)"=="GCC" 318 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(MISC)/$*.c 319.ELSE 320 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(MISC)/$*.c 321.ENDIF 322.ENDIF 323.IF "$(nodep)"=="" 324 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/) 325# avoid _version objects (see tg_shl.mk) - quite hacky... 326 @noop $(!eq,$@,$(@:s/_version.obj/.obj/) $(NULL) $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/))) 327.ENDIF # "$(nodep)"=="" 328 329$(SLO)/%.obj : %.c 330 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 331.IF "$(GUI)"=="UNX" 332 @$(RM) $@ $(@:s/.obj/.o/) 333 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $*.c 334.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 335 $(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/) 336.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" 337 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 338.ELSE 339 @@-$(RM) $@ 340.IF "$(COM)"=="GCC" 341 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $*.c 342.ELSE 343 $(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $*.c 344.ENDIF 345.ENDIF 346.IF "$(nodep)"=="" 347 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/) 348 @noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/)) 349.ENDIF # "$(nodep)"=="" 350 351# Objective-C files 352$(OBJ)/%.obj : %.m 353 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 354.IF "$(OS)"=="MACOSX" 355.IF "$(TEST)"!="" 356 $(COMMAND_ECHO)$(objc) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) -E $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.m 357.ELSE 358 @$(RM) $@ $(@:s/.obj/.o/) 359 $(COMMAND_ECHO)$(objc) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.m 360 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 361.ENDIF 362.ELSE # "$(OS)"=="MACOSX" 363 @echo "No recipe for compiling Objective-C files is available for this platform" 364.ENDIF "$(OS)"=="MACOSX" 365 366# Objective-C files 367$(OBJ)/%.obj : $(MISC)/%.m 368 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE) 369.IF "$(OS)"=="MACOSX" 370 @$(RM) $@ $(@:s/.obj/.o/) 371 $(COMMAND_ECHO)$(objc) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(MISC)/$*.m 372 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 373.ELSE # "$(OS)"=="MACOSX" 374 @echo "No recipe for compiling Objective-C files is available for this platform" 375.ENDIF "$(OS)"=="MACOSX" 376 377# Objective-C files 378$(SLO)/%.obj : $(MISC)/%.m 379 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE) 380.IF "$(OS)"=="MACOSX" 381 @$(RM) $@ $(@:s/.obj/.o/) 382 $(COMMAND_ECHO)$(objc) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(MISC)/$*.m 383 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 384.ELSE # "$(OS)"=="MACOSX" 385 @echo "No recipe for compiling Objective-C files is available for this platform" 386.ENDIF "$(OS)"=="MACOSX" 387 388# Objective-C files 389$(SLO)/%.obj : %.m 390 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 391.IF "$(OS)"=="MACOSX" 392 @$(RM) $@ $(@:s/.obj/.o/) 393 $(COMMAND_ECHO)$(objc) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $*.m 394 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 395.ELSE # "$(OS)"=="MACOSX" 396 @echo "No recipe for compiling Objective-C files is available for this platform" 397.ENDIF "$(OS)"=="MACOSX" 398 399# dependencies c / c++ 400 401not_existing/s_%.dpcc : %.c;@noop $(assign all_local_slo+:=$<) 402not_existing/o_%.dpcc : %.c;@noop $(assign all_local_obj+:=$<) 403 404# Objective-C++ files 405$(OBJ)/%.obj : %.mm 406 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 407.IF "$(OS)"=="MACOSX" 408.IF "$(TEST)"!="" 409 $(COMMAND_ECHO)$(objcpp) $(CFLAGS) $(INCLUDE) $(CFLAGSCC) $(OBJCXXFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) -E $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.mm 410.ELSE 411 @$(RM) $@ $(@:s/.obj/.o/) 412 $(COMMAND_ECHO)$(objcpp) $(CFLAGS) $(INCLUDE) $(CFLAGSCC) $(OBJCXXFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.mm 413 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 414.ENDIF 415.IF "$(nodep)"=="" 416 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/) 417 @noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/)) 418.ENDIF # "$(nodep)"=="" 419.ELSE # "$(OS)"=="MACOSX" 420 @echo "No recipe for compiling Objective-C++ files is available for this platform" 421.ENDIF # "$(OS)"=="MACOSX" 422 423# Objective-C++ files 424$(OBJ)/%.obj : $(MISC)/%.mm 425 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE) 426.IF "$(OS)"=="MACOSX" 427 @$(RM) $@ $(@:s/.obj/.o/) 428 $(COMMAND_ECHO)$(objcpp) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(OBJCXXFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(MISC)/$*.mm 429 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 430.IF "$(nodep)"=="" 431 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/) 432 @noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/)) 433.ENDIF # "$(nodep)"=="" 434.ELSE # "$(OS)"=="MACOSX" 435 @echo "No recipe for compiling Objective-C++ files is available for this platform" 436.ENDIF # "$(OS)"=="MACOSX" 437 438# Objective-C++ files 439$(SLO)/%.obj : $(MISC)/%.mm 440 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE) 441.IF "$(OS)"=="MACOSX" 442 @$(RM) $@ $(@:s/.obj/.o/) 443 $(COMMAND_ECHO)$(objcpp) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(OBJCXXFLAGS) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(MISC)/$*.mm 444 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 445.IF "$(nodep)"=="" 446 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/) 447 @noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/)) 448.ENDIF # "$(nodep)"=="" 449.ELSE # "$(OS)"=="MACOSX" 450 @echo "No recipe for compiling Objective-C++ files is available for this platform" 451.ENDIF # "$(OS)"=="MACOSX" 452 453# Objective-C++ files 454$(SLO)/%.obj : %.mm 455 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 456.IF "$(OS)"=="MACOSX" 457 @$(RM) $@ $(@:s/.obj/.o/) 458 $(COMMAND_ECHO)$(objcpp) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(OBJCXXFLAGS) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $*.mm 459 @$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI) 460.IF "$(nodep)"=="" 461 $(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/) 462 @noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/)) 463.ENDIF # "$(nodep)"=="" 464.ELSE # "$(OS)"=="MACOSX" 465 @echo "No recipe for compiling Objective-C++ files is available for this platform" 466.ENDIF # "$(OS)"=="MACOSX" 467 468$(MISC)/%.dpslo : 469 @echo "Making: " $(@:f) 470 @@$(RM) $@ 471 @@-$(CDD) $(MISC) && $(!null,$(all_local_slo) $(TYPE:s/+//) echo #) $(foreach,i,$(all_local_slo:b:+".dpcc") s_$(i)) > $(@:f) 472 @@-$(CDD) $(MISC) && $(!null,$(all_misc_slo) $(TYPE:s/+//) echo #) $(foreach,i,$(all_misc_slo:b:+".dpcc") s_$(i)) >> $(@:f) 473 @$(TYPE) $(mktmp $(foreach,i,$(all_local_slo:b:+".dpcc") $(@:s#\#/#:^"\n") : $(MISC:s#\#/#)/s_$i) $(foreach,i,$(all_misc_slo:b:+".dpcc") $(@:s#\#/#:^"\n") : $(MISC:s#\#/#)/s_$i)) >> $@ 474 @$(TYPE) $(mktmp $(TARGET)_known_dpcc+=$(all_local_slo:b:+".dpcc":^"s_") $(all_misc_slo:b:+".dpcc":^"s_")) >> $@ 475 476$(MISC)/%.dpobj : 477 @echo "Making: " $(@:f) 478 @@$(RM) $@ 479 @@-$(CDD) $(MISC) && $(!null,$(all_local_obj) $(TYPE:s/+//) echo #) $(foreach,i,$(all_local_obj:b:+".dpcc") o_$(i)) > $(@:f) 480 @@-$(CDD) $(MISC) && $(!null,$(all_misc_obj) $(TYPE:s/+//) echo #) $(foreach,i,$(all_misc_obj:b:+".dpcc") o_$(i)) >> $(@:f) 481 @$(TYPE) $(mktmp $(foreach,i,$(all_local_obj:b:+".dpcc") $(@:s#\#/#:^"\n") : $(MISC:s#\#/#)/o_$i) $(foreach,i,$(all_misc_obj:b:+".dpcc") $(@:s#\#/#:^"\n") : $(MISC:s#\#/#)/o_$i)) >> $@ 482 @$(TYPE) $(mktmp $(TARGET)_known_dpcc+=$(all_local_obj:b:+".dpcc":^"s_") $(all_misc_obj:b:+".dpcc":^"s_")) >> $@ 483 484# see also %.dpslo 485not_existing/s_%.dpcc : %.cxx;@noop $(assign all_local_slo+:=$<) 486not_existing/o_%.dpcc : %.cxx;@noop $(assign all_local_obj+:=$<) 487 488not_existing/s_%.dpcc : %.cpp;@noop $(assign all_local_slo+:=$<) 489not_existing/o_%.dpcc : %.cpp;@noop $(assign all_local_obj+:=$<) 490 491not_existing/s_%.dpcc : $(MISC)/%.c;@noop $(assign all_misc_slo+:=$<) 492not_existing/o_%.dpcc : $(MISC)/%.c;@noop $(assign all_misc_obj+:=$<) 493 494not_existing/s_%.dpcc : $(MISC)/%.cxx;@noop $(assign all_misc_slo+:=$<) 495not_existing/o_%.dpcc : $(MISC)/%.cxx;@noop $(assign all_misc_obj+:=$<) 496 497not_existing/s_%.dpcc : %.mm;@noop $(assign all_local_slo+:=$<) 498not_existing/o_%.dpcc : %.mm;@noop $(assign all_local_obj+:=$<) 499 500not_existing/s_%.dpcc : $(MISC)/%.mm;@noop $(assign all_misc_slo+:=$<) 501not_existing/o_%.dpcc : $(MISC)/%.mm;@noop $(assign all_misc_obj+:=$<) 502 503# dependencies objective-c 504 505$(MISC)/s_%.dpcc : %.m 506 @@-$(RM) $@ 507 $(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< > $@ 508 @echo $@ : $(SLO)/$(<:b).obj >> $@ 509 510$(MISC)/o_%.dpcc : %.m 511 @@-$(RM) $@ 512 $(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< > $@ 513 @echo $@ : $(OBJ)/$(<:b).obj >> $@ 514 515$(MISC)/s_%.dpcc : $(MISC)/%.m 516 @@-$(RM) $@ 517.IF "$(GUI)"=="UNX" 518 $(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< | sed s\#$(MISC)/\#\# > $@ 519.ELSE # "$(GUI)"=="UNX" 520 $(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< | $(SED) s/$(MISC:s/\/\\/)\\// > $@ 521.ENDIF # "$(GUI)"=="UNX" 522 @echo $@ : $(SLO)/$(<:b).obj >> $@ 523 524$(MISC)/o_%.dpcc : $(MISC)/%.m 525 @@-$(RM) $@ 526.IF "$(GUI)"=="UNX" 527 $(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< | sed s\#$(MISC)/\#\# > $@ 528.ELSE # "$(GUI)"=="UNX" 529 $(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< | $(SED) s/$(MISC:s/\/\\/)\\// > $@ 530.ENDIF # "$(GUI)"=="UNX" 531 @echo $@ : $(OBJ)/$(<:b).obj >> $@ 532 533# dependency dummy for *.s files 534 535$(MISC)/s_%.dpcc : %.s 536 @@-$(RM) $@ 537 $(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< > $@ 538 @echo $@ : $(SLO)/$(<:b).obj >> $@ 539 540$(MISC)/s_%.dpcc : $(SLO)/%.obj 541 @noop $(assign DEPS_MISSING+:=$(@:f)) 542 543$(MISC)/o_%.dpcc : $(OBJ)/%.obj 544 @noop $(assign DEPS_MISSING+:=$(@:f)) 545 546# dependencies script files 547 548$(MISC)/%.dpsc : 549 @@-$(RM) $@ 550 @@-$(MKDIR) $(MISC)/{$(subst,$(@:d:d:d), $(@:d:d))} 551 $(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(PAR)/{$(subst,$(@:d:d:d), $(@:d:d))} -o.par -D{$(subst,$(@:d:d:d:u), $(@:d:d:u))}_PRODUCT $(CDEFS) -DDLLPOSTFIX=$(DLLPOSTFIX) -I. -I$(INC) -I$(INCLOCAL) -I$(INCGUI) -I$(INCCOM) $(*:b).scp > $@ 552 @echo $@ : $(PAR)/{$(subst,$(@:d:d:d), $(@:d:d))}/$(*:b).par >> $@ 553 @echo $(PAR)/{$(subst,$(@:d:d:d), $(@:d:d))}/$(*:b).par : $(*:b).scp >> $@ 554 555# dependencies rc files (native resources for windows) 556 557$(MISC)/%.dprc : 558 @@-$(RM) $@ 559 $(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(RES) -o.res $(RCLANGFLAGS_{$(subst,$(@:d:d:d:u), $(@:d:d:u))}:u:s/ //) $(CDEFS) -DDLLPOSTFIX=$(DLLPOSTFIX) -I. -I$(INC) -I$(INCLOCAL) -I$(INCGUI) -I$(INCCOM) -I$(SOLARENV)/inc $(*:b).rc >> $@ 560# @echo $@ : $(RES)/{$(subst,$(@:d:d:d), $(@:d:d))}/$(*:b).res >> $@ 561 @echo $@ : $(RES)/$(*:b).res >> $@ 562 563$(MISC)/%.dpr : 564 @@noop 565.IF "$(nodep)"=="" 566 @echo "Making: " $(@:f) 567 @@-$(RM) $@ 568 $(COMMAND_ECHO)dmake $(MFLAGS) $(MAKEFILE) $(CALLMACROS) make_srs_deps=true $(DEPSRSFILES) 569 $(COMMAND_ECHO)-$(TYPE) $(MISC)/$(TARGET).*.dprr >> $@ 570.ENDIF # "$(nodep)"=="" 571 572$(MISC)/%.dpz : 573 @@noop 574.IF "$(nodep)"=="" 575 @echo "Making: " $(@:f) 576 @@-$(RM) $@ 577 $(COMMAND_ECHO)dmake $(MFLAGS) $(MAKEFILE) $(CALLMACROS) make_zip_deps=true $(ZIPDEPFILES) 578 $(COMMAND_ECHO)$(TYPE) $(ZIPDEPFILES) $(mktmp $(NULL)) | grep -v "CVS" | grep -v "\.svn" >> $@ 579 @echo zipdep_langs=$(alllangiso) >> $@ 580 @@-$(RM) $(ZIPDEPFILES) 581.ENDIF # "$(nodep)"=="" 582 583# Dependencies fuer java - Files 584 585$(MISC)/%.dpj : 586 @echo "Making: " $(@:f) 587.IF "$(nodep)"!="" 588.IF "$(GUI)"=="UNX" 589 @echo > $@ 590.ELSE 591 @$(ECHONL) > $@ 592.ENDIF 593.ELSE # "$(ndep)"=="" 594.IF "$(GUI)"=="UNX" 595 @echo $(shell @$(STARDEP) @$(mktmp -o $@ -i $(CLASSDIR) $(foreach,i,$(JAVADEPINCLUDES:s/:/ /) -i $i) $(JAVACLASSFILES))) 596.ELSE 597 @echo javadeps 598 @echo $(shell @$(STARDEP) @$(mktmp -o $@ -i $(CLASSDIR) $(foreach,i,$(JAVADEPINCLUDES:s/;/ /) -i $i) $(JAVACLASSFILES))) 599.ENDIF 600.ENDIF # "$(nodep)"=="" 601 602$(SLO)/%.obj : %.asm 603 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 604.IF "$(COM)"=="GCC" 605.IF "$(ASM)"=="ml" 606 $(COMMAND_ECHO)$(ASM) $(AFLAGS) -D$(COM) /Fo$(SLO)/$*.obj $*.asm 607 @@-$(RM) $*.err 608.ELSE # "$(ASM)"=="ml" 609 @@-$(RM) $@ 610 $(COMMAND_ECHO)$(ASM) $(AFLAGS) $*.asm,$(SLO)/$*.obj; 611.ENDIF # "$(ASM)"=="ml" 612.ELSE 613.IF "$(COM)"=="WTC" 614 $(COMMAND_ECHO)$(ASM) $(AFLAGS) -D$(COM) $*.asm -fo=$(SLO)/$*.obj 615 @-$(IFEXIST) $*.err $(THEN) $(RM:s/+//) $*.err $(FI) 616.ELSE 617.IF "$(COM)"=="MSC" 618.IF "$(ASM)"=="ml" 619 $(COMMAND_ECHO)$(ASM) $(AFLAGS) -D$(COM) /Fo$(SLO)/$*.obj $*.asm 620 @-$(IFEXIST) $*.err $(THEN) $(RM:s/+//) $*.err $(FI) 621.ELSE # "$(ASM)"=="ml" 622 @@-$(RM) $@ 623 $(COMMAND_ECHO)$(ASM) $(AFLAGS) $*.asm,$(SLO)/$*.obj; 624.ENDIF # "$(ASM)"=="ml" 625.ENDIF "$(COM)"=="MSC" 626.ENDIF 627.ENDIF 628 629$(OBJ)/%.obj : %.asm 630 @echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE) 631.IF "$(COM)"=="GCC" 632.IF "$(ASM)"=="ml" 633 $(COMMAND_ECHO)$(ASM) $(AFLAGS) -D$(COM) /Fo$(OBJ)/$*.obj $*.asm 634 @@-$(RM) $*.err 635.ELSE # "$(ASM)"=="ml" 636 @@-$(RM) $@ 637 $(COMMAND_ECHO)$(ASM) $(AFLAGS) $*.asm,$(OBJ)/$*.obj; 638.ENDIF # "$(ASM)"=="ml" 639.ELSE 640.IF "$(COM)"=="MSC" 641.IF "$(ASM)"=="ml" 642 $(COMMAND_ECHO)$(ASM) $(AFLAGS) -D$(COM) /Fo$(SLO)/$*.obj $*.asm 643 @-$(IFEXIST) $*.err $(THEN) $(RM:s/+//) $*.err $(FI) 644.ELSE # "$(ASM)"=="ml" 645 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ >& $(NULLDEV) $(FI) 646 $(COMMAND_ECHO)$(ASM) $(AFLAGS) $*.asm,$(OBJ)/$*.obj; 647.ENDIF # "$(ASM)"=="ml" 648.ENDIF "$(COM)"=="MSC" 649.ENDIF 650 651$(OUT)/ucr/$(IDLPACKAGE)/%.urd : %.idl 652 @noop $(assign all_outdated_idl+:=$<) 653 654$(OUT)/ucrdoc/$(IDLPACKAGE)/%.urd : %.idl 655 @noop $(assign all_outdated_doc_idl+:=$<) 656 657# make *.xml descriptions available in $(MISC) 658$(MISC)/%$($(WINVERSIONNAMES)_MAJOR).xml : %.xml 659 $(COMMAND_ECHO)$(COPY) $< $@ 660 661# dummy rule to make sure xml file is in place when used in settings.mk 662$(MISC)/%.mk : $(MISC)/%$($(WINVERSIONNAMES)_MAJOR).xml 663 @$(TOUCH) $@ 664 @echo XML2MK_FILES += $(@:b) >> $@ 665 666#generate descriptions from xml 667$(MISC)/%$($(WINVERSIONNAMES)_MAJOR)_description.cxx : $(MISC)/%$($(WINVERSIONNAMES)_MAJOR).xml 668 xml2cmp -func $(MISC)/$*$($(WINVERSIONNAMES)_MAJOR)_description.cxx $< 669 670#generate private rdb 671$(BIN)/%.rdb: $(MISC)/%$($(WINVERSIONNAMES)_MAJOR).xml 672 $(COMMAND_ECHO)$(RDBMAKER) -BUCR -O$(BIN)/$*.rdb @$(mktmp $(foreach,i,$($(@:b)_XML2CMPTYPES) -T$i ) $(COMPRDB)) 673 674#strip dos lineends 675$(MISC)/%.sh : %.sh 676 @@-$(RM) -f $@ 677 @tr -d "\015" < $< > $@ 678 679# merge targets 680.IF "$(WITH_LANG)"!="" 681$(COMMONMISC)/$(TARGET)/%.ulf : %.ulf 682 @echo "Making: " $(@:f) 683 $(COMMAND_ECHO)-$(MKDIR) $(@:d) 684 $(COMMAND_ECHO)-$(RM) $@ 685 $(COMMAND_ECHO)$(ULFEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all 686 $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@ 687 $(COMMAND_ECHO)-$(RM) $@.$(INPATH) 688 689$(COMMONMISC)/$(TARGET)/%.xrb : %.xrb 690 $(COMMAND_ECHO)-$(MKDIR) $(@:d) 691 $(COMMAND_ECHO)-$(RM) $@ 692 $(COMMAND_ECHO)$(XMLEX) -t xrb -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all 693 $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@ 694 $(COMMAND_ECHO)-$(RM) $@.$(INPATH) 695 696$(COMMONMISC)/$(MYPATH)/%.xrm : %.xrm 697 $(COMMAND_ECHO)-$(MKDIRHIER) $(@:d) 698 $(COMMAND_ECHO)-$(RM) $@ 699 @echo trysdf = $(TRYSDF) 700 $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all 701 $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@ 702 $(COMMAND_ECHO)-$(RM) $@.$(INPATH) 703 704#$(COMMONMISC)/$(TARGET)/%.xrm : %.xrm 705# -$(MKDIRHIER) $(@:d) 706# -$(RM) $@ 707# $(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all 708# $(RENAME) $@.$(INPATH) $@ 709# -$(RM) $@.$(INPATH) 710# 711#$(COMMONMISC)/%.xrm : %.xrm 712# -$(MKDIR) $(@:d) 713# -$(RM) $@ 714# $(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all 715# $(RENAME) $@.$(INPATH) $@ 716# -$(RM) $@.$(INPATH) 717.ENDIF # "$(WITH_LANG)"!="" 718 719.IF "$(WITH_LANG)"!="" 720$(COMMONMISC)/$(TARGET)/%.jlf : $$(@:db).ulf 721.ELSE # "$(WITH_LANG)"!="" 722$(COMMONMISC)/$(TARGET)/%.jlf : $$(@:b).ulf 723.ENDIF # "$(WITH_LANG)"!="" 724 @-$(MKDIRHIER) $(@:d) 725 $(COMMAND_ECHO)-$(RM) $@ 726 $(COMMAND_ECHO)$(ULFCONV) -o $@.$(INPATH) $< 727 $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@ 728 $(COMMAND_ECHO)-$(RM) $@.$(INPATH) 729 730.IF "$(WITH_LANG)"!="" 731$(COMMONMISC)/$(TARGET)/%.mlf : $$(@:db).ulf 732.ELSE # "$(WITH_LANG)"!="" 733$(COMMONMISC)/$(TARGET)/%.mlf : $$(@:b).ulf 734.ENDIF # "$(WITH_LANG)"!="" 735 @-$(MKDIRHIER) $(@:d) 736 @-$(RM) $@ 737 @$(ULFCONV) -o $@.$(INPATH) -t $(SOLARBINDIR)/msi-encodinglist.txt $< 738 @$(RENAME) $@.$(INPATH) $@ 739 @-$(RM) $@.$(INPATH) 740 741.IF "$(WITH_LANG)"!="" 742$(COMMONMISC)/$(TARGET)/%.uulf : $$(@:db).ulf 743.ELSE # "$(WITH_LANG)"!="" 744$(COMMONMISC)/$(TARGET)/%.uulf : $$(@:b).ulf 745.ENDIF # "$(WITH_LANG)"!="" 746 @-$(MKDIRHIER) $(@:d) 747 $(COMMAND_ECHO)-$(RM) $@ 748 @$(COPY) $< $@.$(INPATH) 749 @$(RENAME) $@.$(INPATH) $@ 750 @-$(RM) $@.$(INPATH) 751 752# This is still needed????? 753$(COMMONMISC)/$(TARGET)/%.xrm : %.xrm 754 $(COMMAND_ECHO)-$(MKDIR) $(@:d) 755 $(COMMAND_ECHO)-$(RM) $@ 756 $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all 757 $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@ 758 $(COMMAND_ECHO)-$(RM) $@.$(INPATH) 759 760# dirty hack 761# if local *.sdf file is missing 762#%.sdf: 763# echo > $@ 764 765