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 @echo
------------------------------
36 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
38 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
39 $(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
40 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
42 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
43 .ENDIF
# "$(noadjust)"==""
44 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
45 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
49 $(CXX
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(!eq
,$(EXCEPTIONSFILES
),$(subst,$@
, $(EXCEPTIONSFILES
)) $(LOCAL_EXCEPTIONS_FLAGS
) $(GLOBAL_EXCEPTIONS_FLAGS
)) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$(CFLAGSINCXX
)$(PWD
)/$*.
cxx
51 $(CXX
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(!eq
,$(EXCEPTIONSFILES
),$(subst,$@
, $(EXCEPTIONSFILES
)) $(LOCAL_EXCEPTIONS_FLAGS
) $(GLOBAL_EXCEPTIONS_FLAGS
)) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$(CFLAGSINCXX
)$(PWD
)/$*.
cxx
55 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
56 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
57 .ENDIF
# "$(nodep)"==""
60 @echo
------------------------------
61 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
63 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
64 $(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
65 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
66 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
67 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
68 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
72 $(CXX
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(!eq
,$(EXCEPTIONSFILES
),$(subst,$@
, $(EXCEPTIONSFILES
)) $(LOCAL_EXCEPTIONS_FLAGS
) $(GLOBAL_EXCEPTIONS_FLAGS
)) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$(CFLAGSINCXX
)$(PWD
)/$*.
cpp
74 $(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 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
79 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
80 .ENDIF
# "$(nodep)"==""
83 @echo
------------------------------
84 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
86 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
87 $(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
88 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
89 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
90 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
91 +$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
95 $(CXX
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(!eq
,$(EXCEPTIONSFILES
),$(subst,$@
, $(EXCEPTIONSFILES
)) $(LOCAL_EXCEPTIONS_FLAGS
) $(GLOBAL_EXCEPTIONS_FLAGS
)) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$(CFLAGSINCXX
)$(PWD
)/$*.
cc
97 $(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 )
101 .IF
"$(ENABLE_PCH)"!=""
102 # workaround for file locking problems on network volumes
103 .IF
"$(NETWORK_BUILD)"==""
105 PCHEXOUTDIR
=$(SLO
)/pch_ex
106 .ELSE
# "$(NETWORK_BUILD)"==""
107 PCHOUTDIR
=$(TMP
)/$(BUILD
)$(CWS_WORK_STAMP
)$(PRJNAME
)$(PROEXT
)
108 PCHEXOUTDIR
=$(TMP
)/$(BUILD
)$(CWS_WORK_STAMP
)$(PRJNAME
)_ex
$(PROEXT
)
109 .ENDIF
# "$(NETWORK_BUILD)"==""
110 $(SLO
)/precompiled.
% .PHONY
:
111 -$(MKDIRHIER
) $(SLO
)/pch
113 .IF
"$(NETWORK_BUILD)"!=""
114 -$(MKDIRHIER
) $(PCHOUTDIR
)
115 .IF
"$(HAVE_BIG_TMP)"==""
116 -$(COPY
) $(SLO
)/pch
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
) $(PCHOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
117 .ENDIF
# "$(HAVE_BIG_TMP)"==""
118 .ENDIF
# "$(NETWORK_BUILD)"!=""
119 $(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)
120 .IF
"$(NETWORK_BUILD)"!=""
121 $(COPY
) $(PCHOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
) $(SLO
)/pch
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
122 .IF
"$(HAVE_BIG_TMP)"==""
123 $(RM
) $(PCHOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
124 $(RMDIR
) $(PCHOUTDIR
)
125 .ENDIF
# "$(HAVE_BIG_TMP)"==""
126 .ENDIF
# "$(NETWORK_BUILD)"!=""
127 .ELIF
"$(COM)"=="GCC" && "$(CCNUMVER)">="000300040000"
128 $(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
129 @echo
"#error Tried to use wrong precompiled header" > $(SLO
)/pch
/precompiled_
$(PRJNAME
).hxx
130 .ELSE
# "$(COM)"=="MSC"
131 $(TOUCH
) $(SLO
)/pch
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
132 .ENDIF
# "$(COM)"=="MSC"
133 @echo USED_PCHFLAGS
=$(CFLAGS
)$(CFLAGSCXX
)$(CFLAGSCXXSLO
)$(CFLAGSSLO
)$(CDEFS
)$(CDEFSSLO
)$(CDEFSMT
)$(CFLAGS_NO_EXCEPTIONS
) -DEXCEPTIONS_OFF
$(CFLAGSAPPEND
)> $(INCCOM
)/pch.mk
135 $(SLO
)/precompiled_ex.
% .PHONY
:
136 -$(MKDIRHIER
) $(SLO
)/pch_ex
138 .IF
"$(NETWORK_BUILD)"!=""
139 -$(MKDIRHIER
) $(PCHEXOUTDIR
)
140 .IF
"$(HAVE_BIG_TMP)"==""
141 -$(COPY
) $(SLO
)/pch_ex
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
) $(PCHEXOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
142 .ENDIF
# "$(HAVE_BIG_TMP)"==""
143 .ENDIF
# "$(NETWORK_BUILD)"!=""
144 $(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)
145 .IF
"$(NETWORK_BUILD)"!=""
146 $(COPY
) $(PCHEXOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
) $(SLO
)/pch_ex
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
147 .IF
"$(HAVE_BIG_TMP)"==""
148 $(RM
) $(PCHEXOUTDIR
)/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
149 $(RMDIR
) $(PCHEXOUTDIR
)
150 .ENDIF
# "$(HAVE_BIG_TMP)"==""
151 .ENDIF
# "$(NETWORK_BUILD)"!=""
152 .ELIF
"$(COM)"=="GCC" && "$(CCNUMVER)">="000300040000"
153 $(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
154 @echo
"#error Tried to use wrong precompiled header" > $(SLO
)/pch_ex
/precompiled_
$(PRJNAME
).hxx
155 .ELSE
# "$(COM)"=="MSC"
156 $(TOUCH
) $(SLO
)/pch_ex
/precompiled_
$(PRJNAME
).hxx
$(PCHPOST
)
157 .ENDIF
# "$(COM)"=="MSC"
158 @echo USED_EXCEPTIONS_PCHFLAGS
=$(subst,$(CFLAGSDEBUG
), $(CFLAGS
))$(CFLAGSCXX
)$(CFLAGSCXXSLO
)$(CFLAGSSLO
)$(CDEFS
)$(CDEFSSLO
)$(CDEFSMT
)$(CFLAGSEXCEPTIONS
) -DEXCEPTIONS_ON
$(CFLAGSAPPEND
)> $(INCCOM
)/pch_ex.mk
160 .INCLUDE .IGNORE
: $(INCCOM
)/pch.mk
161 .INCLUDE .IGNORE
: $(INCCOM
)/pch_ex.mk
162 .ENDIF
# "$(ENABLE_PCH)"!=""
165 @echo
------------------------------
166 @echo Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$<
167 .IF
"$(ENABLE_PCH)"!="" && ( "$(PRJNAME)"!="sw" ||
"$(BUILD_SPECIAL)"!="TRUE" )
169 @noop
$(assign used_exc_switches
=$(!eq
,$(EXCEPTIONSFILES
),$(subst,$@
, $(EXCEPTIONSFILES
)) $(LOCAL_EXCEPTIONS_FLAGS
) $(GLOBAL_EXCEPTIONS_FLAGS
)))
171 @noop
$(assign ACT_PCH_SWITCHES
:=$(NULL
))
172 # eq: first string is a copy of the compile line,
173 # second generated by pch creation
174 # use pch with exception support
175 @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
)))
176 # use pch without exception support
177 @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
)))
178 .ENDIF
# "$(ENABLE_PCH)"!=""
181 $(CXX
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(CFLAGSCXXSLO
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) -E
$(CFLAGSINCXX
)$(PWD
)/$*.
cxx
183 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
184 $(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
)
185 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" && "$(CAPTURE_COMMAND)"==""
186 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
187 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
188 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
190 .ELSE
# "$(GUI)"=="UNX"
193 $(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
)
195 $(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
)
196 .ENDIF
# "$(COM)"=="GCC"
197 .ENDIF
# "$(GUI)"=="UNX"
199 # fixme: write to file
200 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
201 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
202 .ENDIF
# "$(nodep)"==""
205 @echo
------------------------------
209 $(CXX
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(CFLAGSCXXSLO
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(!eq
,$(EXCEPTIONSFILES
),$(subst,$@
, $(EXCEPTIONSFILES
)) $(LOCAL_EXCEPTIONS_FLAGS
) $(GLOBAL_EXCEPTIONS_FLAGS
)) -E
$(CFLAGSINCXX
)$(PWD
)/$*.
cpp
211 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
212 $(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
213 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
214 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
215 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
216 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
221 $(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
223 $(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
227 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
228 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
229 .ENDIF
# "$(nodep)"==""
231 $(SLO
)/%.obj
: $(MISC
)/%.
cxx
232 @echo
------------------------------
236 $(CXX
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(CFLAGSCXXSLO
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(!eq
,$(EXCEPTIONSFILES
),$(subst,$@
, $(EXCEPTIONSFILES
)) $(LOCAL_EXCEPTIONS_FLAGS
) $(GLOBAL_EXCEPTIONS_FLAGS
)) -E
$(CFLAGSINCXX
)$(MISC
)/$*.
cxx
238 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
239 $(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
240 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
241 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
242 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
243 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
247 $(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
249 $(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
253 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $@
) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
254 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
255 .ENDIF
# "$(nodep)"==""
257 $(SLO
)/%.obj
: $(MISC
)/%.
cc
258 @echo
------------------------------
262 $(CXX
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(CFLAGSCXXSLO
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(!eq
,$(EXCEPTIONSFILES
),$(subst,$@
, $(EXCEPTIONSFILES
)) $(LOCAL_EXCEPTIONS_FLAGS
) $(GLOBAL_EXCEPTIONS_FLAGS
)) -E
$(CFLAGSINCXX
)$(MISC
)/$*.
cc
264 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
265 $(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
266 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
267 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
268 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
269 +$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
272 $(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 )
275 $(OBJ
)/%.obj
: $(MISC
)/%.
cxx
276 @echo
------------------------------
280 $(CXX
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(CFLAGSCXXOBJ
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $(!eq
,$(EXCEPTIONSFILES
),$(subst,$@
, $(EXCEPTIONSFILES
)) $(LOCAL_EXCEPTIONS_FLAGS
) $(GLOBAL_EXCEPTIONS_FLAGS
)) -E
$(CFLAGSINCXX
)$(MISC
)/$*.
cxx
282 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
283 $(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
284 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
285 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
286 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
287 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
291 $(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
293 $(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
297 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
298 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
299 .ENDIF
# "$(nodep)"==""
302 @echo
------------------------------
306 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) -E
$(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.c
308 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
309 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.c
310 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
311 .IF
"$(noadjust)"==""
312 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
313 .ENDIF
# "$(noadjust)"==""
314 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
315 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
319 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$*.c
321 -@echo Cflags
: $(CFLAGS
) $(INCLUDE
)
322 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$*.c
326 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
327 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
328 .ENDIF
# "$(nodep)"==""
330 $(OBJ
)/%.obj
: $(MISC
)/%.c
331 @echo
------------------------------
334 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
335 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$(MISC
)/$*.c
336 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
337 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
338 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
339 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
343 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$(MISC
)/$*.c
345 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$(MISC
)/$*.c
349 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
350 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
351 .ENDIF
# "$(nodep)"==""
353 $(SLO
)/%.obj
: $(MISC
)/%.c
354 @echo
------------------------------
357 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
358 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$(MISC
)/$*.c
359 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
360 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
361 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
362 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
366 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$(MISC
)/$*.c
368 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$(MISC
)/$*.c
372 $(TYPE
) $(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< )
373 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
374 # avoid _version objects (see tg_shl.mk) - quite hacky...
375 @noop
$(!eq
,$@
,$(@
:s
/_version.obj
/.obj
/) $(NULL
) $(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/)))
376 .ENDIF
# "$(nodep)"==""
379 @echo
------------------------------
382 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
383 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$*.c
384 .IF
"$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
385 $(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
386 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
387 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
391 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$*.c
393 $(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$*.c
397 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
398 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
399 .ENDIF
# "$(nodep)"==""
403 @echo
------------------------------
405 .IF
"$(OS)"=="MACOSX"
407 $(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) -E
$(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.m
409 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
410 $(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.m
411 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
413 .ELSE
# "$(OS)"=="MACOSX"
414 @echo
"No recipe for compiling Objective-C files is available for this platform"
415 .ENDIF
"$(OS)"=="MACOSX"
418 $(OBJ
)/%.obj
: $(MISC
)/%.m
419 @echo
------------------------------
421 .IF
"$(OS)"=="MACOSX"
422 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
423 $(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$(MISC
)/$*.m
424 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
425 .ELSE
# "$(OS)"=="MACOSX"
426 @echo
"No recipe for compiling Objective-C files is available for this platform"
427 .ENDIF
"$(OS)"=="MACOSX"
430 $(SLO
)/%.obj
: $(MISC
)/%.m
431 @echo
------------------------------
433 .IF
"$(OS)"=="MACOSX"
434 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
435 $(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$(MISC
)/$*.m
436 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
437 .ELSE
# "$(OS)"=="MACOSX"
438 @echo
"No recipe for compiling Objective-C files is available for this platform"
439 .ENDIF
"$(OS)"=="MACOSX"
443 @echo
------------------------------
445 .IF
"$(OS)"=="MACOSX"
446 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
447 $(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$*.m
448 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
449 .ELSE
# "$(OS)"=="MACOSX"
450 @echo
"No recipe for compiling Objective-C files is available for this platform"
451 .ENDIF
"$(OS)"=="MACOSX"
453 # dependencies c / c++
455 not_existing
/s_
%.dpcc
: %.c
;@noop
$(assign all_local_slo
+:=$<)
456 not_existing
/o_
%.dpcc
: %.c
;@noop
$(assign all_local_obj
+:=$<)
458 # Objective-C++ files
460 @echo
------------------------------
462 .IF
"$(OS)"=="MACOSX"
464 $(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCC
) $(OBJCXXFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) -E
$(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.mm
466 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
467 $(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCC
) $(OBJCXXFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.mm
468 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
471 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
472 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
473 .ENDIF
# "$(nodep)"==""
474 .ELSE
# "$(OS)"=="MACOSX"
475 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
476 .ENDIF
# "$(OS)"=="MACOSX"
478 # Objective-C++ files
479 $(OBJ
)/%.obj
: $(MISC
)/%.mm
480 @echo
------------------------------
482 .IF
"$(OS)"=="MACOSX"
483 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
484 $(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(OBJCXXFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$(MISC
)/$*.mm
485 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
487 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
488 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
489 .ENDIF
# "$(nodep)"==""
490 .ELSE
# "$(OS)"=="MACOSX"
491 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
492 .ENDIF
# "$(OS)"=="MACOSX"
494 # Objective-C++ files
495 $(SLO
)/%.obj
: $(MISC
)/%.mm
496 @echo
------------------------------
498 .IF
"$(OS)"=="MACOSX"
499 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
500 $(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(OBJCXXFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$(MISC
)/$*.mm
501 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
503 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
504 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
505 .ENDIF
# "$(nodep)"==""
506 .ELSE
# "$(OS)"=="MACOSX"
507 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
508 .ENDIF
# "$(OS)"=="MACOSX"
510 # Objective-C++ files
512 @echo
------------------------------
514 .IF
"$(OS)"=="MACOSX"
515 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
516 $(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(OBJCXXFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$*.mm
517 $(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
519 $(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
520 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
521 .ENDIF
# "$(nodep)"==""
522 .ELSE
# "$(OS)"=="MACOSX"
523 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
524 .ENDIF
# "$(OS)"=="MACOSX"
529 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_local_slo
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_local_slo:b:+".dpcc") s_$(i)) > $(@:f)
530 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_misc_slo
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_misc_slo:b:+".dpcc") s_$(i)) >> $(@:f)
531 @
$(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)) >> $@
532 @
$(TYPE
) $(mktmp
$(TARGET
)_known_dpcc
+=$(all_local_slo
:b
:+".dpcc":^
"s_") $(all_misc_slo
:b
:+".dpcc":^
"s_")) >> $@
537 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_local_obj
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_local_obj:b:+".dpcc") o_$(i)) > $(@:f)
538 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_misc_obj
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_misc_obj:b:+".dpcc") o_$(i)) >> $(@:f)
539 @
$(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)) >> $@
540 @
$(TYPE
) $(mktmp
$(TARGET
)_known_dpcc
+=$(all_local_obj
:b
:+".dpcc":^
"s_") $(all_misc_obj
:b
:+".dpcc":^
"s_")) >> $@
543 not_existing
/s_
%.dpcc
: %.
cxx;@noop
$(assign all_local_slo
+:=$<)
544 not_existing
/o_
%.dpcc
: %.
cxx;@noop
$(assign all_local_obj
+:=$<)
546 not_existing
/s_
%.dpcc
: %.
cpp;@noop
$(assign all_local_slo
+:=$<)
547 not_existing
/o_
%.dpcc
: %.
cpp;@noop
$(assign all_local_obj
+:=$<)
549 not_existing
/s_
%.dpcc
: $(MISC
)/%.c
;@noop
$(assign all_misc_slo
+:=$<)
550 not_existing
/o_
%.dpcc
: $(MISC
)/%.c
;@noop
$(assign all_misc_obj
+:=$<)
552 not_existing
/s_
%.dpcc
: $(MISC
)/%.
cxx;@noop
$(assign all_misc_slo
+:=$<)
553 not_existing
/o_
%.dpcc
: $(MISC
)/%.
cxx;@noop
$(assign all_misc_obj
+:=$<)
555 not_existing
/s_
%.dpcc
: %.mm
;@noop
$(assign all_local_slo
+:=$<)
556 not_existing
/o_
%.dpcc
: %.mm
;@noop
$(assign all_local_obj
+:=$<)
558 not_existing
/s_
%.dpcc
: $(MISC
)/%.mm
;@noop
$(assign all_misc_slo
+:=$<)
559 not_existing
/o_
%.dpcc
: $(MISC
)/%.mm
;@noop
$(assign all_misc_obj
+:=$<)
561 # dependencies objective-c
563 $(MISC
)/s_
%.dpcc
: %.m
565 @
$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< > $@
566 @echo
$@
: $(SLO
)/$(<:b
).obj
>> $@
568 $(MISC
)/o_
%.dpcc
: %.m
570 @
$(MAKEDEPEND
) -f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< > $@
571 @echo
$@
: $(OBJ
)/$(<:b
).obj
>> $@
573 $(MISC
)/s_
%.dpcc
: $(MISC
)/%.m
576 @
$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< | sed s\
#$(MISC)/\#\# > $@
577 .ELSE
# "$(GUI)"=="UNX"
578 @
$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< |
$(SED
) s
/$(MISC
:s
/\
/\\/)\\// > $@
579 .ENDIF
# "$(GUI)"=="UNX"
580 @echo
$@
: $(SLO
)/$(<:b
).obj
>> $@
582 $(MISC
)/o_
%.dpcc
: $(MISC
)/%.m
585 @
$(MAKEDEPEND
) -f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< | sed s\
#$(MISC)/\#\# > $@
586 .ELSE
# "$(GUI)"=="UNX"
587 @
$(MAKEDEPEND
) -f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< |
$(SED
) s
/$(MISC
:s
/\
/\\/)\\// > $@
588 .ENDIF
# "$(GUI)"=="UNX"
589 @echo
$@
: $(OBJ
)/$(<:b
).obj
>> $@
591 # dependency dummy for *.s files
593 $(MISC
)/s_
%.dpcc
: %.s
595 @
$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< > $@
596 @echo
$@
: $(SLO
)/$(<:b
).obj
>> $@
598 $(MISC
)/s_
%.dpcc
: $(SLO
)/%.obj
599 @noop
$(assign DEPS_MISSING
+:=$(@
:f
))
601 $(MISC
)/o_
%.dpcc
: $(OBJ
)/%.obj
602 @noop
$(assign DEPS_MISSING
+:=$(@
:f
))
604 # dependencies script files
608 @@
-$(MKDIR
) $(MISC
)/{$(subst,$(@
:d
:d
:d
), $(@
:d
:d
))}
609 @
$(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
> $@
610 @echo
$@
: $(PAR
)/{$(subst,$(@
:d
:d
:d
), $(@
:d
:d
))}/$(*:b
).par
>> $@
611 @echo
$(PAR
)/{$(subst,$(@
:d
:d
:d
), $(@
:d
:d
))}/$(*:b
).par
: $(*:b
).scp
>> $@
613 # dependencies rc files (native resources for windows)
617 @
$(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
>> $@
618 # @echo $@ : $(RES)/{$(subst,$(@:d:d:d), $(@:d:d))}/$(*:b).res >> $@
619 @echo
$@
: $(RES
)/$(*:b
).res
>> $@
622 @echo
------------------------------
626 dmake
$(MFLAGS
) $(MAKEFILE
) $(CALLMACROS
) NO_HIDS
=true make_srs_deps
=true
$(DEPSRSFILES
)
627 -$(TYPE
) $(MISC
)/$(TARGET
).
*.dprr
>> $@
628 .ENDIF
# "$(nodep)"==""
631 @echo
------------------------------
635 dmake
$(MFLAGS
) $(MAKEFILE
) $(CALLMACROS
) make_zip_deps
=true
$(ZIPDEPFILES
)
636 $(TYPE
) $(ZIPDEPFILES
) $(mktmp
$(NULL
)) | grep
-v
"CVS" | grep
-v
"\.svn" >> $@
637 echo zipdep_langs
=$(alllangiso
) >> $@
638 @@
-$(RM
) $(ZIPDEPFILES
)
639 .ENDIF
# "$(nodep)"==""
641 # Dependencies fuer java - Files
651 .ELSE
# "$(ndep)"==""
653 @echo
$(shell @
$(STARDEP
) @
$(mktmp
-o
$@
-i
$(CLASSDIR
) $(foreach,i
,$(JAVADEPINCLUDES
:s
/:/ /) -i
$i) $(JAVACLASSFILES
)))
656 @echo
$(shell @
$(STARDEP
) @
$(mktmp
-o
$@
-i
$(CLASSDIR
) $(foreach,i
,$(JAVADEPINCLUDES
:s
/;/ /) -i
$i) $(JAVACLASSFILES
)))
658 .ENDIF
# "$(nodep)"==""
661 @echo
------------------------------
665 $(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(SLO
)/$*.obj
$*.asm
667 .ELSE
# "$(ASM)"=="ml"
669 $(ASM
) $(AFLAGS
) $*.asm
,$(SLO
)/$*.obj
;
670 .ENDIF
# "$(ASM)"=="ml"
673 $(ASM
) $(AFLAGS
) -D
$(COM
) $*.asm
-fo
=$(SLO
)/$*.obj
674 -$(IFEXIST
) $*.err
$(THEN
) $(RM
:s
/+//) $*.err
$(FI
)
678 $(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(SLO
)/$*.obj
$*.asm
679 -$(IFEXIST
) $*.err
$(THEN
) $(RM
:s
/+//) $*.err
$(FI
)
680 .ELSE
# "$(ASM)"=="ml"
682 $(ASM
) $(AFLAGS
) $*.asm
,$(SLO
)/$*.obj
;
683 .ENDIF
# "$(ASM)"=="ml"
684 .ENDIF
"$(COM)"=="MSC"
689 @echo
------------------------------
693 $(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(OBJ
)/$*.obj
$*.asm
695 .ELSE
# "$(ASM)"=="ml"
697 $(ASM
) $(AFLAGS
) $*.asm
,$(OBJ
)/$*.obj
;
698 .ENDIF
# "$(ASM)"=="ml"
702 $(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(SLO
)/$*.obj
$*.asm
703 -$(IFEXIST
) $*.err
$(THEN
) $(RM
:s
/+//) $*.err
$(FI
)
704 .ELSE
# "$(ASM)"=="ml"
705 @
$(IFEXIST
) $@
$(THEN
) $(RM
:s
/+//) $@
>& $(NULLDEV
) $(FI
)
706 $(ASM
) $(AFLAGS
) $*.asm
,$(OBJ
)/$*.obj
;
707 .ENDIF
# "$(ASM)"=="ml"
708 .ENDIF
"$(COM)"=="MSC"
711 $(OUT
)/ucr
/$(IDLPACKAGE
)/%.urd
: %.idl
712 @noop
$(assign all_outdated_idl
+:=$<)
714 $(OUT
)/ucrdoc
/$(IDLPACKAGE
)/%.urd
: %.idl
715 @noop
$(assign all_outdated_doc_idl
+:=$<)
719 @echo
------------------------------
721 $(AUGMENT_LIBRARY_PATH
) $(PERL
) $(SOLARENV
)/bin
/mhids.pl
$*.src
$(SRS
) $(PRJNAME
) $(CDEFS
) $(INCLUDE
)
723 # make *.xml descriptions available in $(MISC)
724 $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
).xml
: %.xml
727 # dummy rule to make sure xml file is in place when used in settings.mk
728 $(MISC
)/%.mk
: $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
).xml
730 echo XML2MK_FILES
+= $(@
:b
) >> $@
732 #generate descriptions from xml
733 $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
)_description.
cxx : $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
).xml
734 xml2cmp
-func
$(MISC
)/$*$($(WINVERSIONNAMES
)_MAJOR
)_description.
cxx $<
736 #generate private rdb
737 $(BIN
)/%.rdb
: $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
).xml
738 $(RDBMAKER
) -BUCR
-O
$(BIN
)/$*.rdb @
$(mktmp
$(foreach,i
,$($(@
:b
)_XML2CMPTYPES
) -T
$i ) $(COMPRDB
))
743 @tr
-d
"\015" < $< > $@
746 .IF
"$(WITH_LANG)"!=""
747 $(COMMONMISC
)/$(TARGET
)/%.ulf
: %.ulf
750 $(ULFEX
) -p
$(PRJNAME
) -i
$(@
:f
) -o
$(@
).
$(INPATH
) -m
$(LOCALIZESDF
) -l
all
751 $(RENAME
) $@.
$(INPATH
) $@
754 $(COMMONMISC
)/$(TARGET
)/%.xrb
: %.xrb
757 $(XMLEX
) -t xrb
-p
$(PRJNAME
) -i
$(@
:f
) -o
$(@
).
$(INPATH
) -m
$(LOCALIZESDF
) -l
all
758 $(RENAME
) $@.
$(INPATH
) $@
761 $(COMMONMISC
)/$(MYPATH
)/%.xrm
: %.xrm
764 echo trysdf
= $(TRYSDF
)
765 $(XRMEX
) -p
$(PRJNAME
) -i
$(@
:f
) -o
$(@
).
$(INPATH
) -m
$(LOCALIZESDF
) -l
all
766 $(RENAME
) $@.
$(INPATH
) $@
769 #$(COMMONMISC)/$(TARGET)/%.xrm : %.xrm
770 # -$(MKDIRHIER) $(@:d)
772 # $(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
773 # $(RENAME) $@.$(INPATH) $@
774 # -$(RM) $@.$(INPATH)
776 #$(COMMONMISC)/%.xrm : %.xrm
779 # $(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
780 # $(RENAME) $@.$(INPATH) $@
781 # -$(RM) $@.$(INPATH)
782 .ENDIF
# "$(WITH_LANG)"!=""
784 .IF
"$(WITH_LANG)"!=""
785 $(COMMONMISC
)/$(TARGET
)/%.jlf
: $$(@
:db
).ulf
786 .ELSE
# "$(WITH_LANG)"!=""
787 $(COMMONMISC
)/$(TARGET
)/%.jlf
: $$(@
:b
).ulf
788 .ENDIF
# "$(WITH_LANG)"!=""
789 @
-$(MKDIRHIER
) $(@
:d
)
791 $(ULFCONV
) -o
$@.
$(INPATH
) $<
792 $(RENAME
) $@.
$(INPATH
) $@
795 .IF
"$(WITH_LANG)"!=""
796 $(COMMONMISC
)/$(TARGET
)/%.mlf
: $$(@
:db
).ulf
797 .ELSE
# "$(WITH_LANG)"!=""
798 $(COMMONMISC
)/$(TARGET
)/%.mlf
: $$(@
:b
).ulf
799 .ENDIF
# "$(WITH_LANG)"!=""
800 @
-$(MKDIRHIER
) $(@
:d
)
802 @
$(ULFCONV
) -o
$@.
$(INPATH
) -t
$(SOLARBINDIR
)/msi-encodinglist.txt
$<
803 @
$(RENAME
) $@.
$(INPATH
) $@
806 .IF
"$(WITH_LANG)"!=""
807 $(COMMONMISC
)/$(TARGET
)/%.uulf
: $$(@
:db
).ulf
808 .ELSE
# "$(WITH_LANG)"!=""
809 $(COMMONMISC
)/$(TARGET
)/%.uulf
: $$(@
:b
).ulf
810 .ENDIF
# "$(WITH_LANG)"!=""
811 @
-$(MKDIRHIER
) $(@
:d
)
813 @
$(COPY
) $< $@.
$(INPATH
)
814 @
$(RENAME
) $@.
$(INPATH
) $@
817 # This is still needed?????
818 $(COMMONMISC
)/$(TARGET
)/%.xrm
: %.xrm
821 $(XRMEX
) -p
$(PRJNAME
) -i
$(@
:f
) -o
$(@
).
$(INPATH
) -m
$(LOCALIZESDF
) -l
all
822 $(RENAME
) $@.
$(INPATH
) $@
826 # if local *.sdf file is missing