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: target.mk,v $
11 # $Revision: 1.211.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 #*************************************************************************
34 # ------------------------------------------------------------------
36 # ------------------------------------------------------------------
38 .IF
"$(STL_OS2_BUILDING)" != ""
39 CDEFS
+=-DSTL_OS2_BUILDING
41 .IF
"$(VISIBILITY_HIDDEN)" != ""
42 .IF
"$(COMNAME)" == "gcc3" && "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
43 CFLAGS
+= -fvisibility
=hidden
44 .ELIF
"$(COMNAME)" == "sunpro5" && "$(CCNUMVER)" >= "00050005"
45 CFLAGS
+= -xldscope
=hidden
50 target_empty
=warn_target_empty
54 # no standalone -I flags!!
59 ENVINCPRE
+=-I
$(PRE
)/inc
61 .IF
"$(BOOTSTRAP_SERVICE)"!="TRUE" && "$(NO_OFFUH)"==""
62 UNOINCLUDES
=$(SOLARINCDIR
)/offuh
63 .ENDIF
# "$(BOOTSTRAP_SERVICE)"!="TRUE" && "$(NO_OFFUH)"==""
65 # make sure INCLUDE isn't set
69 INCLUDE
!:=-I.
$(ENVINCPRE
) $(INCPRE
:^
"-I":s
/-I-I
/-I
/) -I
$(INCLOCAL
) $(INCLOCPRJ
:^
"-I":s
/-I-I
/-I
/) -I
$(INCPCH
) -I
$(INC
) -I
$(INCGUI
) -I
$(INCCOM
) $(SOLARINC
) $(null
,$(UNOINCLUDES
) $(NULL
) -I
$(UNOINCLUDES
)) -I
$(INCEXT
) -I
$(PRJ
)/res
-I
$(INCPOST
)
70 .ELSE
# "$(PRJINC)"!=""
71 INCLUDE
!:=-I.
$(ENVINCPRE
) $(INCPRE
:^
"-I":s
/-I-I
/-I
/) -I
$(INCLOCAL
) -I
$(INCPCH
) -I
$(INC
) -I
$(INCGUI
) -I
$(INCCOM
) $(SOLARINC
) $(null
,$(UNOINCLUDES
) $(NULL
) -I
$(UNOINCLUDES
)) -I
$(INCEXT
) -I
$(PRJ
)/res
-I
$(INCPOST
)
72 .ENDIF
# "$(PRJINC)"!=""
73 INCLUDE_C
=$(subst,/stl
$(SPACECHAR
),dont_use_stl
$(SPACECHAR
) $(INCLUDE
))
75 # --- Compiler -----------------------------------------------------
77 .IF
"$(RC_SUBDIRS)"!=""
78 SUBDIRS
:=$(RC_SUBDIRS
)
79 SUBDIRSDEPS
=$(RC_SUBDIRSDEPS
)
82 .INCLUDE
: pstrules.mk
84 .IF
"$(YACCTARGET)"!=""
86 .ENDIF
# "$(YACCTARGET)"!=""
90 .IF
"$(L10N_framework)"==""
91 .IF
"$(DEPOBJFILES)"!=""
92 DEPCOLLECT_SLO
+:=$(foreach,i
,$(DEPOBJFILES
) $(eq
,$i,$(subst,$(SLO
),ttt
$i) $(NULL
) $(subst,$(SLO
)/,not_existing
/s_
$(i
:s
/.obj
/.dpcc
/))))
93 DEPCOLLECT_OBJ
+:=$(foreach,i
,$(DEPOBJFILES
) $(eq
,$i,$(subst,$(OBJ
),ttt
$i) $(NULL
) $(subst,$(OBJ
)/,not_existing
/o_
$(i
:s
/.obj
/.dpcc
/))))
94 .ENDIF
# "$(DEPOBJFILES)"!=""
95 # point to not existing directory as there is no creation intended anyway and
96 # stat call looks faster
97 DEPCOLLECT_SLO
+:=$(subst,$(SLO
)/,not_existing
/s_
$(SLOFILES
:s
/.obj
/.dpcc
/))
98 DEPCOLLECT_OBJ
+:=$(subst,$(OBJ
)/,not_existing
/o_
$(OBJFILES
:s
/.obj
/.dpcc
/))
99 .ENDIF
# "$(L10N_framework)"==""
100 DEPFILESx
+:=$(subst,$(PAR
),$(MISC
) $(ALLPARFILES
:s
/.par
/.dpsc
/))
101 .IF
"$(L10N_framework)"==""
104 DEPFILESx
+:=$(MISC
)/$(RESNAME
).dpcc
105 .ELSE
# "$(RESNAME)"!=""
106 DEPFILESx
+:=$(MISC
)/$(TARGET
).dprc
107 .ENDIF
# "$(RESNAME)"!=""
108 .ENDIF
# "$(RCFILES)"!=""
109 .ENDIF
# "$(L10N_framework)"==""
110 DEPFILES
:=$(uniq
$(DEPFILESx
))
111 DEPCOLLECT_SLO
!:=$(strip $(uniq
$(DEPCOLLECT_SLO
)))
112 .IF
"$(DEPCOLLECT_SLO)"!=""
113 DEPFILE_SLO
+:=$(MISC
)/all_
$(TARGET
).dpslo
114 .ENDIF
# "$(DEPCOLLECT_SLO)"!=""
115 DEPCOLLECT_OBJ
!:=$(strip $(uniq
$(DEPCOLLECT_OBJ
)))
116 .IF
"$(DEPCOLLECT_OBJ)"!=""
117 DEPFILE_OBJ
+:=$(MISC
)/all_
$(TARGET
).dpobj
118 .ENDIF
# "$(DEPCOLLECT_OBJ)"!=""
119 .ENDIF
# "$(nodep)"==""
121 .IF
"$(depend)" == ""
127 # with VCL no resources are appended to the application
137 # unfortunatly there are some applications which don't VCL resources but have
138 # resources of their own
139 .IF
"$(APP1NOSVRES)" != ""
140 APP1RES
=$(APP1NOSVRES
)
142 .IF
"$(APP2NOSVRES)" != ""
143 APP2RES
=$(APP2NOSVRES
)
145 .IF
"$(APP3NOSVRES)" != ""
146 APP3RES
=$(APP3NOSVRES
)
161 .IF
"$(IDLFILES)"!=""
163 URDFILES
+=$(foreach,i
,$(IDLFILES
:s
/.idl
/.urd
/:f
) $(OUT
)/ucr
/$(IDLPACKAGE
)/$i)
164 UNOIDLTARGETS
+=$(URDFILES
)
166 .IF
"$(URDFILES)"!=""
167 LOCALDBTARGET
=$(OUT
)/ucr
/$(TARGET
).db
170 .IF
"$(URDDOC)" != ""
171 URDDOCFILES
+=$(foreach,i
,$(IDLFILES
:s
/.idl
/.urd
/:f
) $(OUT
)/ucrdoc
/$(IDLPACKAGE
)/$i)
172 UNOIDLTARGETS
+=$(URDDOCFILES
)
174 .IF
"$(URDDOCFILES)"!=""
175 LOCALDOCDBTARGET
=$(OUT
)/ucrdoc
/$(TARGET
).db
178 .ENDIF
# "$(URDDOC)" != ""
180 .ENDIF
# "$(IDLFILES)"!=""
182 .IF
"$(UNOIDLDBFILES)"!=""
183 UNOIDLDBTARGET
=$(OUT
)/ucr
/$(PRJNAME
).db
184 .IF
"$(URDDOC)" != ""
185 UNOIDLDBDOCFILES
:=$(subst,/ucr
/,/ucrdoc
/ $(UNOIDLDBFILES
))
186 UNOIDLDBDOCTARGET
=$(OUT
)/ucrdoc
/$(PRJNAME
)_doc.db
187 .IF
"$(UNOIDLDBREGS)"!=""
188 UNOIDLDBDOCREGS
=$(foreach,i
,$(UNOIDLDBREGS
) $(i
:d
)$(i
:b
)_doc
$(i
:e
))
189 .ENDIF
# "$(UNOIDLDBREGS)"!=""
190 .ENDIF
# "$(URDDOC)" != ""
191 .ENDIF
# "$(UNOIDLDBFILES)"!=""
193 .IF
"$(IDLFILES)"!=""
195 IDLDIRS
=$(SOLARIDLDIR
)/$(PACKAGE
)
196 .ELSE
# "$(PACKAGE)"!=""
197 IDLDIRS
=$(SOLARIDLDIR
)
198 .ENDIF
# "$(PACKAGE)"!=""
200 .IF
"$(LOCALIDLFILES)$(EXTERNIDLFILES)"!=""
201 .IF
"$(EXTERNIDLFILES)"!=""
202 DEPIDLFILES
:=$(foreach,i
,$(IDLFILES
) $(IDLDIRS
)/$i)
203 .ELSE
# "$(EXTERNIDLFILES)"!=""
204 DEPIDLFILES
:=$(IDLFILES
)
205 .ENDIF
# "$(EXTERNIDLFILES)"!=""
206 .ELSE
# "$(LOCALIDLFILES)$(EXTERNIDLFILES)"!=""
207 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
208 DEPIDLFILES
:=$(foreach,i
,$(IDLFILES
) $(!null
,$(shell @
$(FIND
) .
-name
$i) $i $(shell @
($(FIND
) $(IDLDIRS
) -name
$(i
:f
)) |
$(SED
) s
/\
//\\/g
)))
209 .ELSE
# "$(GUI)"=="WNT"
210 DEPIDLFILES
:=$(foreach,i
,$(IDLFILES
) $(!null
,$(shell @
$(FIND
) .
-name
$i -print) $i $(shell @
$(FIND
) $(IDLDIRS
) -name
$(i
:f
) -print ) ))
211 .ENDIF
# "$(GUI)"=="WNT"
212 .ENDIF
# "$(LOCALIDLFILES)$(EXTERNIDLFILES)"!=""
213 .ENDIF
# "$(IDLFILES)"!=""
215 .IF
"$(L10N_framework)"==""
216 .IF
"$(JARFILES)"!=""
217 LOCALJARS
:=$(foreach,i
,$(shell @@
-cd
$(JARDIR
) && ls
-1 $(JARFILES
) ) $(JARDIR
)/$i)
218 NEWCLASS
:=$(LOCALJARS
)
219 NEWCLASS
+:=$(foreach,i
,$(JARFILES
) $(eq
,$(LOCALJARS
),$(subst,$i, $(LOCALJARS
)) $(SOLARBINDIR
)/$i $(NULL
)))
220 .ENDIF
# "$(JARFILES)"!=""
221 .IF
"$(EXTRAJARFILES)"!=""
222 NEWCLASS
+=$(foreach,i
,$(EXTRAJARFILES
) $(COMMON_BUILD_TOOLS
)/$i)
223 .ENDIF
# "$(EXTRAJARFILES)"!=""
224 .IF
"$(GENJAVACLASSFILES)"!=""
225 NEWCLASS
+=$(CLASSGENDIR
)
226 .ENDIF
# "$(GENJAVACLASSFILES)"!=""
227 .IF
"$(NEWCLASS)"!=""
228 # See iz36027 for the reason for the strange $(subst ..) construct
229 CLASSPATH
:=.
$(PATH_SEPERATOR
)$(CLASSDIR
)$(PATH_SEPERATOR
)$(XCLASSPATH
)$(PATH_SEPERATOR
){$(subst,%Z
*Z
%,$(PATH_SEPERATOR
) $(NEWCLASS
:s
/ /%Z
*Z
%/))}$(PATH_SEPERATOR
)$(SOLARLIBDIR
)
230 .ENDIF
# "$(NEWCLASS)"!=""
231 .ENDIF
# "$(L10N_framework)"==""
233 .IF
"$(NOOPTFILES)" != ""
234 NOOPTTARGET
=do_it_noopt
237 .IF
"$(EXCEPTIONSNOOPTFILES)" != ""
238 EXCEPTIONSNOOPTTARGET
=do_it_exceptions_noopt
241 .IF
"$(LIBTARGET)"==""
242 .IF
"$(OBJFILES)$(IDLOBJFILES)"!=""
243 OBJTARGET
=$(LB
)/$(TARGET
).lib
246 .IF
"$(SLOFILES)$(IDLSLOFILES)"!=""
247 SLOTARGET
=$(SLB
)/$(TARGET
).lib
249 .ENDIF
# "$(LIBTARGET)"==""
251 .IF
"$(SECOND_BUILD)"!=""
252 .IF
"$($(SECOND_BUILD)_SLOFILES)"!=""
253 .IF
"$(LIBTARGET)"==""
254 $(SECOND_BUILD
)SLOTARGET
=$(SLB
)/$(SECOND_BUILD
)_
$(TARGET
).lib
255 .ENDIF
# "$(LIBTARGET)"==""
256 REAL_
$(SECOND_BUILD
)_SLOFILES
=$(foreach,i
,$($(SECOND_BUILD
)_SLOFILES
) $(i
:d
)$(SECOND_BUILD
)_
$(i
:f
))
259 .IF
"$($(SECOND_BUILD)_OBJFILES)"!=""
260 .IF
"$(LIBTARGET)"==""
261 $(SECOND_BUILD
)OBJTARGET
=$(LB
)/$(SECOND_BUILD
)_
$(TARGET
).lib
262 .ENDIF
# "$(LIBTARGET)"==""
263 REAL_
$(SECOND_BUILD
)_OBJFILES
=$(foreach,i
,$($(SECOND_BUILD
)_OBJFILES
) $(i
:d
)$(SECOND_BUILD
)_
$(i
:f
))
265 .ENDIF
# "$(SECOND_BUILD)"!=""
267 .IF
"$(NOLIBOBJTARGET)$(NOLIBSLOTARGET)"!=""
268 dont_set_NOLIBOBJTARGET
:
269 @echo
--------------------------------------------------
270 @echo setting NOLIBOBJTARGET or NOLIBSLOTARGET in your makefile
271 @echo will cause serious problems
!
272 @echo use DEPOBJFILES instead.
273 @echo
--------------------------------------------------
275 .ENDIF
# "$(NOLIBTARGET)"!=""
276 .IF
"$(OBJFILES)"!=""
277 .IF
"$(LIBTARGET)" != ""
278 NOLIBOBJTARGET
=$(OBJFILES
)
282 .IF
"$(SLOFILES)"!=""
283 .IF
"$(LIBTARGET)" != ""
284 NOLIBSLOTARGET
=$(SLOFILES
)
288 .IF
"$(SRC1FILES)"!=""
289 SRC1TARGET
=$(SRS
)/$(SRS1NAME
).srs
290 DEPSRS1FILE
+=$(MISC
)/$(TARGET
).
$(SRS1NAME
).dprr
291 DEPSRSFILES
+=$(DEPSRS1FILE
)
294 .IF
"$(SRC2FILES)"!=""
295 SRC2TARGET
=$(SRS
)/$(SRS2NAME
).srs
296 DEPSRS2FILE
+=$(MISC
)/$(TARGET
).
$(SRS2NAME
).dprr
297 DEPSRSFILES
+=$(DEPSRS2FILE
)
300 .IF
"$(SRC3FILES)"!=""
301 SRC3TARGET
=$(SRS
)/$(SRS3NAME
).srs
302 DEPSRS3FILE
+=$(MISC
)/$(TARGET
).
$(SRS3NAME
).dprr
303 DEPSRSFILES
+=$(DEPSRS3FILE
)
306 .IF
"$(SRC4FILES)"!=""
307 SRC4TARGET
=$(SRS
)/$(SRS4NAME
).srs
308 DEPSRS4FILE
+=$(MISC
)/$(TARGET
).
$(SRS4NAME
).dprr
309 DEPSRSFILES
+=$(DEPSRS4FILE
)
312 .IF
"$(SRC5FILES)"!=""
313 SRC5TARGET
=$(SRS
)/$(SRS5NAME
).srs
314 DEPSRS5FILE
+=$(MISC
)/$(TARGET
).
$(SRS5NAME
).dprr
315 DEPSRSFILES
+=$(DEPSRS5FILE
)
318 .IF
"$(SRC6FILES)"!=""
319 SRC6TARGET
=$(SRS
)/$(SRS6NAME
).srs
320 DEPSRS6FILE
+=$(MISC
)/$(TARGET
).
$(SRS6NAME
).dprr
321 DEPSRSFILES
+=$(DEPSRS6FILE
)
324 .IF
"$(SRC7FILES)"!=""
325 SRC7TARGET
=$(SRS
)/$(SRS7NAME
).srs
326 DEPSRS7FILE
+=$(MISC
)/$(TARGET
).
$(SRS7NAME
).dprr
327 DEPSRSFILES
+=$(DEPSRS7FILE
)
330 .IF
"$(SRC8FILES)"!=""
331 SRC8TARGET
=$(SRS
)/$(SRS8NAME
).srs
332 DEPSRS8FILE
+=$(MISC
)/$(TARGET
).
$(SRS8NAME
).dprr
333 DEPSRSFILES
+=$(DEPSRS8FILE
)
336 .IF
"$(SRC9FILES)"!=""
337 SRC9TARGET
=$(SRS
)/$(SRS9NAME
).srs
338 DEPSRS9FILE
+=$(MISC
)/$(TARGET
).
$(SRS9NAME
).dprr
339 DEPSRSFILES
+=$(DEPSRS9FILE
)
342 .IF
"$(SOLAR_JAVA)"!=""
343 .IF
"$(JAVAFILES)$(JAVACLASSFILES)$(GENJAVAFILES)"!=""
344 .IF
"$(JAVAFILES)$(JAVACLASSFILES)"=="$(JAVAFILES)"
345 JAVACLASSFILES
= $(foreach,i
,$(JAVAFILES
) $(CLASSDIR
)/$(PACKAGE
)/$(i
:s
/.java
//).class
)
346 .ELSE
# "$(JAVAFILES)$(JAVACLASSFILES)"=="$(JAVAFILES)"
347 .IF
"$(JAVAFILES)$(JAVACLASSFILES)"=="$(JAVACLASSFILES)"
348 JAVAFILES
= $(foreach,i
,$(JAVACLASSFILES
) $(subst,$(CLASSDIR
)/$(PACKAGE
)/, $(i
:s
/.class
//).java
))
349 .ENDIF
# "$(JAVAFILES)$(JAVACLASSFILES)"=="$(JAVACLASSFILES)"
350 .ENDIF
# "$(JAVAFILES)$(JAVACLASSFILES)"=="$(JAVAFILES)"
351 JAVATARGET
:=$(MISC
)/$(TARGET
)_dummy.java
352 .ENDIF
# "$(JAVAFILES)$(JAVACLASSFILES)$(GENJAVAFILES)"!=""
354 .IF
"$(JARTARGET)"!=""
356 .IF
"$(NEW_JAR_PACK)"!=""
357 JARMANIFEST
*=$(CLASSDIR
)/$(TARGET
)/META-INF
/MANIFEST.MF
358 .ENDIF
# "$(NEW_JAR_PACK)"!=""
359 JARTARGETN
=$(CLASSDIR
)/$(JARTARGET
)
360 .IF
"$(NOJARDEP)$(NEW_JAR_PACK)"==""
361 JARTARGETDEP
=$(JARTARGET
).dep
362 JARTARGETDEPN
=$(MISC
)/$(JARTARGET
).dep
363 .ENDIF
# "$(NOJARDEP)$(NEW_JAR_PACK)"==""
364 .ENDIF
# "$(JARTARGET)"!=""
365 .ELSE
# "$(SOLAR_JAVA)"!=""
369 .ENDIF
# "$(SOLAR_JAVA)"!=""
371 .IF
"$(L10N_framework)"==""
374 .IF
"$(RCFILES)" != "verinfo.rc"
375 RCTARGET
=$(RES
)/$(RESNAME
).res
376 .ELSE
# "$(RCFILES)" != "verinfo.rc"
378 .ENDIF
# "$(RCFILES)" != "verinfo.rc"
379 .ENDIF
# "$(RCFILES)"!=""
380 .ENDIF
# "$(L10N_framework)"==""
382 LOCALIZE_ME_DEST
:=$(foreach,i
,$(LOCALIZE_ME
) $(INCCOM
)/$(i
:f
:s
/_tmpl
//))
384 .IF
"$(SCP1TARGET)"!=""
385 SCP1TARGETN
:=$(foreach,i
,$(SCP1LINK_PRODUCT_TYPE
) $(BIN
)/$i/$(SCP1TARGET
)$(SCPPOST
))
388 .IF
"$(SCP2TARGET)"!=""
389 SCP2TARGETN
:=$(foreach,i
,$(SCP2LINK_PRODUCT_TYPE
) $(BIN
)/$i/$(SCP2TARGET
)$(SCPPOST
))
392 .IF
"$(SCP3TARGET)"!=""
393 SCP3TARGETN
:=$(foreach,i
,$(SCP3LINK_PRODUCT_TYPE
) $(BIN
)/$i/$(SCP3TARGET
)$(SCPPOST
))
396 .IF
"$(SCP4TARGET)"!=""
397 SCP4TARGETN
:=$(foreach,i
,$(SCP4LINK_PRODUCT_TYPE
) $(BIN
)/$i/$(SCP4TARGET
)$(SCPPOST
))
400 .IF
"$(SCP5TARGET)"!=""
401 SCP5TARGETN
:=$(foreach,i
,$(SCP5LINK_PRODUCT_TYPE
) $(BIN
)/$i/$(SCP5TARGET
)$(SCPPOST
))
404 .IF
"$(SCP6TARGET)"!=""
405 SCP6TARGETN
:=$(foreach,i
,$(SCP6LINK_PRODUCT_TYPE
) $(BIN
)/$i/$(SCP6TARGET
)$(SCPPOST
))
408 .IF
"$(SCP7TARGET)"!=""
409 SCP7TARGETN
:=$(foreach,i
,$(SCP7LINK_PRODUCT_TYPE
) $(BIN
)/$i/$(SCP7TARGET
)$(SCPPOST
))
412 .IF
"$(SCP8TARGET)"!=""
413 SCP8TARGETN
:=$(foreach,i
,$(SCP8LINK_PRODUCT_TYPE
) $(BIN
)/$i/$(SCP8TARGET
)$(SCPPOST
))
416 .IF
"$(SCP9TARGET)"!=""
417 SCP9TARGETN
:=$(foreach,i
,$(SCP9LINK_PRODUCT_TYPE
) $(BIN
)/$i/$(SCP9TARGET
)$(SCPPOST
))
420 .IF
"$(ZIP1TARGET)$(ZIP2TARGET)$(ZIP3TARGET)$(ZIP4TARGET)$(ZIP5TARGET)$(ZIP6TARGET)$(ZIP7TARGET)$(ZIP8TARGET)$(ZIP9TARGET)"!="$(ZIP1LIST:s/LANGDIR//)$(ZIP2LIST:s/LANGDIR//)$(ZIP3LIST:s/LANGDIR//)$(ZIP4LIST:s/LANGDIR//)$(ZIP5LIST:s/LANGDIR//)$(ZIP6LIST:s/LANGDIR//)$(ZIP7LIST:s/LANGDIR//)$(ZIP8LIST:s/LANGDIR//)$(ZIP9LIST:s/LANGDIR//)"
426 .IF
"$(APP1TARGET)"!=""
427 APP1TARGETN
=$(BIN
)/$(APP1TARGET
)$(EXECPOST
)
430 .IF
"$(APP1BASE)"==""
433 APP1BASEX
=/BASE
:$(APP1BASE
)
438 .IF
"$(APP2TARGET)"!=""
439 APP2TARGETN
=$(BIN
)/$(APP2TARGET
)$(EXECPOST
)
442 .IF
"$(APP2BASE)"==""
445 APP2BASEX
=/BASE
:$(APP2BASE
)
450 .IF
"$(APP3TARGET)"!=""
451 APP3TARGETN
=$(BIN
)/$(APP3TARGET
)$(EXECPOST
)
453 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
454 .IF
"$(APP3BASE)"==""
457 APP3BASEX
=/BASE
:$(APP3BASE
)
462 .IF
"$(APP4TARGET)"!=""
463 APP4TARGETN
=$(BIN
)/$(APP4TARGET
)$(EXECPOST
)
466 .IF
"$(APP4BASE)"==""
469 APP4BASEX
=/BASE
:$(APP4BASE
)
474 .IF
"$(APP5TARGET)"!=""
475 APP5TARGETN
=$(BIN
)/$(APP5TARGET
)$(EXECPOST
)
478 .IF
"$(APP5BASE)"==""
481 APP5BASEX
=/BASE
:$(APP5BASE
)
486 .IF
"$(APP6TARGET)"!=""
487 APP6TARGETN
=$(BIN
)/$(APP6TARGET
)$(EXECPOST
)
490 .IF
"$(APP6BASE)"==""
493 APP6BASEX
=/BASE
:$(APP6BASE
)
498 .IF
"$(APP7TARGET)"!=""
499 APP7TARGETN
=$(BIN
)/$(APP7TARGET
)$(EXECPOST
)
502 .IF
"$(APP7BASE)"==""
505 APP7BASEX
=/BASE
:$(APP7BASE
)
510 .IF
"$(APP8TARGET)"!=""
511 APP8TARGETN
=$(BIN
)/$(APP8TARGET
)$(EXECPOST
)
513 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
514 .IF
"$(APP8BASE)"==""
517 APP8BASEX
=/BASE
:$(APP8BASE
)
522 .IF
"$(APP9TARGET)"!=""
523 APP9TARGETN
=$(BIN
)/$(APP9TARGET
)$(EXECPOST
)
525 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
526 .IF
"$(APP9BASE)"==""
529 APP9BASEX
=/BASE
:$(APP9BASE
)
534 .IF
"$(SHL1TARGET)"!=""
535 .IF
"$(WINVERSIONNAMES)"!=""
536 SHL1TARGET
!:=$(SHL1TARGET
)$($(WINVERSIONNAMES
)_MAJOR
)
537 .ENDIF
# "$(WINVERSIONNAMES)"!=""
538 SHL1DLLPRE
*=$(DLLPRE
)
539 SHL1TARGETN
=$(DLLDEST
)/$(SHL1DLLPRE
)$(SHL1TARGET
)$(DLLPOST
)
541 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
542 .IF
"$(SHL1BASE)"==""
545 SHL1BASEX
=/BASE
:$(SHL1BASE
)
550 .IF
"$(SHL2TARGET)"!=""
551 .IF
"$(WINVERSIONNAMES)"!=""
552 SHL2TARGET
!:=$(SHL2TARGET
)$($(WINVERSIONNAMES
)_MAJOR
)
553 .ENDIF
# "$(WINVERSIONNAMES)"!=""
554 SHL2DLLPRE
*=$(DLLPRE
)
555 SHL2TARGETN
=$(DLLDEST
)/$(SHL2DLLPRE
)$(SHL2TARGET
)$(DLLPOST
)
557 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
558 .IF
"$(SHL2BASE)"==""
561 SHL2BASEX
=/BASE
:$(SHL2BASE
)
566 .IF
"$(SHL3TARGET)"!=""
567 .IF
"$(WINVERSIONNAMES)"!=""
568 SHL3TARGET
!:=$(SHL3TARGET
)$($(WINVERSIONNAMES
)_MAJOR
)
569 .ENDIF
# "$(WINVERSIONNAMES)"!=""
570 SHL3DLLPRE
*=$(DLLPRE
)
571 SHL3TARGETN
=$(DLLDEST
)/$(SHL3DLLPRE
)$(SHL3TARGET
)$(DLLPOST
)
573 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
574 .IF
"$(SHL3BASE)"==""
577 SHL3BASEX
=/BASE
:$(SHL3BASE
)
582 .IF
"$(SHL4TARGET)"!=""
583 .IF
"$(WINVERSIONNAMES)"!=""
584 SHL4TARGET
!:=$(SHL4TARGET
)$($(WINVERSIONNAMES
)_MAJOR
)
585 .ENDIF
# "$(WINVERSIONNAMES)"!=""
586 SHL4DLLPRE
*=$(DLLPRE
)
587 SHL4TARGETN
=$(DLLDEST
)/$(SHL4DLLPRE
)$(SHL4TARGET
)$(DLLPOST
)
589 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
590 .IF
"$(SHL4BASE)"==""
593 SHL4BASEX
=/BASE
:$(SHL4BASE
)
598 .IF
"$(SHL5TARGET)"!=""
599 .IF
"$(WINVERSIONNAMES)"!=""
600 SHL5TARGET
!:=$(SHL5TARGET
)$($(WINVERSIONNAMES
)_MAJOR
)
601 .ENDIF
# "$(WINVERSIONNAMES)"!=""
602 SHL5DLLPRE
*=$(DLLPRE
)
603 SHL5TARGETN
=$(DLLDEST
)/$(SHL5DLLPRE
)$(SHL5TARGET
)$(DLLPOST
)
605 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
606 .IF
"$(SHL5BASE)"==""
609 SHL5BASEX
=/BASE
:$(SHL5BASE
)
614 .IF
"$(SHL6TARGET)"!=""
615 .IF
"$(WINVERSIONNAMES)"!=""
616 SHL6TARGET
!:=$(SHL6TARGET
)$($(WINVERSIONNAMES
)_MAJOR
)
617 .ENDIF
# "$(WINVERSIONNAMES)"!=""
618 SHL6DLLPRE
*=$(DLLPRE
)
619 SHL6TARGETN
=$(DLLDEST
)/$(SHL6DLLPRE
)$(SHL6TARGET
)$(DLLPOST
)
621 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
622 .IF
"$(SHL6BASE)"==""
625 SHL6BASEX
=/BASE
:$(SHL6BASE
)
630 .IF
"$(SHL7TARGET)"!=""
631 .IF
"$(WINVERSIONNAMES)"!=""
632 SHL7TARGET
!:=$(SHL7TARGET
)$($(WINVERSIONNAMES
)_MAJOR
)
633 .ENDIF
# "$(WINVERSIONNAMES)"!=""
634 SHL7DLLPRE
*=$(DLLPRE
)
635 SHL7TARGETN
=$(DLLDEST
)/$(SHL7DLLPRE
)$(SHL7TARGET
)$(DLLPOST
)
637 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
638 .IF
"$(SHL7BASE)"==""
641 SHL7BASEX
=/BASE
:$(SHL7BASE
)
646 .IF
"$(SHL8TARGET)"!=""
647 .IF
"$(WINVERSIONNAMES)"!=""
648 SHL8TARGET
!:=$(SHL8TARGET
)$($(WINVERSIONNAMES
)_MAJOR
)
649 .ENDIF
# "$(WINVERSIONNAMES)"!=""
650 SHL8DLLPRE
*=$(DLLPRE
)
651 SHL8TARGETN
=$(DLLDEST
)/$(SHL8DLLPRE
)$(SHL8TARGET
)$(DLLPOST
)
653 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
654 .IF
"$(SHL8BASE)"==""
657 SHL8BASEX
=/BASE
:$(SHL8BASE
)
662 .IF
"$(SHL9TARGET)"!=""
663 .IF
"$(WINVERSIONNAMES)"!=""
664 SHL9TARGET
!:=$(SHL9TARGET
)$($(WINVERSIONNAMES
)_MAJOR
)
665 .ENDIF
# "$(WINVERSIONNAMES)"!=""
666 SHL9DLLPRE
*=$(DLLPRE
)
667 SHL9TARGETN
=$(DLLDEST
)/$(SHL9DLLPRE
)$(SHL9TARGET
)$(DLLPOST
)
669 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
670 .IF
"$(SHL9BASE)"==""
673 SHL9BASEX
=/BASE
:$(SHL9BASE
)
678 .IF
"$(COMP1TYPELIST)$(COMP2TYPELIST)$(COMP3TYPELIST)$(COMP4TYPELIST)$(COMP5TYPELIST)$(COMP6TYPELIST)$(COMP7TYPELIST)$(COMP8TYPELIST)$(COMP9TYPELIST)"!=""
679 .IF
"$(UNOUCRRDB)"!=""
680 COMPRDB
*:=$(UNOUCRRDB
)
681 .ELSE
# "$(UNOUCRRDB)"!=""
682 COMPRDB
*:=$(SOLARBINDIR
)/types.rdb
683 .ENDIF
# "$(UNOUCRRDB)"!=""
684 .ENDIF
# "$(COMP1TYPELIST)$(COMP2TYPELIST)$(COMP3TYPELIST)$(COMP4TYPELIST)$(COMP5TYPELIST)$(COMP6TYPELIST)$(COMP7TYPELIST)$(COMP8TYPELIST)$(COMP9TYPELIST)"!=""
685 .IF
"$(COMP1TYPELIST)"!=""
686 UNOTYPES
+=$($(COMP1TYPELIST
)_XML2CMPTYPES
)
687 COMP1RDBTARGETN
:=$(BIN
)/$(COMP1TYPELIST
).rdb
688 #COMP1TYPELISTN:=$(MISC)/$(COMP1TYPELIST).xml
691 .IF
"$(COMP2TYPELIST)"!=""
692 UNOTYPES
+=$($(COMP2TYPELIST
)_XML2CMPTYPES
)
693 COMP2RDBTARGETN
:=$(BIN
)/$(COMP2TYPELIST
).rdb
694 #COMP2TYPELISTN:=$(MISC)/$(COMP2TYPELIST).xml
697 .IF
"$(COMP3TYPELIST)"!=""
698 UNOTYPES
+=$($(COMP3TYPELIST
)_XML2CMPTYPES
)
699 COMP3RDBTARGETN
:=$(BIN
)/$(COMP3TYPELIST
).rdb
700 #COMP3TYPELISTN:=$(MISC)/$(COMP3TYPELIST).xml
703 .IF
"$(COMP4TYPELIST)"!=""
704 UNOTYPES
+=$($(COMP4TYPELIST
)_XML2CMPTYPES
)
705 COMP4RDBTARGETN
:=$(BIN
)/$(COMP4TYPELIST
).rdb
706 #COMP4TYPELISTN:=$(MISC)/$(COMP4TYPELIST).xml
709 .IF
"$(COMP5TYPELIST)"!=""
710 UNOTYPES
+=$($(COMP5TYPELIST
)_XML2CMPTYPES
)
711 COMP5RDBTARGETN
:=$(BIN
)/$(COMP5TYPELIST
).rdb
712 #COMP5TYPELISTN:=$(MISC)/$(COMP5TYPELIST).xml
715 .IF
"$(COMP6TYPELIST)"!=""
716 UNOTYPES
+=$($(COMP6TYPELIST
)_XML2CMPTYPES
)
717 COMP6RDBTARGETN
:=$(BIN
)/$(COMP6TYPELIST
).rdb
718 #COMP6TYPELISTN:=$(MISC)/$(COMP6TYPELIST).xml
721 .IF
"$(COMP7TYPELIST)"!=""
722 UNOTYPES
+=$($(COMP7TYPELIST
)_XML2CMPTYPES
)
723 COMP7RDBTARGETN
:=$(BIN
)/$(COMP7TYPELIST
).rdb
724 #COMP7TYPELISTN:=$(MISC)/$(COMP7TYPELIST).xml
727 .IF
"$(COMP8TYPELIST)"!=""
728 UNOTYPES
+=$($(COMP8TYPELIST
)_XML2CMPTYPES
)
729 COMP8RDBTARGETN
:=$(BIN
)/$(COMP8TYPELIST
).rdb
730 #COMP8TYPELISTN:=$(MISC)/$(COMP8TYPELIST).xml
733 .IF
"$(COMP9TYPELIST)"!=""
734 UNOTYPES
+=$($(COMP9TYPELIST
)_XML2CMPTYPES
)
735 COMP9RDBTARGETN
:=$(BIN
)/$(COMP9TYPELIST
).rdb
736 #COMP9TYPELISTN:=$(MISC)/$(COMP9TYPELIST).xml
739 UNOTYPES
!:=$(strip $(UNOTYPES
))
741 #moved here to get UNOTYPES from COMPxTYPELIST
742 .IF
"$(UNOTYPES)" != ""
743 UNOUCRHEADER
=$(foreach,j
,$(subst,.
,/ $(UNOTYPES
)) $(UNOUCROUT
)/$(j
:+".hpp"))
744 UNOUCRTARGET
:=$(INCCOM
)/$(TARGET
)_headergen.done
745 .ENDIF
# "$(UNOTYPES)" != ""
747 .IF
"$(HELPIDFILES)"!=""
748 MAKE_HELPIDS
=$(MISC
)/helpids.don
751 .IF
"$(HXXCOPYFILES)" != ""
752 HXXCOPYTARGET
= copy_hxxcopyfiles
755 .IF
"$(LIB1TARGET)" != ""
756 LIB1TARGETN
=$(LIB1TARGET
)
759 .IF
"$(LIB2TARGET)" != ""
760 LIB2TARGETN
=$(LIB2TARGET
)
763 .IF
"$(LIB3TARGET)" != ""
764 LIB3TARGETN
=$(LIB3TARGET
)
767 .IF
"$(LIB4TARGET)" != ""
768 LIB4TARGETN
=$(LIB4TARGET
)
771 .IF
"$(LIB5TARGET)" != ""
772 LIB5TARGETN
=$(LIB5TARGET
)
775 .IF
"$(LIB6TARGET)" != ""
776 LIB6TARGETN
=$(LIB6TARGET
)
779 .IF
"$(LIB7TARGET)" != ""
780 LIB7TARGETN
=$(LIB7TARGET
)
783 .IF
"$(LIB8TARGET)" != ""
784 LIB8TARGETN
=$(LIB8TARGET
)
787 .IF
"$(LIB9TARGET)" != ""
788 LIB9TARGETN
=$(LIB9TARGET
)
791 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
803 .ENDIF
# "$(GUI)"=="WNT"
805 .IF
"$(RESLIB1NAME)" != ""
806 .IF
"$(RESLIB1NOVERSION)"==""
807 .ENDIF
# "$(RESLIB1NOVERSION)"==""
808 .IF
"$(common_build_reslib)"!=""
809 RESLIB1TARGETN
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/$(RESLIB1NAME
)LANGEXT.res
810 RSC_MULTI1
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/rsc_
$(RESLIB1NAME
)
811 .ELSE
# "$(common_build_reslib)"!=""
812 RESLIB1TARGETN
=$(BIN
)/$(RESLIB1NAME
)LANGEXT.res
813 RSC_MULTI1
=$(MISC
)/rsc_
$(RESLIB1NAME
)
814 .ENDIF
# "$(common_build_reslib)"!=""
815 # change to iso if resmgr is changed
816 RESLIB1TARGETN
!:=$(foreach,i
,$(alllangiso
) $(subst,LANGEXT
,$i $(RESLIB1TARGETN
)))
819 .IF
"$(RESLIB2NAME)" != ""
820 .IF
"$(RESLIB2NOVERSION)"==""
821 .ENDIF
# "$(RESLIB2NOVERSION)"==""
822 .IF
"$(common_build_reslib)"!=""
823 RESLIB2TARGETN
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/$(RESLIB2NAME
)LANGEXT.res
824 RSC_MULTI2
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/rsc_
$(RESLIB2NAME
)
825 .ELSE
# "$(common_build_reslib)"!=""
826 RESLIB2TARGETN
=$(BIN
)/$(RESLIB2NAME
)LANGEXT.res
827 RSC_MULTI2
=$(MISC
)/rsc_
$(RESLIB2NAME
)
828 .ENDIF
# "$(common_build_reslib)"!=""
829 RESLIB2TARGETN
!:=$(foreach,i
,$(alllangiso
) $(subst,LANGEXT
,$i $(RESLIB2TARGETN
)))
832 .IF
"$(RESLIB3NAME)" != ""
833 .IF
"$(RESLIB3NOVERSION)"==""
834 .ENDIF
# "$(RESLIB3NOVERSION)"==""
835 .IF
"$(common_build_reslib)"!=""
836 RESLIB3TARGETN
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/$(RESLIB3NAME
)LANGEXT.res
837 RSC_MULTI3
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/rsc_
$(RESLIB3NAME
)
838 .ELSE
# "$(common_build_reslib)"!=""
839 RESLIB3TARGETN
=$(BIN
)/$(RESLIB3NAME
)LANGEXT.res
840 RSC_MULTI3
=$(MISC
)/rsc_
$(RESLIB3NAME
)
841 .ENDIF
# "$(common_build_reslib)"!=""
842 RESLIB3TARGETN
!:=$(foreach,i
,$(alllangiso
) $(subst,LANGEXT
,$i $(RESLIB3TARGETN
)))
845 .IF
"$(RESLIB4NAME)" != ""
846 .IF
"$(RESLIB4NOVERSION)"==""
847 .ENDIF
# "$(RESLIB4NOVERSION)"==""
848 .IF
"$(common_build_reslib)"!=""
849 RESLIB4TARGETN
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/$(RESLIB4NAME
)LANGEXT.res
850 RSC_MULTI4
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/rsc_
$(RESLIB4NAME
)
851 .ELSE
# "$(common_build_reslib)"!=""
852 RESLIB4TARGETN
=$(BIN
)/$(RESLIB4NAME
)LANGEXT.res
853 RSC_MULTI4
=$(MISC
)/rsc_
$(RESLIB4NAME
)
854 .ENDIF
# "$(common_build_reslib)"!=""
855 RESLIB4TARGETN
!:=$(foreach,i
,$(alllangiso
) $(subst,LANGEXT
,$i $(RESLIB4TARGETN
)))
858 .IF
"$(RESLIB5NAME)" != ""
859 .IF
"$(RESLIB5NOVERSION)"==""
860 .ENDIF
# "$(RESLIB5NOVERSION)"==""
861 .IF
"$(common_build_reslib)"!=""
862 RESLIB5TARGETN
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/$(RESLIB5NAME
)LANGEXT.res
863 RSC_MULTI5
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/rsc_
$(RESLIB5NAME
)
864 .ELSE
# "$(common_build_reslib)"!=""
865 RESLIB5TARGETN
=$(BIN
)/$(RESLIB5NAME
)LANGEXT.res
866 RSC_MULTI5
=$(MISC
)/rsc_
$(RESLIB5NAME
)
867 .ENDIF
# "$(common_build_reslib)"!=""
868 RESLIB5TARGETN
!:=$(foreach,i
,$(alllangiso
) $(subst,LANGEXT
,$i $(RESLIB5TARGETN
)))
871 .IF
"$(RESLIB6NAME)" != ""
872 .IF
"$(RESLIB6NOVERSION)"==""
873 .ENDIF
# "$(RESLIB6NOVERSION)"==""
874 .IF
"$(common_build_reslib)"!=""
875 RESLIB6TARGETN
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/$(RESLIB6NAME
)LANGEXT.res
876 RSC_MULTI6
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/rsc_
$(RESLIB6NAME
)
877 .ELSE
# "$(common_build_reslib)"!=""
878 RESLIB6TARGETN
=$(BIN
)/$(RESLIB6NAME
)LANGEXT.res
879 RSC_MULTI6
=$(MISC
)/rsc_
$(RESLIB6NAME
)
880 .ENDIF
# "$(common_build_reslib)"!=""
881 RESLIB6TARGETN
!:=$(foreach,i
,$(alllangiso
) $(subst,LANGEXT
,$i $(RESLIB6TARGETN
)))
884 .IF
"$(RESLIB7NAME)" != ""
885 .IF
"$(RESLIB7NOVERSION)"==""
886 .ENDIF
# "$(RESLIB7NOVERSION)"==""
887 .IF
"$(common_build_reslib)"!=""
888 RESLIB7TARGETN
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/$(RESLIB7NAME
)LANGEXT.res
889 RSC_MULTI7
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/rsc_
$(RESLIB7NAME
)
890 .ELSE
# "$(common_build_reslib)"!=""
891 RESLIB7TARGETN
=$(BIN
)/$(RESLIB7NAME
)LANGEXT.res
892 RSC_MULTI7
=$(MISC
)/rsc_
$(RESLIB7NAME
)
893 .ENDIF
# "$(common_build_reslib)"!=""
894 RESLIB7TARGETN
!:=$(foreach,i
,$(alllangiso
) $(subst,LANGEXT
,$i $(RESLIB7TARGETN
)))
897 .IF
"$(RESLIB8NAME)" != ""
898 .IF
"$(RESLIB8NOVERSION)"==""
899 .ENDIF
# "$(RESLIB8NOVERSION)"==""
900 .IF
"$(common_build_reslib)"!=""
901 RESLIB8TARGETN
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/$(RESLIB8NAME
)LANGEXT.res
902 RSC_MULTI8
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/rsc_
$(RESLIB8NAME
)
903 .ELSE
# "$(common_build_reslib)"!=""
904 RESLIB8TARGETN
=$(BIN
)/$(RESLIB8NAME
)LANGEXT.res
905 RSC_MULTI8
=$(MISC
)/rsc_
$(RESLIB8NAME
)
906 .ENDIF
# "$(common_build_reslib)"!=""
907 RESLIB8TARGETN
!:=$(foreach,i
,$(alllangiso
) $(subst,LANGEXT
,$i $(RESLIB8TARGETN
)))
910 .IF
"$(RESLIB9NAME)" != ""
911 .IF
"$(RESLIB9NOVERSION)"==""
912 .ENDIF
# "$(RESLIB9NOVERSION)"==""
913 .IF
"$(common_build_reslib)"!=""
914 RESLIB9TARGETN
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/$(RESLIB9NAME
)LANGEXT.res
915 RSC_MULTI9
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/rsc_
$(RESLIB9NAME
)
916 .ELSE
# "$(common_build_reslib)"!=""
917 RESLIB9TARGETN
=$(BIN
)/$(RESLIB9NAME
)LANGEXT.res
918 RSC_MULTI9
=$(MISC
)/rsc_
$(RESLIB9NAME
)
919 .ENDIF
# "$(common_build_reslib)"!=""
920 RESLIB9TARGETN
!:=$(foreach,i
,$(alllangiso
) $(subst,LANGEXT
,$i $(RESLIB9TARGETN
)))
923 .IF
"$(INDPRESLIB1NAME)"!=""
924 INDPRESLIB1TARGETN
=$(BIN
)/$(INDPRESLIB1NAME
).dll
927 .IF
"$(DEF1NAME)"!=""
928 DEF1TARGETN
=$(MISC
)/$(DEF1NAME
).def
931 .IF
"$(DEF2NAME)"!=""
932 DEF2TARGETN
=$(MISC
)/$(DEF2NAME
).def
935 .IF
"$(DEF3NAME)"!=""
936 DEF3TARGETN
=$(MISC
)/$(DEF3NAME
).def
939 .IF
"$(DEF4NAME)"!=""
940 DEF4TARGETN
=$(MISC
)/$(DEF4NAME
).def
943 .IF
"$(DEF5NAME)"!=""
944 DEF5TARGETN
=$(MISC
)/$(DEF5NAME
).def
947 .IF
"$(DEF6NAME)"!=""
948 DEF6TARGETN
=$(MISC
)/$(DEF6NAME
).def
951 .IF
"$(DEF7NAME)"!=""
952 DEF7TARGETN
=$(MISC
)/$(DEF7NAME
).def
955 .IF
"$(DEF8NAME)"!=""
956 DEF8TARGETN
=$(MISC
)/$(DEF8NAME
).def
959 .IF
"$(DEF9NAME)"!=""
960 DEF9TARGETN
=$(MISC
)/$(DEF9NAME
).def
963 # IZ65415 - catch obsolete macro. Can be removed later.
965 .ERROR
: ; @echo Forced error
: SDINAME was used
! Change your project to use SDIxNAME instead
!
969 .IF
"$(SDI1NAME)"!=""
971 SDI1TARGET
=$(MISC
)/$(SDI1NAME
).don
972 HIDSID1PARTICLE
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/$(SDI1NAME
)_sid.hid
975 .IF
"$(SDI2NAME)"!=""
977 SDI2TARGET
=$(MISC
)/$(SDI2NAME
).don
978 HIDSID2PARTICLE
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/$(SDI2NAME
)_sid.hid
981 .IF
"$(SDI3NAME)"!=""
983 SDI3TARGET
=$(MISC
)/$(SDI3NAME
).don
984 HIDSID3PARTICLE
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/$(SDI3NAME
)_sid.hid
987 .IF
"$(SDI4NAME)"!=""
989 SDI4TARGET
=$(MISC
)/$(SDI4NAME
).don
990 HIDSID4PARTICLE
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/$(SDI4NAME
)_sid.hid
993 .IF
"$(SDI5NAME)"!=""
995 SDI5TARGET
=$(MISC
)/$(SDI5NAME
).don
996 HIDSID5PARTICLE
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
))/$(SDI5NAME
)_sid.hid
999 .IF
"$(XMLPROPERTIES)"!=""
1000 XMLPROPERTIESN
:=$(foreach,i
,$(XMLPROPERTIES
) $(MISC
)/$(TARGET
)_
$(i
:s
/.xrb
/.done
/))
1001 .ENDIF
# "$(XMLPROPERTIES)"!=""
1003 .IF
"$(UNIXTEXT)"!=""
1005 CONVERTUNIXTEXT
:=$(UNIXTEXT
)
1006 .ENDIF
# "$(GUI)"=="UNX"
1007 .ENDIF
# "$(UNIXTEXT)"!=""
1009 .IF
"$(EXTUPDATEINFO_NAME)"!=""
1010 EXTUPDATEINFO_DEST
:=$(MISC
)/$(EXTUPDATEINFO_NAME
)
1011 EXTUPDATEINFO_SOURCE
*=description.xml
1012 .ENDIF
# "$(EXTUPDATEINFO_NAME)"!=""
1014 .IF
"$(JAVACLASSFILES:s/DEFINED//)"!="" ||
"$(javauno)"!=""
1015 .IF
"$(L10N_framework)"==""
1016 TARGETDPJ
=$(MISC
)/$(TARGET
).dpj
1017 .ENDIF
# "$(L10N_framework)"==""
1020 .IF
"$(no_hids)$(NO_HIDS)"==""
1022 .IF
"$(GEN_HID_OTHER)"!=""
1023 PRJHIDOTHERTARGET
=$(SRS
)/hidother.hid
1024 COMMONPRJHIDOTHERTARGET
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(MISC
)/$(TARGET
)_othr.hid
)
1026 .IF
"$(GEN_HID2)"!=""
1027 PRJHID2TARGET
=$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/hid.lst
1029 .ENDIF
# "$(no_hids)$(NO_HIDS)"==""
1031 .IF
"$(make_srs_deps)"==""
1032 .IF
"$(SRCFILES)" != "" ||
"$(SRC1FILES)" != "" ||
"$(SRC2FILES)" != ""
1033 DPRTARGET
= $(MISC
)/$(TARGET
).dpr
1037 .IF
"$(make_zip_deps)"==""
1038 .IF
"$(ZIP1TARGET)" != "" ||
"$(ZIP2TARGET)" != "" ||
"$(ZIP3TARGET)" != ""
1039 DPZTARGET
= $(MISC
)/$(TARGET
).dpz
1040 .ENDIF
# "$(ZIP1TARGET)" != "" || "$(ZIP2TARGET)" != "" || "$(ZIP3TARGET)" != ""
1041 .ENDIF
# "$(make_zip_deps)"==""
1043 .IF
"$(SOLAR_JAVA)"!=""
1046 $(JAVACLASSFILES
) $(JAVA1CLASSFILES
) \
1047 $(JAVA2CLASSFILES
) $(JAVA3CLASSFILES
) $(JAVA4CLASSFILES
)\
1048 $(JAVA5CLASSFILES
) $(JAVA6CLASSFILES
) $(JAVA7CLASSFILES
)\
1049 $(JAVA8CLASSFILES
) $(JAVA9CLASSFILES
) $(JAVA10CLASSFILES
)\
1050 $(JAVA11CLASSFILES
) \
1053 .ENDIF
# "$(SOLAR_JAVA)"!=""
1058 # bei MAKE...DIR die gleiche Reihenfolge wie in settings.mak einhalten!
1061 .IF
"$(L10N_framework)"!=""
1063 "$(SOLARVERSION)/$(INPATH)/inc$(UPDMINOREXT)/$(UPD)minor.mk" \
1068 $(HIDSID1PARTICLE
) $(HIDSID2PARTICLE
) \
1069 $(HIDSID3PARTICLE
) $(HIDSID4PARTICLE
) $(HIDSID5PARTICLE
) \
1070 $(SDITARGET
) $(SDI1TARGET
) $(SDI2TARGET
) \
1071 $(SDI3TARGET
) $(SDI4TARGET
) $(SDI5TARGET
) \
1074 $(SCP_PRODUCT_TYPE
) \
1088 $(SRC4TARGET
) $(SRC5TARGET
) $(SRC6TARGET
) \
1089 $(SRC7TARGET
) $(SRC8TARGET
) $(SRC9TARGET
) \
1090 $(SRC10TARGET
) $(SRC11TARGET
) $(SRC12TARGET
) \
1091 $(SRC13TARGET
) $(SRC14TARGET
) $(SRC15TARGET
) \
1102 $(INDPRESLIB1TARGETN
) \
1103 $(RESLIB1TARGETN
) $(RESLIB2TARGETN
) \
1104 $(RESLIB3TARGETN
) $(RESLIB4TARGETN
) \
1105 $(RESLIB5TARGETN
) $(RESLIB6TARGETN
) \
1106 $(RESLIB7TARGETN
) $(RESLIB8TARGETN
) \
1107 $(COMMONPRJHIDOTHERTARGET
) \
1109 $(LOCALIZE_ME_DEST
)\
1112 .ELSE
# "$(L10N_framework)"!=""
1115 "$(SOLARVERSION)/$(INPATH)/inc$(UPDMINOREXT)/$(UPD)minor.mk" \
1116 $(MAKEDEMODIR
) $(MAKECOMPDIR
) $(MAKEXLDIR
) \
1125 $(UNOIDLDEPTARGETS
) \
1132 $(LOCALDOCDBTARGET
) \
1134 $(UNOIDLDBDOCTARGET
) \
1135 $(COMP1RDBTARGETN
) \
1136 $(COMP2RDBTARGETN
) \
1137 $(COMP3RDBTARGETN
) \
1138 $(COMP4RDBTARGETN
) \
1139 $(COMP5RDBTARGETN
) \
1140 $(COMP6RDBTARGETN
) \
1141 $(COMP7RDBTARGETN
) \
1142 $(COMP8RDBTARGETN
) \
1143 $(COMP9RDBTARGETN
) \
1144 $(IDL1TARGET
) $(IDL2TARGET
) $(IDL3TARGET
) \
1145 $(IDL4TARGET
) $(IDL5TARGET
) \
1146 $(HIDSID1PARTICLE
) $(HIDSID2PARTICLE
) \
1147 $(HIDSID3PARTICLE
) $(HIDSID4PARTICLE
) $(HIDSID5PARTICLE
) \
1148 $(SDI1TARGET
) $(SDI2TARGET
) $(SDI3TARGET
) \
1149 $(SDI4TARGET
) $(SDI5TARGET
) \
1155 $(ALL_JAVA_TARGETS
) \
1156 $(OBJTARGET
) $(SLOTARGET
) $(SMRSLOTARGET
) \
1157 $($(SECOND_BUILD
)SLOTARGET
) \
1158 $($(SECOND_BUILD
)OBJTARGET
) \
1159 $(LIB1TARGET
) $(LIB2TARGET
) $(LIB3TARGET
) \
1160 $(LIB4TARGET
) $(LIB5TARGET
) $(LIB6TARGET
) \
1161 $(LIB7TARGET
) $(LIB8TARGET
) $(LIB9TARGET
) \
1162 $(LIB1ARCHIV
) $(LIB2ARCHIV
) $(LIB3ARCHIV
) \
1163 $(LIB4ARCHIV
) $(LIB5ARCHIV
) $(LIB6ARCHIV
) \
1164 $(LIB7ARCHIV
) $(LIB8ARCHIV
) $(LIB9ARCHIV
) \
1165 $(DEF1TARGETN
) $(DEF2TARGETN
) $(DEF3TARGETN
) \
1166 $(DEF4TARGETN
) $(DEF5TARGETN
) $(DEF6TARGETN
) \
1177 $(SCP_PRODUCT_TYPE
) \
1188 $(APP1TARGETN
) $(APP2TARGETN
) $(APP3TARGETN
) \
1189 $(APP4TARGETN
) $(APP5TARGETN
) $(APP6TARGETN
) \
1190 $(APP7TARGETN
) $(APP8TARGETN
) $(APP9TARGETN
) \
1196 $(SRC4TARGET
) $(SRC5TARGET
) $(SRC6TARGET
) \
1197 $(SRC7TARGET
) $(SRC8TARGET
) $(SRC9TARGET
) \
1198 $(SRC10TARGET
) $(SRC11TARGET
) $(SRC12TARGET
) \
1199 $(SRC13TARGET
) $(SRC14TARGET
) $(SRC15TARGET
) \
1210 $(INDPRESLIB1TARGETN
) \
1211 $(RESLIB1TARGETN
) $(RESLIB2TARGETN
) \
1212 $(RESLIB3TARGETN
) $(RESLIB4TARGETN
) \
1213 $(RESLIB5TARGETN
) $(RESLIB6TARGETN
) \
1214 $(RESLIB7TARGETN
) $(RESLIB8TARGETN
) \
1216 $(COMMONPRJHIDOTHERTARGET
) \
1218 $(SIGNFORNETSCAPE
) \
1219 $(SIGNFOREXPLORER
) \
1220 $(SIGNFORJARSIGNER
) \
1221 $(CONVERTUNIXTEXT
) \
1222 $(LOCALIZE_ME_DEST
)\
1223 $(EXTUPDATEINFO_DEST
) \
1226 .IF
"$(BUILD_X64)"!=""
1228 $(NOLIBOBJTARGET_X64
) \
1229 $(NOLIBSLOTARGET_X64
) \
1230 $(OBJTARGET_X64
) $(SLOTARGET_X64
) \
1231 $(LIB1TARGET_X64
) $(LIB2TARGET_X64
) \
1232 $(DEF1TARGETN_X64
) $(DEF2TARGETN_X64
) \
1233 $(SHL1TARGETN_X64
) $(SHL2TARGETN_X64
)
1234 .ENDIF
# "$(BUILD_X64)"!=""
1236 ALLTAR
: "$(SOLARINCDIR)/$(UPD)minor.mk"
1238 .IF
"$(EXCEPTIONSNOOPT_FLAG)"==""
1239 TARGETDEPS
+=$(EXCEPTIONSNOOPTTARGET
)
1242 .IF
"$(NOOPT_FLAG)"==""
1243 TARGETDEPS
+=$(NOOPTTARGET
)
1246 #don't override .TARGETS when called with targets
1247 .IF
"$(MAKETARGETS)$(TNR)$(EXCEPTIONSNOOPT_FLAG)$(EXCEPTIONS_FLAG)$(NOOPT_FLAG)"==""
1248 .IF
"$(TARGETDEPS)"!=""
1249 #.TARGETS .SEQUENTIAL :- $(TARGETDEPS) ALLTAR
1250 .INIT .SEQUENTIAL
: $(TARGETDEPS
) $(NULLPRQ
)
1254 # -Gc breaks the dependency chain and causes indefinite nummbers of $(CPPUMAKER)
1255 .IF
"$(BOOTSTRAP_SERVICE)"!="TRUE"
1257 .ENDIF
# "$(BOOTSTRAP_SERVICE)"!="TRUE"
1259 .IF
"$(UNOTYPES)" != ""
1260 # makeing all in one
1262 .IF
"$(ENVINCPRE)"!=""
1263 MKDEPFLAGS
+=-I
:$(ENVINCPRE
)
1264 .ENDIF
# "$(ENVINCPRE))"!=""
1265 .IF
"$(OBJFILES)"!=""
1266 $(OBJFILES
) : $(UNOUCRTARGET
)
1267 .ENDIF
# "$(OBJFILES)"!=""
1268 .IF
"$(SLOFILES)"!=""
1269 $(SLOFILES
) : $(UNOUCRTARGET
)
1270 .ENDIF
# "$(SLOFILES)"!=""
1271 .IF
"$(DEPOBJFILES)"!=""
1272 $(DEPOBJFILES
) : $(UNOUCRTARGET
)
1273 .ENDIF
# "$(SLOFILES)"!=""
1274 .IF
"$(NOOPTTARGET)"!=""
1275 $(NOOPTTARGET
) : $(UNOUCRTARGET
)
1276 .ENDIF
# "$(SLOFILES)"!=""
1277 .IF
"$(NOOPTFILES)"!=""
1278 $(NOOPTFILES
) : $(UNOUCRTARGET
)
1279 .ENDIF
# "$(SLOFILES)"!=""
1280 .IF
"$(EXCEPTIONSFILES)"!=""
1281 $(EXCEPTIONSFILES
) : $(UNOUCRTARGET
)
1282 .ENDIF
# "$(SLOFILES)"!=""
1283 .IF
"$(EXCEPTIONSNOOPTTARGET)"!=""
1284 $(EXCEPTIONSNOOPTTARGET
) : $(UNOUCRTARGET
)
1285 .ENDIF
# "$(SLOFILES)"!=""
1286 .IF
"$(EXCEPTIONSNOOPTFILES)"!=""
1287 $(EXCEPTIONSNOOPTFILES
) : $(UNOUCRTARGET
)
1288 .ENDIF
# "$(SLOFILES)"!=""
1290 $(UNOUCRTARGET
) : $(UNOUCRHEADER
)
1292 # keep that one to rebuild single misses
1296 $(UNOUCRTARGET
) : $(UNOUCRDEP
)
1297 .IF
"$(XML2MK_FILES)"!=""
1298 @@
-$(RM
) $(foreach,i
,$(XML2MK_FILES
) $(MISC
)/$(i
).mk
)
1299 .ENDIF
# "$(XML2MK_FILES)"!=""
1300 @@
-$(MKDIRHIER
) $(UNOUCROUT
)
1301 $(COMMAND_ECHO
)$(CPPUMAKER
) @
$(mktmp
$(CPPUMAKERFLAGS
) -B
$(UNOUCRBASE
) -O
$(UNOUCROUT
) $(UNOTYPES
:^
"-T") $(UNOUCRRDB
)) && $(TOUCH
) $@
1302 .ENDIF
# "$(UNOTYPES)" != ""
1304 .IF
"$(COMP1RDBTARGETN)"!=""
1305 $(COMP1RDBTARGETN
) : $(COMPRDB
)
1306 .ENDIF
# "$(COMP1RDBTARGETN)"!=""
1308 .IF
"$(COMP2RDBTARGETN)"!=""
1309 $(COMP2RDBTARGETN
) : $(COMPRDB
)
1310 .ENDIF
# "$(COMP2RDBTARGETN)"!=""
1312 .IF
"$(COMP3RDBTARGETN)"!=""
1313 $(COMP3RDBTARGETN
) : $(COMPRDB
)
1314 .ENDIF
# "$(COMP3RDBTARGETN)"!=""
1316 .IF
"$(COMP4RDBTARGETN)"!=""
1317 $(COMP4RDBTARGETN
) : $(COMPRDB
)
1318 .ENDIF
# "$(COMP4RDBTARGETN)"!=""
1320 .IF
"$(COMP5RDBTARGETN)"!=""
1321 $(COMP5RDBTARGETN
) : $(COMPRDB
)
1322 .ENDIF
# "$(COMP5RDBTARGETN)"!=""
1324 .IF
"$(COMP6RDBTARGETN)"!=""
1325 $(COMP6RDBTARGETN
) : $(COMPRDB
)
1326 .ENDIF
# "$(COMP6RDBTARGETN)"!=""
1328 .IF
"$(COMP7RDBTARGETN)"!=""
1329 $(COMP7RDBTARGETN
) : $(COMPRDB
)
1330 .ENDIF
# "$(COMP7RDBTARGETN)"!=""
1332 .IF
"$(COMP8RDBTARGETN)"!=""
1333 $(COMP8RDBTARGETN
) : $(COMPRDB
)
1334 .ENDIF
# "$(COMP8RDBTARGETN)"!=""
1336 .IF
"$(COMP9RDBTARGETN)"!=""
1337 $(COMP9RDBTARGETN
) : $(COMPRDB
)
1338 .ENDIF
# "$(COMP9RDBTARGETN)"!=""
1340 .ENDIF
# "$(L10N_framework)"!=""
1341 .ELSE
# "$(lintit)"==""
1343 ALLTAR
: $(OBJFILES
) $(SLOFILES
)
1345 .ENDIF
# "$(lintit)"==""
1347 .IF
"$(SDINAME)"!=""
1348 $(OBJ
)/$(CINTERNAME
).obj
: $(SDITARGET
)
1351 .IF
"$(SDI1NAME)"!=""
1352 $(OBJ
)/$(CINTER1NAME
).obj
: $(SDI1TARGET
)
1355 .IF
"$(SDI2NAME)"!=""
1356 $(OBJ
)/$(CINTER2NAME
).obj
: $(SDI2TARGET
)
1359 .IF
"$(SDI3NAME)"!=""
1360 $(OBJ
)/$(CINTER3NAME
).obj
: $(SDI3TARGET
)
1363 .IF
"$(SDI4NAME)"!=""
1364 $(OBJ
)/$(CINTER4NAME
).obj
: $(SDI4TARGET
)
1367 .IF
"$(SDI5NAME)"!=""
1368 $(OBJ
)/$(CINTER5NAME
).obj
: $(SDI5TARGET
)
1371 .IF
"$(SOLAR_JAVA)"!=""
1372 .IF
"$(GENJAVAFILES)"!=""
1373 $(GENJAVAFILES
) : $(RDB
)
1374 $(JAVATARGET
) : $(GENJAVAFILES
)
1375 .ENDIF
# "$(GENJAVAFILES)"!=""
1376 .ENDIF
# "$(SOLAR_JAVA)"!=""
1378 .IF
"$(HXXCOPYFILES)" != ""
1379 $(HXXCOPYTARGET
): $(HXXCOPYFILES
)
1380 $(COMMAND_ECHO
)$(COPY
) $(COPYUPDATE
) $(HXXCOPYFILES
) $(INCCOM
) $(CHECKCOPYURESULT
)
1383 .IF
"$(UNIXTEXT)"!=""
1384 $(UNIXTEXT
) : $(UNIXTEXT
:f
)
1387 @tr
-d
"\015" < $(@
:f
) > $@
1389 .ENDIF
# "$(UNIXTEXT)"!=""
1391 .IF
"$(WITH_LANG)"!=""
1392 .IF
"$(LOCALIZATION_FOUND)"==""
1393 .IF
"$(LOCALIZESDF)"!=""
1394 "$(LOCALIZESDF)" : $(SOLARCOMMONSDFDIR
)/$(PRJNAME
).zip
1395 @@
-$(MKDIRHIER
) $(@
:d
)
1396 @@
-$(MKDIRHIER
) $(COMMONMISC
)/$(PRJNAME
)_
$(TARGET
)
1397 @@
$(IFNOTEXIST
) $(LOCALIZESDF
) $(THEN
) unzip
-o
-d
$(COMMONMISC
)/$(PRJNAME
)_
$(TARGET
) $(SOLARCOMMONSDFDIR
)/$(PRJNAME
).zip
$(FI
)
1398 @@
-cp
-r
$(COMMONMISC
)/$(PRJNAME
)_
$(TARGET
)/* $(COMMONMISC
)/$(PRJNAME
)
1399 @@
-$(RM
) -rf
$(COMMONMISC
)/$(PRJNAME
)_
$(TARGET
)
1400 .ENDIF
# "$(LOCALIZESDF)"!=""
1401 .ENDIF
# "$(LOCALIZATION_FOUND)"==""
1402 .ENDIF
# "$(WITH_LANG)"!=""
1404 .IF
"$(LOCALIZESDF)"!=""
1407 @@
-$(MKDIRHIER
) $(@
:d
)
1408 @
$(TOUCH
) $(LOCALIZESDF
)
1409 .ENDIF
# "$(LOCALIZESDF)"!=""
1411 .IF
"$(EXTUPDATEINFO_NAME)"!=""
1412 $(EXTUPDATEINFO_DEST
) : $(EXTUPDATEINFO_SOURCE
)
1413 $(PERL
) $(SOLARENV
)/bin
/make_ext_update_info.pl
--out
$(EXTUPDATEINFO_DEST
) $(foreach,i
,$(EXTUPDATEINFO_URLS
) --update-url
"$i") $(EXTUPDATEINFO_SOURCE
)
1414 .ENDIF
# "$(EXTUPDATEINFO_NAME)"!=""
1417 @@
-mkdir
$(OUT
)/ucrdoc
1418 .IF
"$(VERBOSE)" == "TRUE"
1419 $(COMMAND_ECHO
)$(IDLC
) $(VERBOSITY
) @
$(mktmp
$(IDLCFLAGS
) $(UNOIDLDEFS
) $(UNOIDLINCEXTRA
) $(UNOIDLINC
) -C
-O
$(OUT
)/ucrdoc
/$(IDLPACKAGE
) $(DEPIDLFILES
:+"\n"))
1421 $(COMMAND_ECHO
)$(IDLC
) @
$(mktmp
$(IDLCFLAGS
) $(UNOIDLDEFS
) $(UNOIDLINCEXTRA
) $(UNOIDLINC
) -C
-O
$(OUT
)/ucrdoc
/$(IDLPACKAGE
) $(DEPIDLFILES
:+"\n"))
1423 # -$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Bdoc -P../$(PRJNAME)/$(IDLPACKAGE) -OH$(PRJ)/../unodoc $(DOCIDLFILES) $(IDLFILES)
1425 .IF
"$(LOCALDBTARGET)"!=""
1426 $(LOCALDBTARGET
) : $(URDFILES
) $(DEPIDLFILES
)
1427 .IF
"$(VERBOSE)" == "TRUE"
1428 $(COMMAND_ECHO
)$(IDLC
) $(VERBOSITY
) @
$(mktmp
$(IDLCFLAGS
) $(UNOIDLDEFS
) $(UNOIDLINCEXTRA
) $(UNOIDLINC
) -O
$(OUT
)/ucr
/$(IDLPACKAGE
) $(all_outdated_idl
))
1430 $(COMMAND_ECHO
)$(IDLC
) @
$(mktmp
$(IDLCFLAGS
) $(UNOIDLDEFS
) $(UNOIDLINCEXTRA
) $(UNOIDLINC
) -O
$(OUT
)/ucr
/$(IDLPACKAGE
) $(all_outdated_idl
))
1432 $(COMMAND_ECHO
)-$(RM
) $@
1433 $(COMMAND_ECHO
)$(REGMERGE
) $@ UCR @
$(mktmp
$(URDFILES
))
1436 .IF
"$(LOCALDOCDBTARGET)"!=""
1437 $(LOCALDOCDBTARGET
) : $(URDDOCFILES
) $(DEPIDLFILES
)
1438 .IF
"$(VERBOSE)" == "TRUE"
1439 $(COMMAND_ECHO
)$(IDLC
) $(VERBOSITY
) @
$(mktmp
$(IDLCFLAGS
) $(UNOIDLDEFS
) $(UNOIDLINCEXTRA
) $(UNOIDLINC
) -C
-O
$(OUT
)/ucrdoc
/$(IDLPACKAGE
) $(all_outdated_idl
))
1441 $(COMMAND_ECHO
)$(IDLC
) @
$(mktmp
$(IDLCFLAGS
) $(UNOIDLDEFS
) $(UNOIDLINCEXTRA
) $(UNOIDLINC
) -C
-O
$(OUT
)/ucrdoc
/$(IDLPACKAGE
) $(all_outdated_idl
))
1443 $(COMMAND_ECHO
)-$(RM
) $@
1444 $(COMMAND_ECHO
)$(REGMERGE
) $@ UCR @
$(mktmp
$(URDDOCFILES
))
1447 .IF
"$(UNOIDLDBTARGET)"!=""
1448 $(UNOIDLDBTARGET
) : $(UNOIDLDBFILES
) $(UNOIDLDBREGS
)
1449 $(COMMAND_ECHO
)-$(RM
) $@
1450 $(COMMAND_ECHO
)$(REGMERGE
) $@
/ @
$(mktmp
$(UNOIDLDBFILES
) $(UNOIDLDBREGS
))
1451 .IF
"$(LOCALREGDB)"!=""
1452 $(COMMAND_ECHO
)$(REGMERGE
) $(LOCALREGDB
) / $@
1454 .ENDIF
# "$(UNOIDLDBTARGET)"!=""
1456 .IF
"$(UNOIDLDBDOCTARGET)"!=""
1457 $(UNOIDLDBDOCTARGET
) : $(UNOIDLDBDOCFILES
) $(UNOIDLDBDOCREGS
)
1458 $(COMMAND_ECHO
)-$(RM
) $@
1459 $(COMMAND_ECHO
)$(REGMERGE
) $@
/ @
$(mktmp
$(UNOIDLDBDOCFILES
) $(UNOIDLDBDOCREGS
))
1460 .IF
"$(LOCALREGDB)"!=""
1461 $(COMMAND_ECHO
)$(REGMERGE
) $(LOCALREGDB
) / $@
1463 .ENDIF
# "$(UNOIDLDBDOCTARGET)"!=""
1465 .IF
"$(SCP_PRODUCT_TYPE)"!=""
1466 $(SCP_PRODUCT_TYPE
):
1467 @@
-$(MKDIRHIER
) $(PAR
)/$@
1468 @@
-$(MKDIRHIER
) $(BIN
)/$@
1470 .ENDIF
# "$(PARFILES)"!=""
1472 "$(SOLARVERSION)/$(INPATH)/inc$(UPDMINOREXT)/minormkchanged.flg" :
1475 .IF
"$(COMPVERMK)"!=""
1476 .IF
"$(UPDATER)"!="" ||
"$(CWS_WORK_STAMP)"!=""
1477 .IF
"$(COMPATH:s!\!/!)"!="$(COMPATH_STORED)"
1478 COMPVERMK_PHONY
:=.PHONY
1479 .ENDIF
# "$(COMPATH:s!\!/!)"!="$(COMPATH_STORED)"
1480 COMPVTMP
:=$(mktmp iii
)
1481 "$(COMPVERMK)" $(COMPVERMK_PHONY
): $(SOLARVERSION
)/$(INPATH
)/inc
$(UPDMINOREXT
)/minormkchanged.flg
1482 .IF
"$(CCNUMVER)"!=""
1483 @echo COMNAME
:=$(COMNAME
) > $(COMPVTMP
)
1484 @echo COMID
:=$(COMID
) >> $(COMPVTMP
)
1486 @echo SHORTSTDCPP3
:=$(SHORTSTDCPP3
) >> $(COMPVTMP
)
1488 @echo CCNUMVER
:=$(CCNUMVER
) >> $(COMPVTMP
)
1489 @echo CCVER
:=$(CCVER
:s
/-/ /:1) >> $(COMPVTMP
)
1490 @echo CDEFS
+=-DCPPU_ENV
=$(COMNAME
) >> $(COMPVTMP
)
1491 @echo COMPATH_STORED
:=$(COMPATH
:s
!\
!/!) >> $(COMPVTMP
)
1492 @@
-$(RM
) $(@
)_
$(COMPVTMP
:b
)
1493 @
$(TYPE
) $(COMPVTMP
) | tr
-d
"\015" > $(@
)_
$(COMPVTMP
:b
)
1494 @
$(IFEXIST
) $@
$(THEN
) $(RM
:s
/+//) $@
>& $(NULLDEV
) $(FI
)
1495 @
-$(RENAME
) $(@
)_
$(COMPVTMP
:b
) $@
1496 @@
-$(RM
) $(@
)_
$(COMPVTMP
:b
)
1497 .ELSE
# "$(CCNUMVER)"!=""
1499 .ENDIF
# "$(CCNUMVER)"!=""
1501 .ENDIF
# "$(COMPVERMK)"!=""
1502 .ENDIF
# "$(UPDATER)"!="" || "$(CWS_WORK_STAMP)"!=""
1504 .IF
"$(JAVAVERMK)"!=""
1505 .IF
"$(JAVALOCATION)"!="$(JAVA_HOME)"
1506 "$(JAVAVERMK)" .PHONY
:
1507 .ELSE
# "$(JAVALOCATION)"!="$(JAVA_HOME)"
1508 "$(JAVAVERMK)" : $(SOLARVERSION
)/$(INPATH
)/inc
$(UPDMINOREXT
)/minormkchanged.flg
1509 .ENDIF
# "$(JAVALOCATION)"!="$(JAVA_HOME)"
1511 @echo JAVAVER
:=$(JAVAVER
) > $@
1512 @echo JAVANUMVER
:=$(JAVANUMVER
) >> $@
1513 @echo JAVALOCATION
:=$(JAVA_HOME
) >> $@
1515 .ENDIF
# "$(JAVAVERMK)"!=""
1517 # on recursive call there seems to be one blank in TARGETDEP
1518 # which makes it not empty :-(
1519 .IF
"$(TARGETDEPS:s/ //)"!=""
1520 $(TARGETDEPS
) : $(LOCALIZE_ME_DEST
)
1521 .ENDIF
# "$(TARGETDEPS)"!=""
1523 .IF
"$(LOCALIZE_ME_DEST)"!=""
1525 .IF
"$(WITH_LANG)"==""
1526 $(LOCALIZE_ME_DEST
) : $(LOCALIZE_ME
)
1527 $(COMMAND_ECHO
)-$(RM
) $(INCCOM
)/$(TARGET
)_lastrun.mk
1528 $(COMMAND_ECHO
)-$(MKDIR
) $(@
:d
)
1529 $(COMMAND_ECHO
)-$(RM
) $@
1530 $(COMMAND_ECHO
)$(COPY
) $(@
:b
:+"_tmpl")$(@
:e
) $@
1532 .ELSE
# "$(WITH_LANG)"==""
1534 .INCLUDE .IGNORE
: $(INCCOM
)/$(TARGET
)_lastrun.mk
1535 .IF
"$(LASTRUN_MERGED)"=="TRUE"
1536 $(LOCALIZE_ME_DEST
) : $(LOCALIZE_ME
) $(LOCALIZESDF
)
1537 .ELSE
# "$(LASTRUN_MERGED)"=="TRUE"
1538 $(LOCALIZE_ME_DEST
) .PHONY
: $(LOCALIZE_ME
) $(LOCALIZESDF
)
1539 echo LASTRUN_MERGED
:=TRUE
> $(INCCOM
)/$(TARGET
)_lastrun.mk
1540 .ENDIF
# "$(LASTRUN_MERGED)"=="TRUE"
1541 $(COMMAND_ECHO
)-$(MKDIR
) $(@
:d
)
1542 $(COMMAND_ECHO
)-$(RM
) $@
1543 $(COMMAND_ECHO
)$(TRANSEX
) $(TRANSEX_VERBOSITY
) -p
$(PRJNAME
) -i
$(@
:b
:+"_tmpl")$(@
:e
) -o
$(@
:d
)/$(@
:b
:+"_tmpl")$(@
:e
).
$(INPATH
) -m
$(LOCALIZESDF
) -l
all
1544 $(COMMAND_ECHO
)$(RENAME
) $(@
:d
)$(@
:b
:+"_tmpl")$(@
:e
).
$(INPATH
) $@
1546 .ENDIF
# "$(WITH_LANG)"==""
1547 .ENDIF
# "$(LOCALIZE_ME_DEST)"!=""
1549 .IF
"$(XMLPROPERTIES)"!=""
1550 .IF
"$(L10N_framework)"!=""
1551 XML_ISO_CODE
*=-ISO99
$(L10N_framework
)
1553 .IF
"$(WITH_LANG)"!=""
1554 $(MISC
)/$(TARGET
)_
%.done
: $(COMMONMISC
)/$(TARGET
)/%.xrb
1555 .ELSE
# "$(WITH_LANG)"!=""
1556 $(MISC
)/$(TARGET
)_
%.done
: %.xrb
1557 .ENDIF
# "$(WITH_LANG)"!=""
1558 @@
-$(RM
) $(MISC
)/$(<:b
).interm
$(TARGET
)
1559 native2ascii
-encoding UTF8
$< $(MISC
)/$(<:b
).interm
$(TARGET
) && $(XMLEX
) -i
$(MISC
)/$(<:b
).interm
$(TARGET
) -o
$(CLASSDIR
) $(XML_ISO_CODE
) -g
-d
$@
1560 @@
$(RM
) $(MISC
)/$(<:b
).interm
$(TARGET
)
1561 .ENDIF
# "$(XMLPROPERTIES)"!=""
1563 .IF
"$(HIDSID1PARTICLE)$(SDI1TARGET)$(HIDSID2PARTICLE)$(SDI2TARGET)$(HIDSID3PARTICLE)$(SDI3TARGET)$(HIDSID4PARTICLE)$(SDI4TARGET)$(HIDSID5PARTICLE)$(SDI5TARGET)$(HIDSID6PARTICLE)$(SDI6TARGET)$(HIDSID7PARTICLE)$(SDI7TARGET)$(HIDSID8PARTICLE)$(SDI8TARGET)$(HIDSID9PARTICLE)$(SDI9TARGET)"!=""
1564 .INCLUDE
: _tg_sdi.mk
1565 .ENDIF
# "$(HIDSID1PARTICLE)$(SDI1TARGET)$(HIDSID2PARTICLE)$(SDI2TARGET)$(HIDSID3PARTICLE)$(SDI3TARGET)$(HIDSID4PARTICLE)$(SDI4TARGET)$(HIDSID5PARTICLE)$(SDI5TARGET)$(HIDSID6PARTICLE)$(SDI6TARGET)$(HIDSID7PARTICLE)$(SDI7TARGET)$(HIDSID8PARTICLE)$(SDI8TARGET)$(HIDSID9PARTICLE)$(SDI9TARGET)"!=""
1567 .IF
"$(DEF1NAME)$(DEF2NAME)$(DEF3NAME)$(DEF4NAME)$(DEF5NAME)$(DEF6NAME)$(DEF7NAME)$(DEF8NAME)$(DEF9NAME)"!=""
1568 .INCLUDE
: _tg_def.mk
1571 .IF
"$(COMMONPRJHIDOTHERTARGET)"!=""
1572 $(COMMONPRJHIDOTHERTARGET
) : $(PRJHIDOTHERTARGET
)
1573 .IF
"$(VERBOSE)" == "TRUE"
1574 @echo
------------------------------
1577 @
$(IFEXIST
) $@
$(THEN
) $(RM
:s
/+//) $@
$(FI
)
1578 $(COMMAND_ECHO
)$(TYPE
) $(PRJHIDOTHERTARGET
) > $@.
$(ROUT
).tmp
1579 @
$(RENAME
) $@.
$(ROUT
).tmp
$@
1586 .IF
"$(OBJTARGET)$($(SECOND_BUILD)OBJTARGET)"!=""
1587 .INCLUDE
: tg_obj.mk
1588 .ENDIF
# "$(OBJTARGET)$($(SECOND_BUILD)OBJTARGET)"!=""
1594 .IF
"$(SLOTARGET)$($(SECOND_BUILD)SLOTARGET)"!=""
1595 .INCLUDE
: tg_slo.mk
1596 .ENDIF
# "$(SLOTARGET)$($(SECOND_BUILD)SLOTARGET)"!=""
1602 .IF
"$(LIB1TARGET)$(LIB2TARGET)$(LIB3TARGET)$(LIB4TARGET)$(LIB5TARGET)$(LIB6TARGET)$(LIB7TARGET)$(LIB8TARGET)$(LIB9TARGET)" != ""
1603 .INCLUDE
: _tg_lib.mk
1604 .ENDIF
# "$(LIB1TARGET)$(LIB2TARGET)$(LIB3TARGET)$(LIB4TARGET)$(LIB5TARGET)$(LIB6TARGET)$(LIB7TARGET)$(LIB8TARGET)$(LIB9TARGET)" != ""
1610 .IF
"$(SRS1NAME)$(SRS2NAME)$(SRS3NAME)$(SRS4NAME)$(SRS5NAME)$(SRS6NAME)$(SRS7NAME)$(SRS8NAME)$(SRS9NAME)"!=""
1611 .INCLUDE
: _tg_srs.mk
1612 .ENDIF
# "$(SRS1NAME)$(SRS2NAME)$(SRS3NAME)$(SRS4NAME)$(SRS5NAME)$(SRS6NAME)$(SRS7NAME)$(SRS8NAME)$(SRS9NAME)"!=""
1618 .IF
"$(RCTARGET)"!=""
1619 .INCLUDE
: tg_res.mk
1620 .ENDIF
# "$(RCTARGET)"!=""
1626 .IF
"$(SHL1TARGETN)$(SHL2TARGETN)$(SHL3TARGETN)$(SHL4TARGETN)$(SHL5TARGETN)$(SHL6TARGETN)$(SHL7TARGETN)$(SHL8TARGETN)$(SHL9TARGETN)"!=""
1627 .INCLUDE
: _tg_shl.mk
1628 .ENDIF
# "$(SHL1TARGETN)$(SHL2TARGETN)$(SHL3TARGETN)$(SHL4TARGETN)$(SHL5TARGETN)$(SHL6TARGETN)$(SHL7TARGETN)$(SHL8TARGETN)$(SHL9TARGETN)"!=""
1630 .IF
"$(USE_VERSIONH)"!=""
1631 .INIT .SEQUENTIAL
: $(USE_VERSIONH
) $(NULLPRQ
)
1632 .ENDIF
# "$(USE_VERSIONH)"!=""
1638 .IF
"$(APP1TARGETN)$(APP2TARGETN)$(APP3TARGETN)$(APP4TARGETN)$(APP5TARGETN)$(APP6TARGETN)$(APP7TARGETN)$(APP8TARGETN)$(APP9TARGETN)"!=""
1639 .INCLUDE
: _tg_app.mk
1646 .IF
"$(SCP1TARGETN)$(SCP2TARGETN)$(SCP3TARGETN)$(SCP4TARGETN)$(SCP5TARGETN)$(SCP6TARGETN)$(SCP7TARGETN)$(SCP8TARGETN)$(SCP9TARGETN)"!=""
1647 .INCLUDE
: _tg_scp.mk
1654 .IF
"$(ZIP1TARGET)$(ZIP2TARGET)$(ZIP3TARGET)$(ZIP4TARGET)$(ZIP5TARGET)$(ZIP6TARGET)$(ZIP7TARGET)$(ZIP8TARGET)$(ZIP9TARGET)"!=""
1655 .INCLUDE
: _tg_zip.mk
1662 .IF
"$(RESLIB1TARGETN)$(RESLIB2TARGETN)$(RESLIB3TARGETN)$(RESLIB4TARGETN)$(RESLIB5TARGETN)$(RESLIB6TARGETN)$(RESLIB7TARGETN)$(RESLIB8TARGETN)$(RESLIB9TARGETN)"!=""
1663 .INCLUDE
: _tg_rslb.mk
1667 # - processing config -
1670 .IF
"$(XCSFILES)$(XCUFILES)"!=""
1671 .INCLUDE
: tg_config.mk
1672 .ENDIF
# "$(XCSFILES)$(XCUFILES)"!=""
1675 # ------------------
1676 # - INCLUDE DEPEND -
1677 # ------------------
1679 # same block as in depend build
1680 .IF
"$(MAKEFILERC)"==""
1681 .IF
"$(RCFILES)$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)$(PARFILES)" != ""
1682 .IF
"$(DEPFILES)" != ""
1683 .INCLUDE
: $(DEPFILES
)
1684 .ENDIF
# "$(DEPFILES)" != ""
1686 .IF
"$(DEPCOLLECT_SLO)" != ""
1687 .PHONY
: $(DEPCOLLECT_SLO
)
1688 .INCLUDE .IGNORE
: $(DEPCOLLECT_SLO
)
1689 .INCLUDE
: $(DEPFILE_SLO
)
1690 .ENDIF
# "$(DEPCOLLECT_SLO)" != ""
1691 .IF
"$(DEPCOLLECT_OBJ)" != ""
1692 .PHONY
: $(DEPCOLLECT_OBJ
)
1693 .INCLUDE .IGNORE
: $(DEPCOLLECT_OBJ
)
1694 .INCLUDE
: $(DEPFILE_OBJ
)
1695 .ENDIF
# "$(DEPCOLLECT_OBJ)" != ""
1696 .ENDIF
# "$(nodep)"==""
1697 .ENDIF
# "$(RCFILES)$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)$(PARFILES)" != ""
1701 .IF
"$(make_srs_deps)"==""
1702 .IF
"$(SRCFILES)" != "" ||
"$(SRC1FILES)" != "" ||
"$(SRC2FILES)" != ""
1704 .INCLUDE
: $(MISC
)/$(TARGET
).dpr
1705 .ENDIF
# "$(nodep)"==""
1709 .IF
"$(make_zip_deps)"==""
1710 .IF
"$(ZIP1TARGET)" != "" ||
"$(ZIP2TARGET)" != "" ||
"$(ZIP3TARGET)" != ""
1712 .INCLUDE
: $(MISC
)/$(TARGET
).dpz
1713 # introduce separation char
1714 missing_zipdep_langs
=$(alllangiso
:^
"+":+"+")
1715 some_dummy_var
:=$(foreach,i
,$(zipdep_langs
) $(assign missing_zipdep_langs
:=$(strip $(subst,+$(i
)+, $(missing_zipdep_langs
)))))
1716 .IF
"$(missing_zipdep_langs)"!=""
1718 .ENDIF
# "$(missing_zipdep_langs)"!=""
1719 .ENDIF
# "$(nodep)"==""
1724 .IF
"$(VERBOSE)" == "TRUE"
1729 $(MISC
)/$(TARGET
)genjava.mk
: $(IDLFILES
)
1731 .IF
"$(JAVACLASSFILES:s/DEFINED//)"!=""
1732 .IF
"$(L10N_framework)"==""
1733 .INCLUDE .IGNORE
: $(MISC
)/$(TARGET
).dpj
1734 $(TARGETDPJ
) : $(JAVAFILES
) $(JAVATARGET
)
1735 .ENDIF
# "$(L10N_framework)"==""
1738 .IF
"$(JARTARGETN)"!=""
1739 .INCLUDE
: tg_jar.mk
1740 .ENDIF
# "$(JARTARGETN)"!=""
1742 # ----------------------------------
1743 # - NOOPT - files ohne optimierung -
1744 # ----------------------------------
1746 .IF
"$(NOOPTTARGET)" != ""
1747 .IF
"$(NOOPT_FLAG)" == ""
1750 .IF
"$(VERBOSE)" == "TRUE"
1751 @echo
--- NOOPTFILES
---
1753 @dmake
$(MFLAGS
) $(MAKEFILE
) nopt
=true
$(NOOPTFILES
) NOOPT_FLAG
=TRUE
$(CALLMACROS
)
1754 .IF
"$(VERBOSE)" == "TRUE"
1755 @echo
--- NOOPTFILES OVER
---
1759 .IF
"$(VERBOSE)" == "TRUE"
1762 @dmake
$(MFLAGS
) $(MAKEFILE
) nopt
=true NOOPT_FLAG
=TRUE
$(CALLMACROS
) $@
1763 .IF
"$(VERBOSE)" == "TRUE"
1764 @echo
--- NOOPT OVER
---
1770 # ----------------------------------
1771 # - EXCEPTIONSNOOPT - files with exceptions, without optimization -
1772 # ----------------------------------
1774 .IF
"$(EXCEPTIONSNOOPTTARGET)" != ""
1775 .IF
"$(EXCEPTIONSNOOPT_FLAG)" == ""
1777 $(EXCEPTIONSNOOPTTARGET
):
1778 .IF
"$(VERBOSE)" == "TRUE"
1779 @echo
--- EXCEPTIONSNOOPTFILES
---
1781 @dmake
$(MFLAGS
) $(MAKEFILE
) ENABLE_EXCEPTIONS
=true
$(EXCEPTIONSNOOPTFILES
) EXCEPTIONSNOOPT_FLAG
=TRUE nopt
=true
$(CALLMACROS
)
1782 .IF
"$(VERBOSE)" == "TRUE"
1783 @echo
--- EXCEPTIONSNOOPTFILES OVER
---
1786 $(EXCEPTIONSNOOPTFILES
):
1787 .IF
"$(VERBOSE)" == "TRUE"
1788 @echo
--- EXCEPTIONSNOOPT
---
1790 @dmake
$(MFLAGS
) $(MAKEFILE
) ENABLE_EXCEPTIONS
=true EXCEPTIONSNOOPT_FLAG
=TRUE nopt
=true
$(CALLMACROS
) $@
1791 .IF
"$(VERBOSE)" == "TRUE"
1792 @echo
--- EXCEPTIONSNOOPT OVER
---
1800 # recreate dependency files that were removed manually or vanished otherwise...
1801 forcedeps
: $(DEPFILE_SLO
) $(DEPFILE_OBJ
)
1802 @
$(null
,$(DEPS_MISSING
) noop
$(eq
,$(sort $(DEPS_MISSING
)),$(sort $(DEPS_MADE
)) noop dmake depend
=t
$(MFLAGS
) $(MAKEMACROS
) ALLDEP
))
1803 @noop
$(foreach,i
,$($(TARGET
)_known_dpcc
) $(assign DEPS_MADE
:=$(subst,$i, $(DEPS_MADE
))))
1804 @
$(null
,$(DEPS_MADE
) noop
$(null
,$(DEPFILE_SLO
) noop
$(RM
) $(DEPFILE_SLO
)))
1805 @
$(null
,$(DEPS_MADE
) noop
$(null
,$(DEPFILE_OBJ
) noop
$(RM
) $(DEPFILE_OBJ
)))
1809 .ENDIF
# "$(nodep)"==""
1811 # -------------------------
1812 # - several kill targets -
1813 # -------------------------
1815 "$(TMP)/makedt.don":
1816 @
$(TOUCH
) $(TMP
)/makedt.don
1819 .IF
"$(GUI)"=="WNT" ||
"$(GUI)"=="OS2"
1820 @
$(IFEXIST
) $(BIN
)/$(SHL1TARGET
).dll
$(THEN
) $(RM
:s
/+//) $(BIN
)/$(SHL1TARGET
).dll
$(FI
)
1821 @
$(IFEXIST
) $(BIN
)/$(SHL2TARGET
).dll
$(THEN
) $(RM
:s
/+//) $(BIN
)/$(SHL2TARGET
).dll
$(FI
)
1822 @
$(IFEXIST
) $(BIN
)/$(SHL3TARGET
).dll
$(THEN
) $(RM
:s
/+//) $(BIN
)/$(SHL3TARGET
).dll
$(FI
)
1823 @
$(IFEXIST
) $(BIN
)/$(SHL4TARGET
).dll
$(THEN
) $(RM
:s
/+//) $(BIN
)/$(SHL4TARGET
).dll
$(FI
)
1824 @
$(IFEXIST
) $(BIN
)/$(SHL5TARGET
).dll
$(THEN
) $(RM
:s
/+//) $(BIN
)/$(SHL5TARGET
).dll
$(FI
)
1825 @
$(IFEXIST
) $(BIN
)/$(SHL6TARGET
).dll
$(THEN
) $(RM
:s
/+//) $(BIN
)/$(SHL6TARGET
).dll
$(FI
)
1826 @
$(IFEXIST
) $(BIN
)/$(SHL7TARGET
).dll
$(THEN
) $(RM
:s
/+//) $(BIN
)/$(SHL7TARGET
).dll
$(FI
)
1827 @
$(IFEXIST
) $(BIN
)/$(SHL8TARGET
).dll
$(THEN
) $(RM
:s
/+//) $(BIN
)/$(SHL8TARGET
).dll
$(FI
)
1828 @
$(IFEXIST
) $(BIN
)/$(SHL9TARGET
).dll
$(THEN
) $(RM
:s
/+//) $(BIN
)/$(SHL9TARGET
).dll
$(FI
)
1829 @
$(IFEXIST
) $(BIN
)/$(APP1TARGET
)$(EXECPOST
) $(THEN
) $(RM
:s
/+//) $(BIN
)/$(APP1TARGET
)$(EXECPOST
) $(FI
)
1830 @
$(IFEXIST
) $(BIN
)/$(APP2TARGET
)$(EXECPOST
) $(THEN
) $(RM
:s
/+//) $(BIN
)/$(APP2TARGET
)$(EXECPOST
) $(FI
)
1831 @
$(IFEXIST
) $(BIN
)/$(APP3TARGET
)$(EXECPOST
) $(THEN
) $(RM
:s
/+//) $(BIN
)/$(APP3TARGET
)$(EXECPOST
) $(FI
)
1832 @
$(IFEXIST
) $(BIN
)/$(APP4TARGET
)$(EXECPOST
) $(THEN
) $(RM
:s
/+//) $(BIN
)/$(APP4TARGET
)$(EXECPOST
) $(FI
)
1833 @
$(IFEXIST
) $(BIN
)/$(APP5TARGET
)$(EXECPOST
) $(THEN
) $(RM
:s
/+//) $(BIN
)/$(APP5TARGET
)$(EXECPOST
) $(FI
)
1834 @
$(IFEXIST
) $(BIN
)/$(APP6TARGET
)$(EXECPOST
) $(THEN
) $(RM
:s
/+//) $(BIN
)/$(APP6TARGET
)$(EXECPOST
) $(FI
)
1835 @
$(IFEXIST
) $(BIN
)/$(APP7TARGET
)$(EXECPOST
) $(THEN
) $(RM
:s
/+//) $(BIN
)/$(APP7TARGET
)$(EXECPOST
) $(FI
)
1836 @
$(IFEXIST
) $(BIN
)/$(APP8TARGET
)$(EXECPOST
) $(THEN
) $(RM
:s
/+//) $(BIN
)/$(APP8TARGET
)$(EXECPOST
) $(FI
)
1837 @
$(IFEXIST
) $(BIN
)/$(APP9TARGET
)$(EXECPOST
) $(THEN
) $(RM
:s
/+//) $(BIN
)/$(APP9TARGET
)$(EXECPOST
) $(FI
)
1839 .ELSE
# "$(GUI)"=="WNT"
1840 .IF
"$(SHL1TARGET)"!=""
1841 @
-$(RM
) $(LB
)/$(SHL1DLLPRE
)$(SHL1TARGET
)$(DLLPOST
)
1843 .IF
"$(SHL2TARGET)"!=""
1844 @
-$(RM
) $(LB
)/$(SHL2DLLPRE
)$(SHL2TARGET
)$(DLLPOST
)
1846 .IF
"$(SHL3TARGET)"!=""
1847 @
-$(RM
) $(LB
)/$(SHL3DLLPRE
)$(SHL3TARGET
)$(DLLPOST
)
1849 .IF
"$(SHL4TARGET)"!=""
1850 @
-$(RM
) $(LB
)/$(SHL4DLLPRE
)$(SHL4TARGET
)$(DLLPOST
)
1852 .IF
"$(SHL5TARGET)"!=""
1853 @
-$(RM
) $(LB
)/$(SHL5DLLPRE
)$(SHL5TARGET
)$(DLLPOST
)
1855 .IF
"$(SHL6TARGET)"!=""
1856 @
-$(RM
) $(LB
)/$(SHL6DLLPRE
)$(SHL6TARGET
)$(DLLPOST
)
1858 .IF
"$(SHL7TARGET)"!=""
1859 @
-$(RM
) $(LB
)/$(SHL7DLLPRE
)$(SHL7TARGET
)$(DLLPOST
)
1861 .IF
"$(SHL8TARGET)"!=""
1862 @
-$(RM
) $(LB
)/$(SHL8DLLPRE
)$(SHL8TARGET
)$(DLLPOST
)
1864 .IF
"$(SHL9TARGET)"!=""
1865 @
-$(RM
) $(LB
)/$(SHL9DLLPRE
)$(SHL9TARGET
)$(DLLPOST
)
1867 .IF
"$(APP1TARGET)"!=""
1868 @
-$(RM
) $(BIN
)/$(APP1TARGET
)$(EXECPOST
)
1870 .IF
"$(APP2TARGET)"!=""
1871 @
-$(RM
) $(BIN
)/$(APP2TARGET
)$(EXECPOST
)
1873 .IF
"$(APP3TARGET)"!=""
1874 @
-$(RM
) $(BIN
)/$(APP3TARGET
)$(EXECPOST
)
1876 .IF
"$(APP4TARGET)"!=""
1877 @
-$(RM
) $(BIN
)/$(APP4TARGET
)$(EXECPOST
)
1879 .IF
"$(APP5TARGET)"!=""
1880 @
-$(RM
) $(BIN
)/$(APP5TARGET
)$(EXECPOST
)
1882 .IF
"$(APP6TARGET)"!=""
1883 @
-$(RM
) $(BIN
)/$(APP6TARGET
)$(EXECPOST
)
1885 .IF
"$(APP7TARGET)"!=""
1886 @
-$(RM
) $(BIN
)/$(APP7TARGET
)$(EXECPOST
)
1888 .IF
"$(APP8TARGET)"!=""
1889 @
-$(RM
) $(BIN
)/$(APP8TARGET
)$(EXECPOST
)
1891 .IF
"$(APP9TARGET)"!=""
1892 @
-$(RM
) $(BIN
)/$(APP9TARGET
)$(EXECPOST
)
1894 .ENDIF
# "$(GUI)"=="WNT"
1897 .IF
"$(SLOFILES)" != ""
1898 -cd
$(SLO
) && $(TYPE
:s
/+//) $(mktmp
$(SLOFILES
:f
)) | xargs
-n
20 rm
1899 -cd
$(SLO
) && $(TYPE
:s
/+//) $(mktmp
$(SLOFILES
:s
/.obj
/.o
/:f
)) | xargs
-n
20 rm
1901 .IF
"$(OBJFILES)" != ""
1902 -cd
$(OBJ
) && $(TYPE
:s
/+//) $(mktmp
$(OBJFILES
:f
)) | xargs
-n
20 rm
1903 -cd
$(OBJ
) && $(TYPE
:s
/+//) $(mktmp
$(OBJFILES
:s
/.obj
/.o
/:f
)) | xargs
-n
20 rm
1906 .IF
"$(REAL_$(SECOND_BUILD)_SLOFILES)" != ""
1907 -cd
$(REAL_
$(SECOND_BUILD
)_SLO
) && $(TYPE
:s
/+//) $(mktmp
$(REAL_
$(SECOND_BUILD
)_SLOFILES
:f
)) | xargs
-n
20 rm
1908 -cd
$(REAL_
$(SECOND_BUILD
)_SLO
) && $(TYPE
:s
/+//) $(mktmp
$(REAL_
$(SECOND_BUILD
)_SLOFILES
:s
/.obj
/.o
/:f
)) | xargs
-n
20 rm
1910 .IF
"$(REAL_$(SECOND_BUILD)_OBJFILES)" != ""
1911 -cd
$(REAL_
$(SECOND_BUILD
)_OBJ
) && $(TYPE
:s
/+//) $(mktmp
$(REAL_
$(SECOND_BUILD
)_OBJFILES
:f
)) | xargs
-n
20 rm
1912 -cd
$(REAL_
$(SECOND_BUILD
)_OBJ
) && $(TYPE
:s
/+//) $(mktmp
$(REAL_
$(SECOND_BUILD
)_OBJFILES
:s
/.obj
/.o
/:f
)) | xargs
-n
20 rm
1914 .IF
"$(DEPOBJFILES)" != ""
1915 -cd
$(SLO
) && $(TYPE
:s
/+//) $(mktmp
$(DEPOBJFILES
:f
)) | xargs
-n
20 rm
1916 -cd
$(SLO
) && $(TYPE
:s
/+//) $(mktmp
$(DEPOBJFILES
:s
/.obj
/.o
/:f
)) | xargs
-n
20 rm
1917 -cd
$(OBJ
) && $(TYPE
:s
/+//) $(mktmp
$(DEPOBJFILES
:f
)) | xargs
-n
20 rm
1918 -cd
$(OBJ
) && $(TYPE
:s
/+//) $(mktmp
$(DEPOBJFILES
:s
/.obj
/.o
/:f
)) | xargs
-n
20 rm
1923 # doesn't work - fix me!
1924 .IF
"$(SRSFILES)" != ""
1930 .IF
"$(RESLIB1TARGETN)$(RESLIB2TARGETN)$(RESLIB3TARGETN)$(RESLIB4TARGETN)$(RESLIB5TARGETN)$(RESLIB6TARGETN)$(RESLIB7TARGETN)$(RESLIB8TARGETN)$(RESLIB9TARGETN)"!=""
1931 @
(COMMAND_ECHO
)$(RM
) $(RESLIB1TARGETN
) $(RESLIB2TARGETN
) $(RESLIB3TARGETN
) $(RESLIB4TARGETN
) $(RESLIB5TARGETN
) $(RESLIB6TARGETN
) $(RESLIB7TARGETN
) $(RESLIB8TARGETN
) $(RESLIB9TARGETN
)
1932 @echo resource files removed
!
1933 .ELSE
# "$(RESLIB1TARGETN)$(RESLIB2TARGETN)$(RESLIB3TARGETN)$(RESLIB4TARGETN)$(RESLIB5TARGETN)$(RESLIB6TARGETN)$(RESLIB7TARGETN)$(RESLIB8TARGETN)$(RESLIB9TARGETN)"!=""
1934 @echo no resource files defined
!
1935 .ENDIF
# "$(RESLIB1TARGETN)$(RESLIB2TARGETN)$(RESLIB3TARGETN)$(RESLIB4TARGETN)$(RESLIB5TARGETN)$(RESLIB6TARGETN)$(RESLIB7TARGETN)$(RESLIB8TARGETN)$(RESLIB9TARGETN)"!=""
1938 .IF
"$(DEFTARGETN)" != ""
1939 @
(COMMAND_ECHO
)$(RM
) $(DEFTARGETN
)
1944 .IF
"$(LIB1TARGETN)$(LIB2TARGETN)$(LIB3TARGETN)$(LIB4TARGETN)$(LIB5TARGETN)$(LIB6TARGETN)$(LIB7TARGETN)$(LIB8TARGETN)$(LIB9TARGETN)"!=""
1945 @
(COMMAND_ECHO
)$(RM
) $(LIB1TARGETN
) $(LIB2TARGETN
) $(LIB3TARGETN
) $(LIB4TARGETN
) $(LIB5TARGETN
) $(LIB6TARGETN
) $(LIB7TARGETN
) $(LIB8TARGETN
) $(LIB9TARGETN
)
1946 .IF
"$(LIB1ARCHIV)$(LIB2ARCHIV)$(LIB3ARCHIV)$(LIB4ARCHIV)$(LIB5ARCHIV)$(LIB6ARCHIV)$(LIB7ARCHIV)$(LIB8ARCHIV)$(LIB9ARCHIV)"!=""
1947 @
(COMMAND_ECHO
)$(RM
) $(LIB1ARCHIV
) $(LIB2ARCHIV
) $(LIB3ARCHIV
) $(LIB4ARCHIV
) $(LIB5ARCHIV
) $(LIB6ARCHIV
) $(LIB7ARCHIV
) $(LIB8ARCHIV
) $(LIB9ARCHIV
)
1948 .ENDIF
# "$(LIB1ARCHIV)$(LIB2ARCHIV)$(LIB3ARCHIV)$(LIB4ARCHIV)$(LIB5ARCHIV)$(LIB6ARCHIV)$(LIB7ARCHIV)$(LIB8ARCHIV)$(LIB9ARCHIV)"!=""
1949 @echo lib
/archive files removed
!
1950 .ENDIF
# "$(LIB1TARGETN)$(LIB2TARGETN)$(LIB3TARGETN)$(LIB4TARGETN)$(LIB5TARGETN)$(LIB6TARGETN)$(LIB7TARGETN)$(LIB8TARGETN)$(LIB9TARGETN)"!=""
1951 .IF
"$(SLOTARGET)$(OBJTARGET)"!=""
1952 @
(COMMAND_ECHO
)$(RM
) $(SLOTARGET
) $(OBJTARGET
)
1953 @echo default lib files removed
!
1954 .ENDIF
# "$(SLOTARGET)$(OBJTARGET)"!=""
1961 .ELSE
# "$(MISC)"!=""
1962 @echo can
\'t be done
! $$(MISC
) not defined.
1963 .ENDIF
# "$(MISC)"!=""
1967 test -f
$(PRJ
)/prj
/build.lst
&& rm -rf
$(OUT
)
1968 @echo local output tree is gone
!
1969 .ELSE
# "$(OUT)"!=""
1970 @echo can
\'t be done
! $$(OUT
) not defined.
1971 .ENDIF
# "$(OUT)"!=""
1975 $(SDITARGET
) $(SDI1TARGET
) $(SDI2TARGET
) \
1976 $(SDI3TARGET
) $(SDI4TARGET
) $(SDI5TARGET
) \
1979 $(SRC3TARGET
) $(RCTARGET
) \
1980 $(SRC4TARGET
) $(SRC5TARGET
) $(SRC6TARGET
) \
1981 $(SRC7TARGET
) $(SRC8TARGET
) $(SRC9TARGET
) \
1982 $(SRC10TARGET
) $(SRC11TARGET
) $(SRC12TARGET
) \
1983 $(SRC13TARGET
) $(SRC14TARGET
) $(SRC15TARGET
) \
1986 .IF
"$(ZIP1TARGETN)$(ZIP2TARGETN)$(ZIP3TARGETN)$(ZIP4TARGETN)$(ZIP5TARGETN)$(ZIP6TARGETN)$(ZIP7TARGETN)$(ZIP8TARGETN)$(ZIP9TARGETN)"!=""
1999 .IF
"$(VERBOSE)" == "TRUE"
2002 @echo nothing to zip for activated languages
!
2003 .IF
"$(VERBOSE)" == "TRUE"
2009 #temporary workaround for non-existing delzip in extras
2012 @echo ERROR
: ZIPnTARGETS need a file named
"delzip" to exist beside their makefile.mk
2013 @echo ERROR
: Create an empty file named delzip and commit it
2014 @echo ERROR
: for details see
#i78434#
2015 force_dmake_to_error
2017 .IF
"$(make_srs_deps)"==""
2018 $(MISC
)/$(TARGET
).dpr
: $(SRCFILES
) $(SRC1FILES
) $(SRC2FILES
) $(SRC3FILES
)
2021 .IF
"$(make_zip_deps)"==""
2022 $(MISC
)/$(TARGET
).dpz
$(ZIPDEPPHONY
) : $(ZIP1TARGETN
) $(ZIP2TARGETN
) $(ZIP3TARGETN
) $(ZIP4TARGETN
) $(ZIP5TARGETN
) $(ZIP6TARGETN
) $(ZIP7TARGETN
) $(ZIP8TARGETN
) $(ZIP9TARGETN
)
2025 VERSIONTMP
:=$(mktmp iii
)
2026 $(INCCOM
)/%_version.h
: $(SOLARVERSION
)/$(INPATH
)/inc
$(UPDMINOREXT
)/minormkchanged.flg
2027 @echo
$(EMQ
)#define _BUILD $(EMQ)"$(BUILD)$(EMQ)" > $(VERSIONTMP)
2028 @echo
$(EMQ
)#define _UPD $(EMQ)"$(UPD)$(EMQ)" >> $(VERSIONTMP)
2029 @echo
$(EMQ
)#define _LAST_MINOR $(EMQ)"$(LAST_MINOR)$(EMQ)" >> $(VERSIONTMP)
2030 @echo
$(EMQ
)#define _RSCREVISION $(EMQ)"$(USQ)$(RSCREVISION)$(USQ)$(EMQ)" >> $(VERSIONTMP)
2031 @echo
$(EMQ
)#define _INPATH $(EMQ)"$(INPATH)$(EMQ)" >> $(VERSIONTMP)
2032 @@
-$(RM
) $(@
)_
$(VERSIONTMP
:b
)
2033 @
$(TYPE
) $(VERSIONTMP
) > $(@
)_
$(VERSIONTMP
:b
)
2035 @
-$(RENAME
) $(@
)_
$(VERSIONTMP
:b
) $@
2037 .IF
"$(MAKEFILERC)"==""
2040 @echo
'* error $$(TARGET) is empty - this will cause problems'
2042 force_dmake_to_error
2045 @echo generated makefile.rc detected
2048 .IF
"$(UNOTYPES)" != ""
2049 UNOUCRDEPxxx
: $(UNOUCRDEP
);
2050 .ENDIF
# "$(UNOTYPES)" != ""
2053 #new hid.lst trigger with GEN_HID2=TRUE
2054 $(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/hid.lst .PHONY
:
2056 .IF
"$(VERBOSE)" == "TRUE"
2057 @echo
---------------
2059 @echo
$(WORK_STAMP
).
$(LAST_MINOR
) 010101010101010 > $@.
$(ROUT
).tmp
2060 $(COMMAND_ECHO
)$(TYPE
) $(SOLARCOMMONBINDIR
)/hid
/*.hid | tr
-d
"\015" |
$(SORT
) -u
>> $@.
$(ROUT
).tmp
2061 @
$(IFEXIST
) $@
$(THEN
) $(RM
:s
/+//) $@
$(FI
)
2062 @
-$(RENAME
) $@.
$(ROUT
).tmp
$@
2064 $(COMMAND_ECHO
)$(PERL
) $(SOLARENV
)/bin
/gen_userfeedback_VCL_names.pl
$@
$(SOLARCOMMONBINDIR
)/win
$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/hid
/userfeedback_VCL_names.csv.
$(ROUT
).tmp
2065 @
$(IFEXIST
) $@
$(THEN
) $(RM
:s
/+//) $(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/hid
/userfeedback_VCL_names.csv
$(FI
)
2066 @
-$(RENAME
) $(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/hid
/userfeedback_VCL_names.csv.
$(ROUT
).tmp
$(subst,$(OUTPATH
),$(COMMON_OUTDIR
) $(BIN
))/hid
/userfeedback_VCL_names.csv
2069 .IF
"$(SOLAR_JAVA)"!=""
2070 .IF
"$(JAVACLASSFILES:s/DEFINED//)$(javauno)"!=""
2071 .INCLUDE
: tg_java.mk
2072 .ENDIF
# "$(JAVACLASSFILES:s/DEFINED//)$(javauno)"!=""
2073 .ENDIF
# "$(SOLAR_JAVA)"!=""
2075 .INCLUDE
: tg_merge.mk
2078 wc
*.
* >> $(TMP
)/wc.lst
2083 .ELSE
# "$(depend)" == ""
2092 # same block as in regular build
2093 .IF
"$(MAKEFILERC)"==""
2094 .IF
"$(RCFILES)$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)$(PARFILES)" != ""
2095 .IF
"$(DEPFILES)" != ""
2096 .INCLUDE
: $(DEPFILES
)
2097 .ENDIF
# "$(DEPFILES)" != ""
2099 .IF
"$(DEPCOLLECT_SLO)" != ""
2100 .PHONY
: $(DEPCOLLECT_SLO
)
2101 .INCLUDE .IGNORE
: $(DEPCOLLECT_SLO
)
2102 .INCLUDE
: $(DEPFILE_SLO
)
2103 .ENDIF
# "$(DEPCOLLECT_SLO)" != ""
2104 .IF
"$(DEPCOLLECT_OBJ)" != ""
2105 .PHONY
: $(DEPCOLLECT_OBJ
)
2106 .INCLUDE .IGNORE
: $(DEPCOLLECT_OBJ
)
2107 .INCLUDE
: $(DEPFILE_OBJ
)
2108 .ENDIF
# "$(DEPCOLLECT_OBJ)" != ""
2109 .ENDIF
# "$(nodep)"==""
2110 .ENDIF
# "$(RCFILES)$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)$(PARFILES)" != ""
2114 .INCLUDE
: tg_dep.mk
2116 .ENDIF
# "$(depend)" == ""
2118 .IF
"$(SUBDIRS)"!=""
2120 $(SUBDIRS
) : $(SUBDIRSDEPS
)
2122 .IF
"$(mk_tmp)$(BSCLIENT)"!=""
2124 @echo ignoring SUBDIRS
2126 .ELSE
# "$(mk_tmp)$(BSCLIENT)"!=""
2127 #.IF "$(PRJNAME)"!="sw"
2133 @
$(MAKECMD
) subdmake
=true
$(MFLAGS
) $(CALLMACROS
)
2135 .ELSE
# "$(GUI)"!="UNX"
2137 cd
$@
; $(MAKECMD
) subdmake
=true
$(MFLAGS
) $(CALLMACROS
)
2138 .ENDIF
# "$(GUI)"!="UNX"
2140 .ENDIF
# "$(mk_tmp)$(BSCLIENT)"!=""
2141 .ENDIF
# "$(SUBDIRS)"!=""
2143 # workaround for strange dmake bug:
2144 # if the previous block was a rule or a target, "\#" isn't recognized
2145 # as an escaped "#". if it was an assignment, escaping works...
2146 some_unique_variable_name
:=1