1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: rules.mk,v $
11 # $Revision: 1.103.4.1 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
35 .IF
"$(VERBOSE)" == "TRUE"
36 @echo
------------------------------
38 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
40 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
41 $(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
42 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
44 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
45 .ENDIF
# "$(noadjust)"==""
46 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
47 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
51 $(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
53 $(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
57 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
58 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
59 .ENDIF
# "$(nodep)"==""
62 .IF
"$(VERBOSE)" == "TRUE"
63 @echo
------------------------------
65 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
67 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
68 $(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
69 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
70 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
71 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
72 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
76 $(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
78 $(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
82 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
83 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
84 .ENDIF
# "$(nodep)"==""
87 .IF
"$(VERBOSE)" == "TRUE"
88 @echo
------------------------------
90 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
92 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
93 $(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
94 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
95 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
96 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
97 @
+$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
101 $(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
103 $(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 )
107 .IF
"$(ENABLE_PCH)"!=""
108 # workaround for file locking problems on network volumes
109 .IF
"$(NETWORK_BUILD)"==""
111 PCHEXOUTDIR
=$(SLO
)/pch_ex
112 .ELSE
# "$(NETWORK_BUILD)"==""
113 PCHOUTDIR
=$(TMP
)/$(BUILD
)$(CWS_WORK_STAMP
)$(PRJNAME
)$(PROEXT
)
114 PCHEXOUTDIR
=$(TMP
)/$(BUILD
)$(CWS_WORK_STAMP
)$(PRJNAME
)_ex
$(PROEXT
)
115 .ENDIF
# "$(NETWORK_BUILD)"==""
116 $(SLO
)/precompiled.
% .PHONY
:
117 -$(MKDIRHIER
) $(SLO
)/pch
119 .IF
"$(NETWORK_BUILD)"!=""
120 -$(MKDIRHIER
) $(PCHOUTDIR
)
121 .IF
"$(HAVE_BIG_TMP)"==""
122 $(COMMAND_ECHO
)-$(COPY
) $(SLO
)/pch
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
) $(PCHOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
123 .ENDIF
# "$(HAVE_BIG_TMP)"==""
124 .ENDIF
# "$(NETWORK_BUILD)"!=""
125 $(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)
126 .IF
"$(NETWORK_BUILD)"!=""
127 $(COMMAND_ECHO
)$(COPY
) $(PCHOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
) $(SLO
)/pch
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
128 .IF
"$(HAVE_BIG_TMP)"==""
129 $(COMMAND_ECHO
)$(RM
) $(PCHOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
130 $(COMMAND_ECHO
)$(RMDIR
) $(PCHOUTDIR
)
131 .ENDIF
# "$(HAVE_BIG_TMP)"==""
132 .ENDIF
# "$(NETWORK_BUILD)"!=""
133 .ELIF
"$(COM)"=="GCC" && "$(CCNUMVER)">="000300040000"
134 $(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
135 @echo
"#error Tried to use wrong precompiled header" > $(SLO
)/pch
/precompiled_
$(PRJNAME
).hxx
136 .ELSE
# "$(COM)"=="MSC"
137 @
$(TOUCH
) $(SLO
)/pch
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
138 .ENDIF
# "$(COM)"=="MSC"
139 @echo USED_PCHFLAGS
=$(CFLAGS
)$(CFLAGSCXX
)$(CFLAGSCXXSLO
)$(CFLAGSSLO
)$(CDEFS
)$(CDEFSSLO
)$(CDEFSMT
)$(CFLAGS_NO_EXCEPTIONS
) -DEXCEPTIONS_OFF
$(CFLAGSAPPEND
)> $(INCCOM
)/pch.mk
141 $(SLO
)/precompiled_ex.
% .PHONY
:
142 -$(MKDIRHIER
) $(SLO
)/pch_ex
144 .IF
"$(NETWORK_BUILD)"!=""
145 -$(MKDIRHIER
) $(PCHEXOUTDIR
)
146 .IF
"$(HAVE_BIG_TMP)"==""
147 $(COMMAND_ECHO
)-$(COPY
) $(SLO
)/pch_ex
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
) $(PCHEXOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
148 .ENDIF
# "$(HAVE_BIG_TMP)"==""
149 .ENDIF
# "$(NETWORK_BUILD)"!=""
150 $(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)
151 .IF
"$(NETWORK_BUILD)"!=""
152 $(COMMAND_ECHO
)$(COPY
) $(PCHEXOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
) $(SLO
)/pch_ex
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
153 .IF
"$(HAVE_BIG_TMP)"==""
154 $(COMMAND_ECHO
)$(RM
) $(PCHEXOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
155 $(COMMAND_ECHO
)$(RMDIR
) $(PCHEXOUTDIR
)
156 .ENDIF
# "$(HAVE_BIG_TMP)"==""
157 .ENDIF
# "$(NETWORK_BUILD)"!=""
158 .ELIF
"$(COM)"=="GCC" && "$(CCNUMVER)">="000300040000"
159 $(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
160 @echo
"#error Tried to use wrong precompiled header" > $(SLO
)/pch_ex
/precompiled_
$(PRJNAME
).hxx
161 .ELSE
# "$(COM)"=="MSC"
162 @
$(TOUCH
) $(SLO
)/pch_ex
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
163 .ENDIF
# "$(COM)"=="MSC"
164 @echo USED_EXCEPTIONS_PCHFLAGS
=$(subst,$(CFLAGSDEBUG
), $(CFLAGS
))$(CFLAGSCXX
)$(CFLAGSCXXSLO
)$(CFLAGSSLO
)$(CDEFS
)$(CDEFSSLO
)$(CDEFSMT
)$(CFLAGSEXCEPTIONS
) -DEXCEPTIONS_ON
$(CFLAGSAPPEND
)> $(INCCOM
)/pch_ex.mk
166 .INCLUDE .IGNORE
: $(INCCOM
)/pch.mk
167 .INCLUDE .IGNORE
: $(INCCOM
)/pch_ex.mk
168 .ENDIF
# "$(ENABLE_PCH)"!=""
171 .IF
"$(VERBOSE)" == "TRUE"
172 @echo
------------------------------
174 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
175 .IF
"$(ENABLE_PCH)"!="" && ( "$(PRJNAME)"!="sw" ||
"$(BUILD_SPECIAL)"!="TRUE" )
177 @noop
$(assign used_exc_switches
=$(!eq
,$(EXCEPTIONSFILES
),$(subst,$@
, $(EXCEPTIONSFILES
)) $(LOCAL_EXCEPTIONS_FLAGS
) $(GLOBAL_EXCEPTIONS_FLAGS
)))
179 @noop
$(assign ACT_PCH_SWITCHES
:=$(NULL
))
180 # eq: first string is a copy of the compile line,
181 # second generated by pch creation
182 # use pch with exception support
183 @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
)))
184 # use pch without exception support
185 @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
)))
186 .ENDIF
# "$(ENABLE_PCH)"!=""
189 $(COMMAND_ECHO
)$(CXX
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(CFLAGSCXXSLO
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) -E
$(CFLAGSINCXX
)$(PWD
)/$*.
cxx
191 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
192 $(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
)
193 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" && "$(CAPTURE_COMMAND)"==""
194 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
195 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
196 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
198 .ELSE
# "$(GUI)"=="UNX"
201 $(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
)
203 $(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
)
204 .ENDIF
# "$(COM)"=="GCC"
205 .ENDIF
# "$(GUI)"=="UNX"
207 # fixme: write to file
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)"==""
213 .IF
"$(VERBOSE)" == "TRUE"
214 @echo
------------------------------
216 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
219 $(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
221 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
222 $(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
223 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
224 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
225 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
226 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
231 $(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
233 $(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
237 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
238 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
239 .ENDIF
# "$(nodep)"==""
241 $(SLO
)/%.obj
: $(MISC
)/%.
cxx
242 .IF
"$(VERBOSE)" == "TRUE"
243 @echo
------------------------------
245 @echo Compiling
: $(PRJNAME
)/$(OUTPATH
)/misc
/$(<:f
)
248 $(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
250 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
251 $(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
252 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
253 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
254 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
255 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
259 $(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
261 $(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
265 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $@
) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
266 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
267 .ENDIF
# "$(nodep)"==""
269 $(SLO
)/%.obj
: $(MISC
)/%.
cc
270 .IF
"$(VERBOSE)" == "TRUE"
271 @echo
------------------------------
273 @echo Compiling
: $(PRJNAME
)/$(OUTPATH
)/misc
/$(<:f
)
276 $(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
278 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
279 $(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
280 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
281 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
282 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
283 @
+$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
286 $(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 )
289 $(OBJ
)/%.obj
: $(MISC
)/%.
cxx
290 .IF
"$(VERBOSE)" == "TRUE"
291 @echo
------------------------------
293 @echo Compiling
: $(PRJNAME
)/$(OUTPATH
)/misc
/$(<:f
)
296 $(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
298 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
299 $(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
300 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
301 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
302 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
303 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
307 $(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
309 $(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
313 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
314 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
315 .ENDIF
# "$(nodep)"==""
318 .IF
"$(VERBOSE)" == "TRUE"
319 @echo
------------------------------
321 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
324 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) -E
$(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.c
326 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
327 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.c
328 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
329 .IF
"$(noadjust)"==""
330 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
331 .ENDIF
# "$(noadjust)"==""
332 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
333 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
337 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$*.c
339 .IF
"$(VERBOSE)" == "TRUE"
340 -@echo Cflags
: $(CFLAGS
) $(INCLUDE
)
342 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$*.c
346 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
347 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
348 .ENDIF
# "$(nodep)"==""
350 $(OBJ
)/%.obj
: $(MISC
)/%.c
351 .IF
"$(VERBOSE)" == "TRUE"
352 @echo
------------------------------
354 @echo Compiling
: $(PRJNAME
)/$(OUTPATH
)/misc
/$(<:f
)
356 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
357 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$(MISC
)/$*.c
358 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
359 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
360 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
361 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
365 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$(MISC
)/$*.c
367 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$(MISC
)/$*.c
371 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
372 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
373 .ENDIF
# "$(nodep)"==""
375 $(SLO
)/%.obj
: $(MISC
)/%.c
376 .IF
"$(VERBOSE)" == "TRUE"
377 @echo
------------------------------
379 @echo Compiling
: $(PRJNAME
)/$(OUTPATH
)/misc
/$(<:f
)
381 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
382 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$(MISC
)/$*.c
383 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
384 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
385 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
386 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
390 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$(MISC
)/$*.c
392 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$(MISC
)/$*.c
396 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
397 # avoid _version objects (see tg_shl.mk) - quite hacky...
398 @noop
$(!eq
,$@
,$(@
:s
/_version.obj
/.obj
/) $(NULL
) $(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/)))
399 .ENDIF
# "$(nodep)"==""
402 .IF
"$(VERBOSE)" == "TRUE"
403 @echo
------------------------------
405 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
407 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
408 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$*.c
409 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
410 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
411 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
412 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
416 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$*.c
418 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$*.c
422 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
423 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
424 .ENDIF
# "$(nodep)"==""
428 .IF
"$(VERBOSE)" == "TRUE"
429 @echo
------------------------------
431 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
432 .IF
"$(OS)"=="MACOSX"
434 $(COMMAND_ECHO
)$(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) -E
$(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.m
436 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
437 $(COMMAND_ECHO
)$(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.m
438 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
440 .ELSE
# "$(OS)"=="MACOSX"
441 @echo
"No recipe for compiling Objective-C files is available for this platform"
442 .ENDIF
"$(OS)"=="MACOSX"
445 $(OBJ
)/%.obj
: $(MISC
)/%.m
446 .IF
"$(VERBOSE)" == "TRUE"
447 @echo
------------------------------
449 @echo Compiling
: $(PRJNAME
)/$(OUTPATH
)/misc
/$(<:f
)
450 .IF
"$(OS)"=="MACOSX"
451 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
452 $(COMMAND_ECHO
)$(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$(MISC
)/$*.m
453 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
454 .ELSE
# "$(OS)"=="MACOSX"
455 @echo
"No recipe for compiling Objective-C files is available for this platform"
456 .ENDIF
"$(OS)"=="MACOSX"
459 $(SLO
)/%.obj
: $(MISC
)/%.m
460 .IF
"$(VERBOSE)" == "TRUE"
461 @echo
------------------------------
463 @echo Compiling
: $(PRJNAME
)/$(OUTPATH
)/misc
/$(<:f
)
464 .IF
"$(OS)"=="MACOSX"
465 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
466 $(COMMAND_ECHO
)$(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$(MISC
)/$*.m
467 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
468 .ELSE
# "$(OS)"=="MACOSX"
469 @echo
"No recipe for compiling Objective-C files is available for this platform"
470 .ENDIF
"$(OS)"=="MACOSX"
474 .IF
"$(VERBOSE)" == "TRUE"
475 @echo
------------------------------
477 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
478 .IF
"$(OS)"=="MACOSX"
479 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
480 $(COMMAND_ECHO
)$(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$*.m
481 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
482 .ELSE
# "$(OS)"=="MACOSX"
483 @echo
"No recipe for compiling Objective-C files is available for this platform"
484 .ENDIF
"$(OS)"=="MACOSX"
486 # dependencies c / c++
488 not_existing
/s_
%.dpcc
: %.c
;@noop
$(assign all_local_slo
+:=$<)
489 not_existing
/o_
%.dpcc
: %.c
;@noop
$(assign all_local_obj
+:=$<)
491 # Objective-C++ files
493 .IF
"$(VERBOSE)" == "TRUE"
494 @echo
------------------------------
496 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
497 .IF
"$(OS)"=="MACOSX"
499 $(COMMAND_ECHO
)$(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCC
) $(OBJCXXFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) -E
$(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.mm
501 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
502 $(COMMAND_ECHO
)$(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCC
) $(OBJCXXFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.mm
503 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
506 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
507 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
508 .ENDIF
# "$(nodep)"==""
509 .ELSE
# "$(OS)"=="MACOSX"
510 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
511 .ENDIF
# "$(OS)"=="MACOSX"
513 # Objective-C++ files
514 $(OBJ
)/%.obj
: $(MISC
)/%.mm
515 .IF
"$(VERBOSE)" == "TRUE"
516 @echo
------------------------------
518 @echo Compiling
: $(PRJNAME
)/$(OUTPATH
)/misc
/$(<:f
)
519 .IF
"$(OS)"=="MACOSX"
520 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
521 $(COMMAND_ECHO
)$(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(OBJCXXFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$(MISC
)/$*.mm
522 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
524 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
525 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
526 .ENDIF
# "$(nodep)"==""
527 .ELSE
# "$(OS)"=="MACOSX"
528 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
529 .ENDIF
# "$(OS)"=="MACOSX"
531 # Objective-C++ files
532 $(SLO
)/%.obj
: $(MISC
)/%.mm
533 .IF
"$(VERBOSE)" == "TRUE"
534 @echo
------------------------------
536 @echo Compiling
: $(PRJNAME
)/$(OUTPATH
)/misc
/$(<:f
)
537 .IF
"$(OS)"=="MACOSX"
538 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
539 $(COMMAND_ECHO
)$(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(OBJCXXFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$(MISC
)/$*.mm
540 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
542 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
543 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
544 .ENDIF
# "$(nodep)"==""
545 .ELSE
# "$(OS)"=="MACOSX"
546 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
547 .ENDIF
# "$(OS)"=="MACOSX"
549 # Objective-C++ files
551 .IF
"$(VERBOSE)" == "TRUE"
552 @echo
------------------------------
554 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
555 .IF
"$(OS)"=="MACOSX"
556 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
557 $(COMMAND_ECHO
)$(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(OBJCXXFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$*.mm
558 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
560 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
561 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
562 .ENDIF
# "$(nodep)"==""
563 .ELSE
# "$(OS)"=="MACOSX"
564 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
565 .ENDIF
# "$(OS)"=="MACOSX"
568 @echo
"Making: " $(@
:f
)
570 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_local_slo
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_local_slo:b:+".dpcc") s_$(i)) > $(@:f)
571 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_misc_slo
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_misc_slo:b:+".dpcc") s_$(i)) >> $(@:f)
572 @
$(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)) >> $@
573 @
$(TYPE
) $(mktmp
$(TARGET
)_known_dpcc
+=$(all_local_slo
:b
:+".dpcc":^
"s_") $(all_misc_slo
:b
:+".dpcc":^
"s_")) >> $@
576 @echo
"Making: " $(@
:f
)
578 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_local_obj
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_local_obj:b:+".dpcc") o_$(i)) > $(@:f)
579 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_misc_obj
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_misc_obj:b:+".dpcc") o_$(i)) >> $(@:f)
580 @
$(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)) >> $@
581 @
$(TYPE
) $(mktmp
$(TARGET
)_known_dpcc
+=$(all_local_obj
:b
:+".dpcc":^
"s_") $(all_misc_obj
:b
:+".dpcc":^
"s_")) >> $@
584 not_existing
/s_
%.dpcc
: %.
cxx;@noop
$(assign all_local_slo
+:=$<)
585 not_existing
/o_
%.dpcc
: %.
cxx;@noop
$(assign all_local_obj
+:=$<)
587 not_existing
/s_
%.dpcc
: %.
cpp;@noop
$(assign all_local_slo
+:=$<)
588 not_existing
/o_
%.dpcc
: %.
cpp;@noop
$(assign all_local_obj
+:=$<)
590 not_existing
/s_
%.dpcc
: $(MISC
)/%.c
;@noop
$(assign all_misc_slo
+:=$<)
591 not_existing
/o_
%.dpcc
: $(MISC
)/%.c
;@noop
$(assign all_misc_obj
+:=$<)
593 not_existing
/s_
%.dpcc
: $(MISC
)/%.
cxx;@noop
$(assign all_misc_slo
+:=$<)
594 not_existing
/o_
%.dpcc
: $(MISC
)/%.
cxx;@noop
$(assign all_misc_obj
+:=$<)
596 not_existing
/s_
%.dpcc
: %.mm
;@noop
$(assign all_local_slo
+:=$<)
597 not_existing
/o_
%.dpcc
: %.mm
;@noop
$(assign all_local_obj
+:=$<)
599 not_existing
/s_
%.dpcc
: $(MISC
)/%.mm
;@noop
$(assign all_misc_slo
+:=$<)
600 not_existing
/o_
%.dpcc
: $(MISC
)/%.mm
;@noop
$(assign all_misc_obj
+:=$<)
602 # dependencies objective-c
604 $(MISC
)/s_
%.dpcc
: %.m
606 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< > $@
607 @echo
$@
: $(SLO
)/$(<:b
).obj
>> $@
609 $(MISC
)/o_
%.dpcc
: %.m
611 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< > $@
612 @echo
$@
: $(OBJ
)/$(<:b
).obj
>> $@
614 $(MISC
)/s_
%.dpcc
: $(MISC
)/%.m
617 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< | sed s\
#$(MISC)/\#\# > $@
618 .ELSE
# "$(GUI)"=="UNX"
619 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< |
$(SED
) s
/$(MISC
:s
/\
/\\/)\\// > $@
620 .ENDIF
# "$(GUI)"=="UNX"
621 @echo
$@
: $(SLO
)/$(<:b
).obj
>> $@
623 $(MISC
)/o_
%.dpcc
: $(MISC
)/%.m
626 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< | sed s\
#$(MISC)/\#\# > $@
627 .ELSE
# "$(GUI)"=="UNX"
628 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< |
$(SED
) s
/$(MISC
:s
/\
/\\/)\\// > $@
629 .ENDIF
# "$(GUI)"=="UNX"
630 @echo
$@
: $(OBJ
)/$(<:b
).obj
>> $@
632 # dependency dummy for *.s files
634 $(MISC
)/s_
%.dpcc
: %.s
636 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< > $@
637 @echo
$@
: $(SLO
)/$(<:b
).obj
>> $@
639 $(MISC
)/s_
%.dpcc
: $(SLO
)/%.obj
640 @noop
$(assign DEPS_MISSING
+:=$(@
:f
))
642 $(MISC
)/o_
%.dpcc
: $(OBJ
)/%.obj
643 @noop
$(assign DEPS_MISSING
+:=$(@
:f
))
645 # dependencies script files
649 @@
-$(MKDIR
) $(MISC
)/{$(subst,$(@
:d
:d
:d
), $(@
:d
:d
))}
650 $(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
> $@
651 @echo
$@
: $(PAR
)/{$(subst,$(@
:d
:d
:d
), $(@
:d
:d
))}/$(*:b
).par
>> $@
652 @echo
$(PAR
)/{$(subst,$(@
:d
:d
:d
), $(@
:d
:d
))}/$(*:b
).par
: $(*:b
).scp
>> $@
654 # dependencies rc files (native resources for windows)
658 $(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
>> $@
659 # @echo $@ : $(RES)/{$(subst,$(@:d:d:d), $(@:d:d))}/$(*:b).res >> $@
660 @echo
$@
: $(RES
)/$(*:b
).res
>> $@
663 .IF
"$(VERBOSE)" == "TRUE"
664 @echo
------------------------------
669 @echo
"Making: " $(@
:f
)
671 $(COMMAND_ECHO
)dmake
$(MFLAGS
) $(MAKEFILE
) $(CALLMACROS
) NO_HIDS
=true make_srs_deps
=true
$(DEPSRSFILES
)
672 $(COMMAND_ECHO
)-$(TYPE
) $(MISC
)/$(TARGET
).
*.dprr
>> $@
673 .ENDIF
# "$(nodep)"==""
676 .IF
"$(VERBOSE)" == "TRUE"
677 @echo
------------------------------
682 @echo
"Making: " $(@
:f
)
684 $(COMMAND_ECHO
)dmake
$(MFLAGS
) $(MAKEFILE
) $(CALLMACROS
) make_zip_deps
=true
$(ZIPDEPFILES
)
685 $(COMMAND_ECHO
)$(TYPE
) $(ZIPDEPFILES
) $(mktmp
$(NULL
)) | grep
-v
"CVS" | grep
-v
"\.svn" >> $@
686 @echo zipdep_langs
=$(alllangiso
) >> $@
687 @@
-$(RM
) $(ZIPDEPFILES
)
688 .ENDIF
# "$(nodep)"==""
690 # Dependencies fuer java - Files
693 @echo
"Making: " $(@
:f
)
700 .ELSE
# "$(ndep)"==""
702 @echo
$(shell @
$(STARDEP
) @
$(mktmp
-o
$@
-i
$(CLASSDIR
) $(foreach,i
,$(JAVADEPINCLUDES
:s
/:/ /) -i
$i) $(JAVACLASSFILES
)))
705 @echo
$(shell @
$(STARDEP
) @
$(mktmp
-o
$@
-i
$(CLASSDIR
) $(foreach,i
,$(JAVADEPINCLUDES
:s
/;/ /) -i
$i) $(JAVACLASSFILES
)))
707 .ENDIF
# "$(nodep)"==""
710 .IF
"$(VERBOSE)" == "TRUE"
711 @echo
------------------------------
713 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
716 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(SLO
)/$*.obj
$*.asm
718 .ELSE
# "$(ASM)"=="ml"
720 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) $*.asm
,$(SLO
)/$*.obj
;
721 .ENDIF
# "$(ASM)"=="ml"
724 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) -D
$(COM
) $*.asm
-fo
=$(SLO
)/$*.obj
725 @
-$(IFEXIST
) $*.err
$(THEN
) $(RM
:s
/+//) $*.err
$(FI
)
729 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(SLO
)/$*.obj
$*.asm
730 @
-$(IFEXIST
) $*.err
$(THEN
) $(RM
:s
/+//) $*.err
$(FI
)
731 .ELSE
# "$(ASM)"=="ml"
733 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) $*.asm
,$(SLO
)/$*.obj
;
734 .ENDIF
# "$(ASM)"=="ml"
735 .ENDIF
"$(COM)"=="MSC"
740 .IF
"$(VERBOSE)" == "TRUE"
741 @echo
------------------------------
743 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
746 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(OBJ
)/$*.obj
$*.asm
748 .ELSE
# "$(ASM)"=="ml"
750 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) $*.asm
,$(OBJ
)/$*.obj
;
751 .ENDIF
# "$(ASM)"=="ml"
755 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(SLO
)/$*.obj
$*.asm
756 @
-$(IFEXIST
) $*.err
$(THEN
) $(RM
:s
/+//) $*.err
$(FI
)
757 .ELSE
# "$(ASM)"=="ml"
758 @
$(IFEXIST
) $@
$(THEN
) $(RM
:s
/+//) $@
>& $(NULLDEV
) $(FI
)
759 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) $*.asm
,$(OBJ
)/$*.obj
;
760 .ENDIF
# "$(ASM)"=="ml"
761 .ENDIF
"$(COM)"=="MSC"
764 $(OUT
)/ucr
/$(IDLPACKAGE
)/%.urd
: %.idl
765 @noop
$(assign all_outdated_idl
+:=$<)
767 $(OUT
)/ucrdoc
/$(IDLPACKAGE
)/%.urd
: %.idl
768 @noop
$(assign all_outdated_doc_idl
+:=$<)
772 .IF
"$(VERBOSE)" == "TRUE"
773 @echo
------------------------------
775 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(*:f
).src
776 $(COMMAND_ECHO
)$(AUGMENT_LIBRARY_PATH
) $(PERL
) $(SOLARENV
)/bin
/mhids.pl
$*.src
$(SRS
) $(PRJNAME
) $(CDEFS
) $(INCLUDE
)
778 # make *.xml descriptions available in $(MISC)
779 $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
).xml
: %.xml
780 $(COMMAND_ECHO
)$(COPY
) $< $@
782 # dummy rule to make sure xml file is in place when used in settings.mk
783 $(MISC
)/%.mk
: $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
).xml
785 @echo XML2MK_FILES
+= $(@
:b
) >> $@
787 #generate descriptions from xml
788 $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
)_description.
cxx : $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
).xml
789 xml2cmp
-func
$(MISC
)/$*$($(WINVERSIONNAMES
)_MAJOR
)_description.
cxx $<
791 #generate private rdb
792 $(BIN
)/%.rdb
: $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
).xml
793 $(COMMAND_ECHO
)$(RDBMAKER
) -BUCR
-O
$(BIN
)/$*.rdb @
$(mktmp
$(foreach,i
,$($(@
:b
)_XML2CMPTYPES
) -T
$i ) $(COMPRDB
))
798 @tr
-d
"\015" < $< > $@
801 .IF
"$(WITH_LANG)"!=""
802 $(COMMONMISC
)/$(TARGET
)/%.ulf
: %.ulf
803 @echo
"Making: " $(@
:f
)
804 $(COMMAND_ECHO
)-$(MKDIR
) $(@
:d
)
805 $(COMMAND_ECHO
)-$(RM
) $@
806 $(COMMAND_ECHO
)$(ULFEX
) $(ULFEX_VERBOSITY
) -p
$(PRJNAME
) -i
$(@
:f
) -o
$(@
).
$(INPATH
) -m
$(LOCALIZESDF
) -l
all
807 $(COMMAND_ECHO
)$(RENAME
) $@.
$(INPATH
) $@
808 $(COMMAND_ECHO
)-$(RM
) $@.
$(INPATH
)
810 $(COMMONMISC
)/$(TARGET
)/%.xrb
: %.xrb
811 $(COMMAND_ECHO
)-$(MKDIR
) $(@
:d
)
812 $(COMMAND_ECHO
)-$(RM
) $@
813 $(COMMAND_ECHO
)$(XMLEX
) -t xrb
-p
$(PRJNAME
) -i
$(@
:f
) -o
$(@
).
$(INPATH
) -m
$(LOCALIZESDF
) -l
all
814 $(COMMAND_ECHO
)$(RENAME
) $@.
$(INPATH
) $@
815 $(COMMAND_ECHO
)-$(RM
) $@.
$(INPATH
)
817 $(COMMONMISC
)/$(MYPATH
)/%.xrm
: %.xrm
818 $(COMMAND_ECHO
)-$(MKDIRHIER
) $(@
:d
)
819 $(COMMAND_ECHO
)-$(RM
) $@
820 @echo trysdf
= $(TRYSDF
)
821 $(COMMAND_ECHO
)$(XRMEX
) -p
$(PRJNAME
) -i
$(@
:f
) -o
$(@
).
$(INPATH
) -m
$(LOCALIZESDF
) -l
all
822 $(COMMAND_ECHO
)$(RENAME
) $@.
$(INPATH
) $@
823 $(COMMAND_ECHO
)-$(RM
) $@.
$(INPATH
)
825 #$(COMMONMISC)/$(TARGET)/%.xrm : %.xrm
826 # -$(MKDIRHIER) $(@:d)
828 # $(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
829 # $(RENAME) $@.$(INPATH) $@
830 # -$(RM) $@.$(INPATH)
832 #$(COMMONMISC)/%.xrm : %.xrm
835 # $(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
836 # $(RENAME) $@.$(INPATH) $@
837 # -$(RM) $@.$(INPATH)
838 .ENDIF
# "$(WITH_LANG)"!=""
840 .IF
"$(WITH_LANG)"!=""
841 $(COMMONMISC
)/$(TARGET
)/%.jlf
: $$(@
:db
).ulf
842 .ELSE
# "$(WITH_LANG)"!=""
843 $(COMMONMISC
)/$(TARGET
)/%.jlf
: $$(@
:b
).ulf
844 .ENDIF
# "$(WITH_LANG)"!=""
845 @
-$(MKDIRHIER
) $(@
:d
)
846 $(COMMAND_ECHO
)-$(RM
) $@
847 $(COMMAND_ECHO
)$(ULFCONV
) -o
$@.
$(INPATH
) $<
848 $(COMMAND_ECHO
)$(RENAME
) $@.
$(INPATH
) $@
849 $(COMMAND_ECHO
)-$(RM
) $@.
$(INPATH
)
851 .IF
"$(WITH_LANG)"!=""
852 $(COMMONMISC
)/$(TARGET
)/%.mlf
: $$(@
:db
).ulf
853 .ELSE
# "$(WITH_LANG)"!=""
854 $(COMMONMISC
)/$(TARGET
)/%.mlf
: $$(@
:b
).ulf
855 .ENDIF
# "$(WITH_LANG)"!=""
856 @
-$(MKDIRHIER
) $(@
:d
)
858 @
$(ULFCONV
) -o
$@.
$(INPATH
) -t
$(SOLARBINDIR
)/msi-encodinglist.txt
$<
859 @
$(RENAME
) $@.
$(INPATH
) $@
862 .IF
"$(WITH_LANG)"!=""
863 $(COMMONMISC
)/$(TARGET
)/%.uulf
: $$(@
:db
).ulf
864 .ELSE
# "$(WITH_LANG)"!=""
865 $(COMMONMISC
)/$(TARGET
)/%.uulf
: $$(@
:b
).ulf
866 .ENDIF
# "$(WITH_LANG)"!=""
867 @
-$(MKDIRHIER
) $(@
:d
)
868 $(COMMAND_ECHO
)-$(RM
) $@
869 @
$(COPY
) $< $@.
$(INPATH
)
870 @
$(RENAME
) $@.
$(INPATH
) $@
873 # This is still needed?????
874 $(COMMONMISC
)/$(TARGET
)/%.xrm
: %.xrm
875 $(COMMAND_ECHO
)-$(MKDIR
) $(@
:d
)
876 $(COMMAND_ECHO
)-$(RM
) $@
877 $(COMMAND_ECHO
)$(XRMEX
) -p
$(PRJNAME
) -i
$(@
:f
) -o
$(@
).
$(INPATH
) -m
$(LOCALIZESDF
) -l
all
878 $(COMMAND_ECHO
)$(RENAME
) $@.
$(INPATH
) $@
879 $(COMMAND_ECHO
)-$(RM
) $@.
$(INPATH
)
882 # if local *.sdf file is missing