1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
31 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
33 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
34 $(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
35 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"==""
37 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
38 .ENDIF
# "$(noadjust)"==""
39 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
40 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
44 $(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
46 $(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
50 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
51 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
52 .ENDIF
# "$(nodep)"==""
55 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
57 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
58 $(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
59 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"==""
60 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
61 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
62 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
66 $(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
68 $(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
72 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
73 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
74 .ENDIF
# "$(nodep)"==""
77 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
79 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
80 $(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
81 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"==""
82 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
83 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
84 @
+$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
88 $(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
90 $(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 )
95 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
98 $(COMMAND_ECHO
)$(CXX
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(CFLAGSCXXSLO
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) -E
$(CFLAGSINCXX
)$(PWD
)/$*.
cxx
100 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
101 $(COMMAND_ECHO
)$(CAPTURE_COMMAND
) $(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
)/$*.
cxx $(CAPTURE_OUTPUT
)
102 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"=="" && "$(CAPTURE_COMMAND)"==""
103 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
104 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
105 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
107 .ELSE
# "$(GUI)"=="UNX"
110 $(COMMAND_ECHO
)$(CAPTURE_COMMAND
) $(CXX
) $(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
)
112 $(COMMAND_ECHO
)$(CAPTURE_COMMAND
) $(CXX
) $(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
)
113 .ENDIF
# "$(COM)"=="GCC"
114 .ENDIF
# "$(GUI)"=="UNX"
116 # fixme: write to file
117 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
118 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
119 .ENDIF
# "$(nodep)"==""
122 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
125 $(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
127 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
128 $(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
129 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"==""
130 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
131 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
132 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
137 $(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
139 $(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
143 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
144 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
145 .ENDIF
# "$(nodep)"==""
147 $(SLO
)/%.obj
: $(MISC
)/%.
cxx
148 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(INPATH
)/misc
/$(COMPILE_ECHO_FILE
)
151 $(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
153 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
154 $(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
155 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"==""
156 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
157 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
158 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
162 $(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
164 $(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
168 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $@
) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
169 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
170 .ENDIF
# "$(nodep)"==""
172 $(SLO
)/%.obj
: $(MISC
)/%.
cc
173 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(INPATH
)/misc
/$(COMPILE_ECHO_FILE
)
176 $(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
178 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
179 $(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
180 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"==""
181 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
182 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
183 @
+$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
186 $(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 )
189 $(OBJ
)/%.obj
: $(MISC
)/%.
cxx
190 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(INPATH
)/misc
/$(COMPILE_ECHO_FILE
)
193 $(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
195 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
196 $(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
197 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"==""
198 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
199 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
200 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
204 $(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
206 $(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
210 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
211 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
212 .ENDIF
# "$(nodep)"==""
215 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
218 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) -E
$(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.c
220 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
221 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.c
222 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"==""
223 .IF
"$(noadjust)"==""
224 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
225 .ENDIF
# "$(noadjust)"==""
226 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
227 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
231 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$*.c
233 .IF
"$(VERBOSE)" == "TRUE"
234 -@echo Cflags
: $(CFLAGS
) $(INCLUDE
)
236 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$*.c
240 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
241 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
242 .ENDIF
# "$(nodep)"==""
244 $(OBJ
)/%.obj
: $(MISC
)/%.c
245 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(INPATH
)/misc
/$(COMPILE_ECHO_FILE
)
247 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
248 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$(MISC
)/$*.c
249 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"==""
250 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
251 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
252 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
256 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$(MISC
)/$*.c
258 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(OBJ
)/$*.obj
$(MISC
)/$*.c
262 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
263 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
264 .ENDIF
# "$(nodep)"==""
266 $(SLO
)/%.obj
: $(MISC
)/%.c
267 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(INPATH
)/misc
/$(COMPILE_ECHO_FILE
)
269 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
270 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$(MISC
)/$*.c
271 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"==""
272 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
273 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
274 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
278 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$(MISC
)/$*.c
280 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$(MISC
)/$*.c
284 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
285 # avoid _version objects (see tg_shl.mk) - quite hacky...
286 @noop
$(!eq
,$@
,$(@
:s
/_version.obj
/.obj
/) $(NULL
) $(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/)))
287 .ENDIF
# "$(nodep)"==""
290 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
292 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
293 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$*.c
294 .IF
"$(OS)$(COM)"=="SOLARISC52" && "$(product)"=="full" && "$(debug)"==""
295 $(COMMAND_ECHO
)$(ADJUSTVISIBILITY
) -p
$(@
:s
/.obj
/.o
/)
296 .ENDIF
# "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
297 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
301 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$*.c
303 $(COMMAND_ECHO
)$(CC
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
)$(SLO
)/$*.obj
$*.c
307 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
308 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
309 .ENDIF
# "$(nodep)"==""
313 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
314 .IF
"$(OS)"=="MACOSX"
316 $(COMMAND_ECHO
)$(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) -E
$(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.m
318 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
319 $(COMMAND_ECHO
)$(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.m
320 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
322 .ELSE
# "$(OS)"=="MACOSX"
323 @echo
"No recipe for compiling Objective-C files is available for this platform"
324 .ENDIF
"$(OS)"=="MACOSX"
327 $(OBJ
)/%.obj
: $(MISC
)/%.m
328 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(INPATH
)/misc
/$(COMPILE_ECHO_FILE
)
329 .IF
"$(OS)"=="MACOSX"
330 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
331 $(COMMAND_ECHO
)$(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$(MISC
)/$*.m
332 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
333 .ELSE
# "$(OS)"=="MACOSX"
334 @echo
"No recipe for compiling Objective-C files is available for this platform"
335 .ENDIF
"$(OS)"=="MACOSX"
338 $(SLO
)/%.obj
: $(MISC
)/%.m
339 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(INPATH
)/misc
/$(COMPILE_ECHO_FILE
)
340 .IF
"$(OS)"=="MACOSX"
341 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
342 $(COMMAND_ECHO
)$(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$(MISC
)/$*.m
343 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
344 .ELSE
# "$(OS)"=="MACOSX"
345 @echo
"No recipe for compiling Objective-C files is available for this platform"
346 .ENDIF
"$(OS)"=="MACOSX"
350 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
351 .IF
"$(OS)"=="MACOSX"
352 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
353 $(COMMAND_ECHO
)$(objc
) $(CFLAGS
) $(INCLUDE_C
) $(CFLAGSCC
) $(OBJCFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$*.m
354 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
355 .ELSE
# "$(OS)"=="MACOSX"
356 @echo
"No recipe for compiling Objective-C files is available for this platform"
357 .ENDIF
"$(OS)"=="MACOSX"
359 # dependencies c / c++
361 not_existing
/s_
%.dpcc
: %.c
;@noop
$(assign all_local_slo
+:=$<)
362 not_existing
/o_
%.dpcc
: %.c
;@noop
$(assign all_local_obj
+:=$<)
364 # Objective-C++ files
366 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
367 .IF
"$(OS)"=="MACOSX"
369 $(COMMAND_ECHO
)$(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCC
) $(OBJCXXFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) -E
$(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.mm
371 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
372 $(COMMAND_ECHO
)$(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCC
) $(OBJCXXFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$*.mm
373 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
376 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
377 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
378 .ENDIF
# "$(nodep)"==""
379 .ELSE
# "$(OS)"=="MACOSX"
380 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
381 .ENDIF
# "$(OS)"=="MACOSX"
383 # Objective-C++ files
384 $(OBJ
)/%.obj
: $(MISC
)/%.mm
385 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(INPATH
)/misc
/$(COMPILE_ECHO_FILE
)
386 .IF
"$(OS)"=="MACOSX"
387 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
388 $(COMMAND_ECHO
)$(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(OBJCXXFLAGS
) $(CFLAGSOBJ
) $(CDEFS
) $(CDEFSOBJ
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(OBJ
)/$*.o
$(MISC
)/$*.mm
389 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
391 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< ) > $(MISC
)/o_
$(@
:f
:s
/.obj
/.dpcc
/)
392 @noop
$(assign DEPS_MADE
+:=o_
$(@
:f
:s
/.obj
/.dpcc
/))
393 .ENDIF
# "$(nodep)"==""
394 .ELSE
# "$(OS)"=="MACOSX"
395 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
396 .ENDIF
# "$(OS)"=="MACOSX"
398 # Objective-C++ files
399 $(SLO
)/%.obj
: $(MISC
)/%.mm
400 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(INPATH
)/misc
/$(COMPILE_ECHO_FILE
)
401 .IF
"$(OS)"=="MACOSX"
402 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
403 $(COMMAND_ECHO
)$(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(OBJCXXFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$(MISC
)/$*.mm
404 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
406 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
407 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
408 .ENDIF
# "$(nodep)"==""
409 .ELSE
# "$(OS)"=="MACOSX"
410 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
411 .ENDIF
# "$(OS)"=="MACOSX"
413 # Objective-C++ files
415 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
416 .IF
"$(OS)"=="MACOSX"
417 @
$(RM
) $@
$(@
:s
/.obj
/.o
/)
418 $(COMMAND_ECHO
)$(objcpp
) $(CFLAGS
) $(INCLUDE
) $(CFLAGSCXX
) $(OBJCXXFLAGS
) $(CFLAGSSLO
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $(CFLAGSAPPEND
) $(CFLAGSOUTOBJ
) $(SLO
)/$*.o
$*.mm
419 @
$(IFEXIST
) $(@
:s
/.obj
/.o
/) $(THEN
) $(TOUCH
) $@
$(FI
)
421 $(COMMAND_ECHO
)$(MAKEDEPEND
) @
$(mktmp
-f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< ) > $(MISC
)/s_
$(@
:f
:s
/.obj
/.dpcc
/)
422 @noop
$(assign DEPS_MADE
+:=s_
$(@
:f
:s
/.obj
/.dpcc
/))
423 .ENDIF
# "$(nodep)"==""
424 .ELSE
# "$(OS)"=="MACOSX"
425 @echo
"No recipe for compiling Objective-C++ files is available for this platform"
426 .ENDIF
# "$(OS)"=="MACOSX"
429 @echo
"Making: " $(@
:f
)
431 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_local_slo
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_local_slo:b:+".dpcc") s_$(i)) > $(@:f)
432 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_misc_slo
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_misc_slo:b:+".dpcc") s_$(i)) >> $(@:f)
433 @
$(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)) >> $@
434 @
$(TYPE
) $(mktmp
$(TARGET
)_known_dpcc
+=$(all_local_slo
:b
:+".dpcc":^
"s_") $(all_misc_slo
:b
:+".dpcc":^
"s_")) >> $@
437 @echo
"Making: " $(@
:f
)
439 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_local_obj
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_local_obj:b:+".dpcc") o_$(i)) > $(@:f)
440 @@
-$(CDD
) $(MISC
) && $(!null
,$(all_misc_obj
) $(TYPE
:s
/+//) echo
#) $(foreach,i,$(all_misc_obj:b:+".dpcc") o_$(i)) >> $(@:f)
441 @
$(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)) >> $@
442 @
$(TYPE
) $(mktmp
$(TARGET
)_known_dpcc
+=$(all_local_obj
:b
:+".dpcc":^
"s_") $(all_misc_obj
:b
:+".dpcc":^
"s_")) >> $@
445 not_existing
/s_
%.dpcc
: %.
cxx;@noop
$(assign all_local_slo
+:=$<)
446 not_existing
/o_
%.dpcc
: %.
cxx;@noop
$(assign all_local_obj
+:=$<)
448 not_existing
/s_
%.dpcc
: %.
cpp;@noop
$(assign all_local_slo
+:=$<)
449 not_existing
/o_
%.dpcc
: %.
cpp;@noop
$(assign all_local_obj
+:=$<)
451 not_existing
/s_
%.dpcc
: $(MISC
)/%.c
;@noop
$(assign all_misc_slo
+:=$<)
452 not_existing
/o_
%.dpcc
: $(MISC
)/%.c
;@noop
$(assign all_misc_obj
+:=$<)
454 not_existing
/s_
%.dpcc
: $(MISC
)/%.
cxx;@noop
$(assign all_misc_slo
+:=$<)
455 not_existing
/o_
%.dpcc
: $(MISC
)/%.
cxx;@noop
$(assign all_misc_obj
+:=$<)
457 not_existing
/s_
%.dpcc
: %.mm
;@noop
$(assign all_local_slo
+:=$<)
458 not_existing
/o_
%.dpcc
: %.mm
;@noop
$(assign all_local_obj
+:=$<)
460 not_existing
/s_
%.dpcc
: $(MISC
)/%.mm
;@noop
$(assign all_misc_slo
+:=$<)
461 not_existing
/o_
%.dpcc
: $(MISC
)/%.mm
;@noop
$(assign all_misc_obj
+:=$<)
463 # dependencies objective-c
465 $(MISC
)/s_
%.dpcc
: %.m
467 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< > $@
468 @echo
$@
: $(SLO
)/$(<:b
).obj
>> $@
470 $(MISC
)/o_
%.dpcc
: %.m
472 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< > $@
473 @echo
$@
: $(OBJ
)/$(<:b
).obj
>> $@
475 $(MISC
)/s_
%.dpcc
: $(MISC
)/%.m
478 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< | sed s\
#$(MISC)/\#\# > $@
479 .ELSE
# "$(GUI)"=="UNX"
480 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< |
$(SED
) s
/$(MISC
:s
/\
/\\/)\\// > $@
481 .ENDIF
# "$(GUI)"=="UNX"
482 @echo
$@
: $(SLO
)/$(<:b
).obj
>> $@
484 $(MISC
)/o_
%.dpcc
: $(MISC
)/%.m
487 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< | sed s\
#$(MISC)/\#\# > $@
488 .ELSE
# "$(GUI)"=="UNX"
489 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(OBJ
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSOBJ
) $(CDEFSMT
) $< |
$(SED
) s
/$(MISC
:s
/\
/\\/)\\// > $@
490 .ENDIF
# "$(GUI)"=="UNX"
491 @echo
$@
: $(OBJ
)/$(<:b
).obj
>> $@
493 # dependency dummy for *.s files
495 $(MISC
)/s_
%.dpcc
: %.s
497 $(COMMAND_ECHO
)$(MAKEDEPEND
) -f
- -p
$(SLO
) $(MKDEPFLAGS
) $(CDEFS
) $(CDEFSSLO
) $(CDEFSMT
) $< > $@
498 @echo
$@
: $(SLO
)/$(<:b
).obj
>> $@
500 $(MISC
)/s_
%.dpcc
: $(SLO
)/%.obj
501 @noop
$(assign DEPS_MISSING
+:=$(@
:f
))
503 $(MISC
)/o_
%.dpcc
: $(OBJ
)/%.obj
504 @noop
$(assign DEPS_MISSING
+:=$(@
:f
))
506 # dependencies script files
510 @@
-$(MKDIR
) $(MISC
)/{$(subst,$(@
:d
:d
:d
), $(@
:d
:d
))}
511 $(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
> $@
512 @echo
$@
: $(PAR
)/{$(subst,$(@
:d
:d
:d
), $(@
:d
:d
))}/$(*:b
).par
>> $@
513 @echo
$(PAR
)/{$(subst,$(@
:d
:d
:d
), $(@
:d
:d
))}/$(*:b
).par
: $(*:b
).scp
>> $@
515 # dependencies rc files (native resources for windows)
519 $(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
>> $@
520 # @echo $@ : $(RES)/{$(subst,$(@:d:d:d), $(@:d:d))}/$(*:b).res >> $@
521 @echo
$@
: $(RES
)/$(*:b
).res
>> $@
526 @echo
"Making: " $(@
:f
)
528 $(COMMAND_ECHO
)dmake
$(MFLAGS
) $(MAKEFILE
) $(CALLMACROS
) make_srs_deps
=true
$(DEPSRSFILES
)
529 $(COMMAND_ECHO
)-$(TYPE
) $(MISC
)/$(TARGET
).
*.dprr
>> $@
530 .ENDIF
# "$(nodep)"==""
535 @echo
"Making: " $(@
:f
)
537 $(COMMAND_ECHO
)dmake
$(MFLAGS
) $(MAKEFILE
) $(CALLMACROS
) make_zip_deps
=true
$(ZIPDEPFILES
)
538 $(COMMAND_ECHO
)$(TYPE
) $(ZIPDEPFILES
) $(mktmp
$(NULL
)) >> $@
539 @echo zipdep_langs
=$(alllangiso
) >> $@
540 @@
-$(RM
) $(ZIPDEPFILES
)
541 .ENDIF
# "$(nodep)"==""
543 # Dependencies fuer java - Files
546 @echo
"Making: " $(@
:f
)
553 .ELSE
# "$(ndep)"==""
555 @echo
$(shell @
$(STARDEP
) @
$(mktmp
-o
$@
-i
$(CLASSDIR
) $(foreach,i
,$(JAVADEPINCLUDES
:s
/:/ /) -i
$i) $(JAVACLASSFILES
)))
558 @echo
$(shell @
$(STARDEP
) @
$(mktmp
-o
$@
-i
$(CLASSDIR
) $(foreach,i
,$(JAVADEPINCLUDES
:s
/;/ /) -i
$i) $(JAVACLASSFILES
)))
560 .ENDIF
# "$(nodep)"==""
563 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
565 .IF
"$(ASM)"=="ml" ||
"$(ASM)"=="ml64"
566 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(SLO
)/$*.obj
$*.asm
568 .ELSE
# "$(ASM)"=="ml"
570 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) $*.asm
,$(SLO
)/$*.obj
;
571 .ENDIF
# "$(ASM)"=="ml"
574 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) -D
$(COM
) $*.asm
-fo
=$(SLO
)/$*.obj
575 @
-$(IFEXIST
) $*.err
$(THEN
) $(RM
:s
/+//) $*.err
$(FI
)
578 .IF
"$(ASM)"=="ml" ||
"$(ASM)"=="ml64"
579 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(SLO
)/$*.obj
$*.asm
580 @
-$(IFEXIST
) $*.err
$(THEN
) $(RM
:s
/+//) $*.err
$(FI
)
581 .ELSE
# "$(ASM)"=="ml"
583 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) $*.asm
,$(SLO
)/$*.obj
;
584 .ENDIF
# "$(ASM)"=="ml"
585 .ENDIF
"$(COM)"=="MSC"
590 @echo
$(COMPILE_ECHO_SWITCH
) Compiling
: $(PRJNAME
)/$(PATH_IN_MODULE
)/$(COMPILE_ECHO_FILE
)
593 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(OBJ
)/$*.obj
$*.asm
595 .ELSE
# "$(ASM)"=="ml"
597 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) $*.asm
,$(OBJ
)/$*.obj
;
598 .ENDIF
# "$(ASM)"=="ml"
602 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) -D
$(COM
) /Fo
$(SLO
)/$*.obj
$*.asm
603 @
-$(IFEXIST
) $*.err
$(THEN
) $(RM
:s
/+//) $*.err
$(FI
)
604 .ELSE
# "$(ASM)"=="ml"
605 @
$(IFEXIST
) $@
$(THEN
) $(RM
:s
/+//) $@
>& $(NULLDEV
) $(FI
)
606 $(COMMAND_ECHO
)$(ASM
) $(AFLAGS
) $*.asm
,$(OBJ
)/$*.obj
;
607 .ENDIF
# "$(ASM)"=="ml"
608 .ENDIF
"$(COM)"=="MSC"
611 $(OUT
)/ucr
/$(IDLPACKAGE
)/%.urd
: %.idl
612 @noop
$(assign all_outdated_idl
+:=$<)
614 $(OUT
)/ucrdoc
/$(IDLPACKAGE
)/%.urd
: %.idl
615 @noop
$(assign all_outdated_doc_idl
+:=$<)
617 # make *.xml descriptions available in $(MISC)
618 $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
).xml
: %.xml
619 $(COMMAND_ECHO
)$(COPY
) $< $@
621 # dummy rule to make sure xml file is in place when used in settings.mk
622 $(MISC
)/%.mk
: $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
).xml
624 @echo XML2MK_FILES
+= $(@
:b
) >> $@
626 #generate private rdb
627 $(BIN
)/%.rdb
: $(MISC
)/%$($(WINVERSIONNAMES
)_MAJOR
).xml
628 $(COMMAND_ECHO
)$(RDBMAKER
) -BUCR
-O
$(BIN
)/$*.rdb @
$(mktmp
$(foreach,i
,$($(@
:b
)_XML2CMPTYPES
) -T
$i ) $(COMPRDB
))
633 @tr
-d
"\015" < $< > $@
636 .IF
"$(WITH_LANG)"!=""
637 $(COMMONMISC
)/$(TARGET
)/%.ulf
: %.ulf
638 @echo
"Making: " $(@
:f
)
639 $(COMMAND_ECHO
)-$(MKDIRHIER
) $(@
:d
)
640 $(COMMAND_ECHO
)-$(RM
) $@
641 $(COMMAND_ECHO
)$(ULFEX
) -p
$(PRJNAME
) -i
$(@
:f
) -o
$(@
).
$(INPATH
) -m
$(mktmp
$(foreach,lang
,$(subst,en-US
, $(WITH_LANG_LIST
)) $(SRCDIR
)/translations
/source
/$(lang
)/$(PRJNAME
)$/$(PATH_IN_MODULE
).po
)) -l
all
642 $(COMMAND_ECHO
)$(RENAME
) $@.
$(INPATH
) $@
643 $(COMMAND_ECHO
)-$(RM
) $@.
$(INPATH
)
645 $(COMMONMISC
)/$(MYPATH
)/%.xrm
: %.xrm
646 $(COMMAND_ECHO
)-$(MKDIRHIER
) $(@
:d
)
647 $(COMMAND_ECHO
)-$(RM
) $@
648 @echo trysdf
= $(TRYSDF
)
649 $(COMMAND_ECHO
)$(XRMEX
) -p
$(PRJNAME
) -i
$(@
:f
) -o
$(@
).
$(INPATH
) -m
$(LOCALIZESDF
) -l
all
650 $(COMMAND_ECHO
)$(RENAME
) $@.
$(INPATH
) $@
651 $(COMMAND_ECHO
)-$(RM
) $@.
$(INPATH
)
653 #$(COMMONMISC)/$(TARGET)/%.xrm : %.xrm
654 # -$(MKDIRHIER) $(@:d)
656 # $(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
657 # $(RENAME) $@.$(INPATH) $@
658 # -$(RM) $@.$(INPATH)
660 #$(COMMONMISC)/%.xrm : %.xrm
663 # $(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
664 # $(RENAME) $@.$(INPATH) $@
665 # -$(RM) $@.$(INPATH)
666 .ENDIF
# "$(WITH_LANG)"!=""
668 .IF
"$(WITH_LANG)"!=""
669 $(COMMONMISC
)/$(TARGET
)/%.jlf
: $$(@
:db
).ulf
670 .ELSE
# "$(WITH_LANG)"!=""
671 $(COMMONMISC
)/$(TARGET
)/%.jlf
: $$(@
:b
).ulf
672 .ENDIF
# "$(WITH_LANG)"!=""
673 @
-$(MKDIRHIER
) $(@
:d
)
674 $(COMMAND_ECHO
)-$(RM
) $@
675 $(COMMAND_ECHO
)$(ULFCONV
) -o
$@.
$(INPATH
) $<
676 $(COMMAND_ECHO
)$(RENAME
) $@.
$(INPATH
) $@
677 $(COMMAND_ECHO
)-$(RM
) $@.
$(INPATH
)
679 .IF
"$(WITH_LANG)"!=""
680 $(COMMONMISC
)/$(TARGET
)/%.mlf
: $$(@
:db
).ulf
681 .ELSE
# "$(WITH_LANG)"!=""
682 $(COMMONMISC
)/$(TARGET
)/%.mlf
: $$(@
:b
).ulf
683 .ENDIF
# "$(WITH_LANG)"!=""
684 @
-$(MKDIRHIER
) $(@
:d
)
686 @
$(ULFCONV
) -o
$@.
$(INPATH
) -t
$(SOLARBINDIR
)/msi-encodinglist.txt
$<
687 @
$(RENAME
) $@.
$(INPATH
) $@
690 .IF
"$(WITH_LANG)"!=""
691 $(COMMONMISC
)/$(TARGET
)/%.uulf
: $$(@
:db
).ulf
692 .ELSE
# "$(WITH_LANG)"!=""
693 $(COMMONMISC
)/$(TARGET
)/%.uulf
: $$(@
:b
).ulf
694 .ENDIF
# "$(WITH_LANG)"!=""
695 @
-$(MKDIRHIER
) $(@
:d
)
696 $(COMMAND_ECHO
)-$(RM
) $@
697 @
$(COPY
) $< $@.
$(INPATH
)
698 @
$(RENAME
) $@.
$(INPATH
) $@