merge the formfield patch from ooo-build
[ooovba.git] / solenv / inc / target.mk
blob761d29a5040e1b86851c1cc1081ef6a0723df800
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
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 #*************************************************************************
32 MKFILENAME:=TARGET.MK
34 # ------------------------------------------------------------------
35 # INCLUDE-Path
36 # ------------------------------------------------------------------
38 .IF "$(STL_OS2_BUILDING)" != ""
39 CDEFS+=-DSTL_OS2_BUILDING
40 .ENDIF
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
46 .ENDIF
47 .ENDIF
49 .IF "$(TARGET)"==""
50 target_empty=warn_target_empty
51 .ENDIF
53 # all use solarinc
54 # no standalone -I flags!!
55 INCEXT*=.
56 INCPRE*=.
57 INCPOST*=.
58 .IF "$(PRE)"!=""
59 ENVINCPRE+=-I$(PRE)/inc
60 .ENDIF # "$(PRE)"!=""
61 .IF "$(BOOTSTRAP_SERVICE)"!="TRUE" && "$(NO_OFFUH)"==""
62 UNOINCLUDES=$(SOLARINCDIR)/offuh
63 .ENDIF # "$(BOOTSTRAP_SERVICE)"!="TRUE" && "$(NO_OFFUH)"==""
64 SOLARINC+=$(JDKINCS)
65 # make sure INCLUDE isn't set
66 INCLUDE:=
67 .EXPORT : INCLUDE
68 .IF "$(PRJINC)"!=""
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))
74 .EXPORT : LIB
75 # --- Compiler -----------------------------------------------------
77 .IF "$(RC_SUBDIRS)"!=""
78 SUBDIRS:=$(RC_SUBDIRS)
79 SUBDIRSDEPS=$(RC_SUBDIRSDEPS)
80 .ENDIF
82 .INCLUDE : pstrules.mk
84 .IF "$(YACCTARGET)"!=""
85 .INCLUDE : tg_yxx.mk
86 .ENDIF # "$(YACCTARGET)"!=""
88 .IF "$(nodep)"==""
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)"==""
102 .IF "$(RCFILES)"!=""
103 .IF "$(RESNAME)"!=""
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)" == ""
123 # -------
124 # - ALL -
125 # -------
127 # with VCL no resources are appended to the application
128 APP1RES=
129 APP2RES=
130 APP3RES=
131 APP4RES=
132 APP5RES=
133 APP6RES=
134 APP7RES=
135 APP8RES=
136 APP9RES=
137 # unfortunatly there are some applications which don't VCL resources but have
138 # resources of their own
139 .IF "$(APP1NOSVRES)" != ""
140 APP1RES=$(APP1NOSVRES)
141 .ENDIF
142 .IF "$(APP2NOSVRES)" != ""
143 APP2RES=$(APP2NOSVRES)
144 .ENDIF
145 .IF "$(APP3NOSVRES)" != ""
146 APP3RES=$(APP3NOSVRES)
147 .ENDIF
149 .IF "$(NO_APP)"!=""
150 APP1TARGET=
151 APP2TARGET=
152 APP3TARGET=
153 APP4TARGET=
154 APP5TARGET=
155 APP6TARGET=
156 APP7TARGET=
157 APP8TARGET=
158 APP9TARGET=
159 .ENDIF
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
168 .ENDIF
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
176 .ENDIF
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)"!=""
194 .IF "$(PACKAGE)"!=""
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
235 .ENDIF
237 .IF "$(EXCEPTIONSNOOPTFILES)" != ""
238 EXCEPTIONSNOOPTTARGET=do_it_exceptions_noopt
239 .ENDIF
241 .IF "$(LIBTARGET)"==""
242 .IF "$(OBJFILES)$(IDLOBJFILES)"!=""
243 OBJTARGET=$(LB)/$(TARGET).lib
244 .ENDIF
246 .IF "$(SLOFILES)$(IDLSLOFILES)"!=""
247 SLOTARGET=$(SLB)/$(TARGET).lib
248 .ENDIF
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))
257 .ENDIF
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))
264 .ENDIF
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 --------------------------------------------------
274 force_dmake_to_error
275 .ENDIF # "$(NOLIBTARGET)"!=""
276 .IF "$(OBJFILES)"!=""
277 .IF "$(LIBTARGET)" != ""
278 NOLIBOBJTARGET=$(OBJFILES)
279 .ENDIF
280 .ENDIF
282 .IF "$(SLOFILES)"!=""
283 .IF "$(LIBTARGET)" != ""
284 NOLIBSLOTARGET=$(SLOFILES)
285 .ENDIF
286 .ENDIF
288 .IF "$(SRC1FILES)"!=""
289 SRC1TARGET=$(SRS)/$(SRS1NAME).srs
290 DEPSRS1FILE+=$(MISC)/$(TARGET).$(SRS1NAME).dprr
291 DEPSRSFILES+=$(DEPSRS1FILE)
292 .ENDIF
294 .IF "$(SRC2FILES)"!=""
295 SRC2TARGET=$(SRS)/$(SRS2NAME).srs
296 DEPSRS2FILE+=$(MISC)/$(TARGET).$(SRS2NAME).dprr
297 DEPSRSFILES+=$(DEPSRS2FILE)
298 .ENDIF
300 .IF "$(SRC3FILES)"!=""
301 SRC3TARGET=$(SRS)/$(SRS3NAME).srs
302 DEPSRS3FILE+=$(MISC)/$(TARGET).$(SRS3NAME).dprr
303 DEPSRSFILES+=$(DEPSRS3FILE)
304 .ENDIF
306 .IF "$(SRC4FILES)"!=""
307 SRC4TARGET=$(SRS)/$(SRS4NAME).srs
308 DEPSRS4FILE+=$(MISC)/$(TARGET).$(SRS4NAME).dprr
309 DEPSRSFILES+=$(DEPSRS4FILE)
310 .ENDIF
312 .IF "$(SRC5FILES)"!=""
313 SRC5TARGET=$(SRS)/$(SRS5NAME).srs
314 DEPSRS5FILE+=$(MISC)/$(TARGET).$(SRS5NAME).dprr
315 DEPSRSFILES+=$(DEPSRS5FILE)
316 .ENDIF
318 .IF "$(SRC6FILES)"!=""
319 SRC6TARGET=$(SRS)/$(SRS6NAME).srs
320 DEPSRS6FILE+=$(MISC)/$(TARGET).$(SRS6NAME).dprr
321 DEPSRSFILES+=$(DEPSRS6FILE)
322 .ENDIF
324 .IF "$(SRC7FILES)"!=""
325 SRC7TARGET=$(SRS)/$(SRS7NAME).srs
326 DEPSRS7FILE+=$(MISC)/$(TARGET).$(SRS7NAME).dprr
327 DEPSRSFILES+=$(DEPSRS7FILE)
328 .ENDIF
330 .IF "$(SRC8FILES)"!=""
331 SRC8TARGET=$(SRS)/$(SRS8NAME).srs
332 DEPSRS8FILE+=$(MISC)/$(TARGET).$(SRS8NAME).dprr
333 DEPSRSFILES+=$(DEPSRS8FILE)
334 .ENDIF
336 .IF "$(SRC9FILES)"!=""
337 SRC9TARGET=$(SRS)/$(SRS9NAME).srs
338 DEPSRS9FILE+=$(MISC)/$(TARGET).$(SRS9NAME).dprr
339 DEPSRSFILES+=$(DEPSRS9FILE)
340 .ENDIF
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)"!=""
355 JARCLASSDIRS*=.
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)"!=""
366 JAVACLASSFILES:=
367 JAVAFILES:=
368 javauno:=
369 .ENDIF # "$(SOLAR_JAVA)"!=""
371 .IF "$(L10N_framework)"==""
372 .IF "$(RCFILES)"!=""
373 RESNAME*=$(TARGET)
374 .IF "$(RCFILES)" != "verinfo.rc"
375 RCTARGET=$(RES)/$(RESNAME).res
376 .ELSE # "$(RCFILES)" != "verinfo.rc"
377 RCFILES=
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))
386 .ENDIF
388 .IF "$(SCP2TARGET)"!=""
389 SCP2TARGETN:=$(foreach,i,$(SCP2LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP2TARGET)$(SCPPOST))
390 .ENDIF
392 .IF "$(SCP3TARGET)"!=""
393 SCP3TARGETN:=$(foreach,i,$(SCP3LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP3TARGET)$(SCPPOST))
394 .ENDIF
396 .IF "$(SCP4TARGET)"!=""
397 SCP4TARGETN:=$(foreach,i,$(SCP4LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP4TARGET)$(SCPPOST))
398 .ENDIF
400 .IF "$(SCP5TARGET)"!=""
401 SCP5TARGETN:=$(foreach,i,$(SCP5LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP5TARGET)$(SCPPOST))
402 .ENDIF
404 .IF "$(SCP6TARGET)"!=""
405 SCP6TARGETN:=$(foreach,i,$(SCP6LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP6TARGET)$(SCPPOST))
406 .ENDIF
408 .IF "$(SCP7TARGET)"!=""
409 SCP7TARGETN:=$(foreach,i,$(SCP7LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP7TARGET)$(SCPPOST))
410 .ENDIF
412 .IF "$(SCP8TARGET)"!=""
413 SCP8TARGETN:=$(foreach,i,$(SCP8LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP8TARGET)$(SCPPOST))
414 .ENDIF
416 .IF "$(SCP9TARGET)"!=""
417 SCP9TARGETN:=$(foreach,i,$(SCP9LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP9TARGET)$(SCPPOST))
418 .ENDIF
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//)"
422 ZIPALL=ZIPALLTARGET
424 .ENDIF #
426 .IF "$(APP1TARGET)"!=""
427 APP1TARGETN=$(BIN)/$(APP1TARGET)$(EXECPOST)
428 .IF "$(BASE)" != ""
429 .IF "$(GUI)"=="WNT"
430 .IF "$(APP1BASE)"==""
431 APP1BASE=$(BASE)
432 .ENDIF
433 APP1BASEX=/BASE:$(APP1BASE)
434 .ENDIF
435 .ENDIF
436 .ENDIF
438 .IF "$(APP2TARGET)"!=""
439 APP2TARGETN=$(BIN)/$(APP2TARGET)$(EXECPOST)
440 .IF "$(BASE)" != ""
441 .IF "$(GUI)"=="WNT"
442 .IF "$(APP2BASE)"==""
443 APP2BASE=$(BASE)
444 .ENDIF
445 APP2BASEX=/BASE:$(APP2BASE)
446 .ENDIF
447 .ENDIF
448 .ENDIF
450 .IF "$(APP3TARGET)"!=""
451 APP3TARGETN=$(BIN)/$(APP3TARGET)$(EXECPOST)
452 .IF "$(BASE)" != ""
453 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
454 .IF "$(APP3BASE)"==""
455 APP3BASE=$(BASE)
456 .ENDIF
457 APP3BASEX=/BASE:$(APP3BASE)
458 .ENDIF
459 .ENDIF
460 .ENDIF
462 .IF "$(APP4TARGET)"!=""
463 APP4TARGETN=$(BIN)/$(APP4TARGET)$(EXECPOST)
464 .IF "$(BASE)" != ""
465 .IF "$(GUI)"=="WNT"
466 .IF "$(APP4BASE)"==""
467 APP4BASE=$(BASE)
468 .ENDIF
469 APP4BASEX=/BASE:$(APP4BASE)
470 .ENDIF
471 .ENDIF
472 .ENDIF
474 .IF "$(APP5TARGET)"!=""
475 APP5TARGETN=$(BIN)/$(APP5TARGET)$(EXECPOST)
476 .IF "$(BASE)" != ""
477 .IF "$(GUI)"=="WNT"
478 .IF "$(APP5BASE)"==""
479 APP5BASE=$(BASE)
480 .ENDIF
481 APP5BASEX=/BASE:$(APP5BASE)
482 .ENDIF
483 .ENDIF
484 .ENDIF
486 .IF "$(APP6TARGET)"!=""
487 APP6TARGETN=$(BIN)/$(APP6TARGET)$(EXECPOST)
488 .IF "$(BASE)" != ""
489 .IF "$(GUI)"=="WNT"
490 .IF "$(APP6BASE)"==""
491 APP6BASE=$(BASE)
492 .ENDIF
493 APP6BASEX=/BASE:$(APP6BASE)
494 .ENDIF
495 .ENDIF
496 .ENDIF
498 .IF "$(APP7TARGET)"!=""
499 APP7TARGETN=$(BIN)/$(APP7TARGET)$(EXECPOST)
500 .IF "$(BASE)" != ""
501 .IF "$(GUI)"=="WNT"
502 .IF "$(APP7BASE)"==""
503 APP7BASE=$(BASE)
504 .ENDIF
505 APP7BASEX=/BASE:$(APP7BASE)
506 .ENDIF
507 .ENDIF
508 .ENDIF
510 .IF "$(APP8TARGET)"!=""
511 APP8TARGETN=$(BIN)/$(APP8TARGET)$(EXECPOST)
512 .IF "$(BASE)" != ""
513 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
514 .IF "$(APP8BASE)"==""
515 APP8BASE=$(BASE)
516 .ENDIF
517 APP8BASEX=/BASE:$(APP8BASE)
518 .ENDIF
519 .ENDIF
520 .ENDIF
522 .IF "$(APP9TARGET)"!=""
523 APP9TARGETN=$(BIN)/$(APP9TARGET)$(EXECPOST)
524 .IF "$(BASE)" != ""
525 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
526 .IF "$(APP9BASE)"==""
527 APP9BASE=$(BASE)
528 .ENDIF
529 APP9BASEX=/BASE:$(APP9BASE)
530 .ENDIF
531 .ENDIF
532 .ENDIF
534 .IF "$(SHL1TARGET)"!=""
535 .IF "$(WINVERSIONNAMES)"!=""
536 SHL1TARGET!:=$(SHL1TARGET)$($(WINVERSIONNAMES)_MAJOR)
537 .ENDIF # "$(WINVERSIONNAMES)"!=""
538 SHL1DLLPRE*=$(DLLPRE)
539 SHL1TARGETN=$(DLLDEST)/$(SHL1DLLPRE)$(SHL1TARGET)$(DLLPOST)
540 .IF "$(BASE)" != ""
541 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
542 .IF "$(SHL1BASE)"==""
543 SHL1BASE=$(BASE)
544 .ENDIF
545 SHL1BASEX=/BASE:$(SHL1BASE)
546 .ENDIF
547 .ENDIF
548 .ENDIF
550 .IF "$(SHL2TARGET)"!=""
551 .IF "$(WINVERSIONNAMES)"!=""
552 SHL2TARGET!:=$(SHL2TARGET)$($(WINVERSIONNAMES)_MAJOR)
553 .ENDIF # "$(WINVERSIONNAMES)"!=""
554 SHL2DLLPRE*=$(DLLPRE)
555 SHL2TARGETN=$(DLLDEST)/$(SHL2DLLPRE)$(SHL2TARGET)$(DLLPOST)
556 .IF "$(BASE)" != ""
557 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
558 .IF "$(SHL2BASE)"==""
559 SHL2BASE=$(BASE)
560 .ENDIF
561 SHL2BASEX=/BASE:$(SHL2BASE)
562 .ENDIF
563 .ENDIF
564 .ENDIF
566 .IF "$(SHL3TARGET)"!=""
567 .IF "$(WINVERSIONNAMES)"!=""
568 SHL3TARGET!:=$(SHL3TARGET)$($(WINVERSIONNAMES)_MAJOR)
569 .ENDIF # "$(WINVERSIONNAMES)"!=""
570 SHL3DLLPRE*=$(DLLPRE)
571 SHL3TARGETN=$(DLLDEST)/$(SHL3DLLPRE)$(SHL3TARGET)$(DLLPOST)
572 .IF "$(BASE)" != ""
573 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
574 .IF "$(SHL3BASE)"==""
575 SHL3BASE=$(BASE)
576 .ENDIF
577 SHL3BASEX=/BASE:$(SHL3BASE)
578 .ENDIF
579 .ENDIF
580 .ENDIF
582 .IF "$(SHL4TARGET)"!=""
583 .IF "$(WINVERSIONNAMES)"!=""
584 SHL4TARGET!:=$(SHL4TARGET)$($(WINVERSIONNAMES)_MAJOR)
585 .ENDIF # "$(WINVERSIONNAMES)"!=""
586 SHL4DLLPRE*=$(DLLPRE)
587 SHL4TARGETN=$(DLLDEST)/$(SHL4DLLPRE)$(SHL4TARGET)$(DLLPOST)
588 .IF "$(BASE)" != ""
589 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
590 .IF "$(SHL4BASE)"==""
591 SHL4BASE=$(BASE)
592 .ENDIF
593 SHL4BASEX=/BASE:$(SHL4BASE)
594 .ENDIF
595 .ENDIF
596 .ENDIF
598 .IF "$(SHL5TARGET)"!=""
599 .IF "$(WINVERSIONNAMES)"!=""
600 SHL5TARGET!:=$(SHL5TARGET)$($(WINVERSIONNAMES)_MAJOR)
601 .ENDIF # "$(WINVERSIONNAMES)"!=""
602 SHL5DLLPRE*=$(DLLPRE)
603 SHL5TARGETN=$(DLLDEST)/$(SHL5DLLPRE)$(SHL5TARGET)$(DLLPOST)
604 .IF "$(BASE)" != ""
605 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
606 .IF "$(SHL5BASE)"==""
607 SHL5BASE=$(BASE)
608 .ENDIF
609 SHL5BASEX=/BASE:$(SHL5BASE)
610 .ENDIF
611 .ENDIF
612 .ENDIF
614 .IF "$(SHL6TARGET)"!=""
615 .IF "$(WINVERSIONNAMES)"!=""
616 SHL6TARGET!:=$(SHL6TARGET)$($(WINVERSIONNAMES)_MAJOR)
617 .ENDIF # "$(WINVERSIONNAMES)"!=""
618 SHL6DLLPRE*=$(DLLPRE)
619 SHL6TARGETN=$(DLLDEST)/$(SHL6DLLPRE)$(SHL6TARGET)$(DLLPOST)
620 .IF "$(BASE)" != ""
621 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
622 .IF "$(SHL6BASE)"==""
623 SHL6BASE=$(BASE)
624 .ENDIF
625 SHL6BASEX=/BASE:$(SHL6BASE)
626 .ENDIF
627 .ENDIF
628 .ENDIF
630 .IF "$(SHL7TARGET)"!=""
631 .IF "$(WINVERSIONNAMES)"!=""
632 SHL7TARGET!:=$(SHL7TARGET)$($(WINVERSIONNAMES)_MAJOR)
633 .ENDIF # "$(WINVERSIONNAMES)"!=""
634 SHL7DLLPRE*=$(DLLPRE)
635 SHL7TARGETN=$(DLLDEST)/$(SHL7DLLPRE)$(SHL7TARGET)$(DLLPOST)
636 .IF "$(BASE)" != ""
637 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
638 .IF "$(SHL7BASE)"==""
639 SHL7BASE=$(BASE)
640 .ENDIF
641 SHL7BASEX=/BASE:$(SHL7BASE)
642 .ENDIF
643 .ENDIF
644 .ENDIF
646 .IF "$(SHL8TARGET)"!=""
647 .IF "$(WINVERSIONNAMES)"!=""
648 SHL8TARGET!:=$(SHL8TARGET)$($(WINVERSIONNAMES)_MAJOR)
649 .ENDIF # "$(WINVERSIONNAMES)"!=""
650 SHL8DLLPRE*=$(DLLPRE)
651 SHL8TARGETN=$(DLLDEST)/$(SHL8DLLPRE)$(SHL8TARGET)$(DLLPOST)
652 .IF "$(BASE)" != ""
653 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
654 .IF "$(SHL8BASE)"==""
655 SHL8BASE=$(BASE)
656 .ENDIF
657 SHL8BASEX=/BASE:$(SHL8BASE)
658 .ENDIF
659 .ENDIF
660 .ENDIF
662 .IF "$(SHL9TARGET)"!=""
663 .IF "$(WINVERSIONNAMES)"!=""
664 SHL9TARGET!:=$(SHL9TARGET)$($(WINVERSIONNAMES)_MAJOR)
665 .ENDIF # "$(WINVERSIONNAMES)"!=""
666 SHL9DLLPRE*=$(DLLPRE)
667 SHL9TARGETN=$(DLLDEST)/$(SHL9DLLPRE)$(SHL9TARGET)$(DLLPOST)
668 .IF "$(BASE)" != ""
669 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
670 .IF "$(SHL9BASE)"==""
671 SHL9BASE=$(BASE)
672 .ENDIF
673 SHL9BASEX=/BASE:$(SHL9BASE)
674 .ENDIF
675 .ENDIF
676 .ENDIF
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
689 .ENDIF
691 .IF "$(COMP2TYPELIST)"!=""
692 UNOTYPES+=$($(COMP2TYPELIST)_XML2CMPTYPES)
693 COMP2RDBTARGETN:=$(BIN)/$(COMP2TYPELIST).rdb
694 #COMP2TYPELISTN:=$(MISC)/$(COMP2TYPELIST).xml
695 .ENDIF
697 .IF "$(COMP3TYPELIST)"!=""
698 UNOTYPES+=$($(COMP3TYPELIST)_XML2CMPTYPES)
699 COMP3RDBTARGETN:=$(BIN)/$(COMP3TYPELIST).rdb
700 #COMP3TYPELISTN:=$(MISC)/$(COMP3TYPELIST).xml
701 .ENDIF
703 .IF "$(COMP4TYPELIST)"!=""
704 UNOTYPES+=$($(COMP4TYPELIST)_XML2CMPTYPES)
705 COMP4RDBTARGETN:=$(BIN)/$(COMP4TYPELIST).rdb
706 #COMP4TYPELISTN:=$(MISC)/$(COMP4TYPELIST).xml
707 .ENDIF
709 .IF "$(COMP5TYPELIST)"!=""
710 UNOTYPES+=$($(COMP5TYPELIST)_XML2CMPTYPES)
711 COMP5RDBTARGETN:=$(BIN)/$(COMP5TYPELIST).rdb
712 #COMP5TYPELISTN:=$(MISC)/$(COMP5TYPELIST).xml
713 .ENDIF
715 .IF "$(COMP6TYPELIST)"!=""
716 UNOTYPES+=$($(COMP6TYPELIST)_XML2CMPTYPES)
717 COMP6RDBTARGETN:=$(BIN)/$(COMP6TYPELIST).rdb
718 #COMP6TYPELISTN:=$(MISC)/$(COMP6TYPELIST).xml
719 .ENDIF
721 .IF "$(COMP7TYPELIST)"!=""
722 UNOTYPES+=$($(COMP7TYPELIST)_XML2CMPTYPES)
723 COMP7RDBTARGETN:=$(BIN)/$(COMP7TYPELIST).rdb
724 #COMP7TYPELISTN:=$(MISC)/$(COMP7TYPELIST).xml
725 .ENDIF
727 .IF "$(COMP8TYPELIST)"!=""
728 UNOTYPES+=$($(COMP8TYPELIST)_XML2CMPTYPES)
729 COMP8RDBTARGETN:=$(BIN)/$(COMP8TYPELIST).rdb
730 #COMP8TYPELISTN:=$(MISC)/$(COMP8TYPELIST).xml
731 .ENDIF
733 .IF "$(COMP9TYPELIST)"!=""
734 UNOTYPES+=$($(COMP9TYPELIST)_XML2CMPTYPES)
735 COMP9RDBTARGETN:=$(BIN)/$(COMP9TYPELIST).rdb
736 #COMP9TYPELISTN:=$(MISC)/$(COMP9TYPELIST).xml
737 .ENDIF
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
749 .ENDIF
751 .IF "$(HXXCOPYFILES)" != ""
752 HXXCOPYTARGET= copy_hxxcopyfiles
753 .ENDIF
755 .IF "$(LIB1TARGET)" != ""
756 LIB1TARGETN=$(LIB1TARGET)
757 .ENDIF
759 .IF "$(LIB2TARGET)" != ""
760 LIB2TARGETN=$(LIB2TARGET)
761 .ENDIF
763 .IF "$(LIB3TARGET)" != ""
764 LIB3TARGETN=$(LIB3TARGET)
765 .ENDIF
767 .IF "$(LIB4TARGET)" != ""
768 LIB4TARGETN=$(LIB4TARGET)
769 .ENDIF
771 .IF "$(LIB5TARGET)" != ""
772 LIB5TARGETN=$(LIB5TARGET)
773 .ENDIF
775 .IF "$(LIB6TARGET)" != ""
776 LIB6TARGETN=$(LIB6TARGET)
777 .ENDIF
779 .IF "$(LIB7TARGET)" != ""
780 LIB7TARGETN=$(LIB7TARGET)
781 .ENDIF
783 .IF "$(LIB8TARGET)" != ""
784 LIB8TARGETN=$(LIB8TARGET)
785 .ENDIF
787 .IF "$(LIB9TARGET)" != ""
788 LIB9TARGETN=$(LIB9TARGET)
789 .ENDIF
791 .IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
792 .IF "$(COM)"!="GCC"
793 LIB1ARCHIV=
794 LIB2ARCHIV=
795 LIB3ARCHIV=
796 LIB4ARCHIV=
797 LIB5ARCHIV=
798 LIB6ARCHIV=
799 LIB7ARCHIV=
800 LIB8ARCHIV=
801 LIB9ARCHIV=
802 .ENDIF
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)))
817 .ENDIF
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)))
830 .ENDIF
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)))
843 .ENDIF
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)))
856 .ENDIF
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)))
869 .ENDIF
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)))
882 .ENDIF
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)))
895 .ENDIF
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)))
908 .ENDIF
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)))
921 .ENDIF
923 .IF "$(INDPRESLIB1NAME)"!=""
924 INDPRESLIB1TARGETN=$(BIN)/$(INDPRESLIB1NAME).dll
925 .ENDIF
927 .IF "$(DEF1NAME)"!=""
928 DEF1TARGETN=$(MISC)/$(DEF1NAME).def
929 .ENDIF
931 .IF "$(DEF2NAME)"!=""
932 DEF2TARGETN=$(MISC)/$(DEF2NAME).def
933 .ENDIF
935 .IF "$(DEF3NAME)"!=""
936 DEF3TARGETN=$(MISC)/$(DEF3NAME).def
937 .ENDIF
939 .IF "$(DEF4NAME)"!=""
940 DEF4TARGETN=$(MISC)/$(DEF4NAME).def
941 .ENDIF
943 .IF "$(DEF5NAME)"!=""
944 DEF5TARGETN=$(MISC)/$(DEF5NAME).def
945 .ENDIF
947 .IF "$(DEF6NAME)"!=""
948 DEF6TARGETN=$(MISC)/$(DEF6NAME).def
949 .ENDIF
951 .IF "$(DEF7NAME)"!=""
952 DEF7TARGETN=$(MISC)/$(DEF7NAME).def
953 .ENDIF
955 .IF "$(DEF8NAME)"!=""
956 DEF8TARGETN=$(MISC)/$(DEF8NAME).def
957 .ENDIF
959 .IF "$(DEF9NAME)"!=""
960 DEF9TARGETN=$(MISC)/$(DEF9NAME).def
961 .ENDIF
963 # IZ65415 - catch obsolete macro. Can be removed later.
964 .IF "$(SDINAME)"!=""
965 .ERROR : ; @echo Forced error: SDINAME was used! Change your project to use SDIxNAME instead!
966 NO_SDINAME_allowed
967 .ENDIF
969 .IF "$(SDI1NAME)"!=""
970 .DIRCACHE=no
971 SDI1TARGET=$(MISC)/$(SDI1NAME).don
972 HIDSID1PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(SDI1NAME)_sid.hid
973 .ENDIF
975 .IF "$(SDI2NAME)"!=""
976 .DIRCACHE=no
977 SDI2TARGET=$(MISC)/$(SDI2NAME).don
978 HIDSID2PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(SDI2NAME)_sid.hid
979 .ENDIF
981 .IF "$(SDI3NAME)"!=""
982 .DIRCACHE=no
983 SDI3TARGET=$(MISC)/$(SDI3NAME).don
984 HIDSID3PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(SDI3NAME)_sid.hid
985 .ENDIF
987 .IF "$(SDI4NAME)"!=""
988 .DIRCACHE=no
989 SDI4TARGET=$(MISC)/$(SDI4NAME).don
990 HIDSID4PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(SDI4NAME)_sid.hid
991 .ENDIF
993 .IF "$(SDI5NAME)"!=""
994 .DIRCACHE=no
995 SDI5TARGET=$(MISC)/$(SDI5NAME).don
996 HIDSID5PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(SDI5NAME)_sid.hid
997 .ENDIF
999 .IF "$(XMLPROPERTIES)"!=""
1000 XMLPROPERTIESN:=$(foreach,i,$(XMLPROPERTIES) $(MISC)/$(TARGET)_$(i:s/.xrb/.done/))
1001 .ENDIF # "$(XMLPROPERTIES)"!=""
1003 .IF "$(UNIXTEXT)"!=""
1004 .IF "$(GUI)"=="UNX"
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)"==""
1018 .ENDIF
1020 .IF "$(no_hids)$(NO_HIDS)"==""
1021 BUILDHIDS:=TRUE
1022 .IF "$(GEN_HID_OTHER)"!=""
1023 PRJHIDOTHERTARGET=$(SRS)/hidother.hid
1024 COMMONPRJHIDOTHERTARGET=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC)/$(TARGET)_othr.hid)
1025 .ENDIF
1026 .IF "$(GEN_HID2)"!=""
1027 PRJHID2TARGET=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/hid.lst
1028 .ENDIF
1029 .ENDIF # "$(no_hids)$(NO_HIDS)"==""
1031 .IF "$(make_srs_deps)"==""
1032 .IF "$(SRCFILES)" != "" || "$(SRC1FILES)" != "" || "$(SRC2FILES)" != ""
1033 DPRTARGET= $(MISC)/$(TARGET).dpr
1034 .ENDIF
1035 .ENDIF
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)"!=""
1044 ALL_JAVA_TARGETS= \
1045 $(GENJAVAFILES) \
1046 $(JAVACLASSFILES) $(JAVA1CLASSFILES) \
1047 $(JAVA2CLASSFILES) $(JAVA3CLASSFILES) $(JAVA4CLASSFILES)\
1048 $(JAVA5CLASSFILES) $(JAVA6CLASSFILES) $(JAVA7CLASSFILES)\
1049 $(JAVA8CLASSFILES) $(JAVA9CLASSFILES) $(JAVA10CLASSFILES)\
1050 $(JAVA11CLASSFILES) \
1051 $(JAVATARGET) \
1052 $(TARGETDPJ)
1053 .ENDIF # "$(SOLAR_JAVA)"!=""
1054 # -------
1055 # - DEF -
1056 # -------
1058 # bei MAKE...DIR die gleiche Reihenfolge wie in settings.mak einhalten!
1060 .IF "$(lintit)"==""
1061 .IF "$(L10N_framework)"!=""
1062 ALLTAR: \
1063 "$(SOLARVERSION)/$(INPATH)/inc$(UPDMINOREXT)/$(UPD)minor.mk" \
1064 $(SUBDIRS) \
1065 $(DPRTARGET) \
1066 $(DPZTARGET) \
1067 $(ZIPALL) \
1068 $(HIDSID1PARTICLE) $(HIDSID2PARTICLE) \
1069 $(HIDSID3PARTICLE) $(HIDSID4PARTICLE) $(HIDSID5PARTICLE) \
1070 $(SDITARGET) $(SDI1TARGET) $(SDI2TARGET) \
1071 $(SDI3TARGET) $(SDI4TARGET) $(SDI5TARGET) \
1072 $(XMLPROPERTIESN) \
1073 $(RCTARGET) \
1074 $(SCP_PRODUCT_TYPE) \
1075 $(ALLPARFILES) \
1076 $(SCP1TARGETN) \
1077 $(SCP2TARGETN) \
1078 $(SCP3TARGETN) \
1079 $(SCP4TARGETN) \
1080 $(SCP5TARGETN) \
1081 $(SCP6TARGETN) \
1082 $(SCP7TARGETN) \
1083 $(SCP8TARGETN) \
1084 $(SCP9TARGETN) \
1085 $(SRC1TARGET) \
1086 $(SRC2TARGET) \
1087 $(SRC3TARGET) \
1088 $(SRC4TARGET) $(SRC5TARGET) $(SRC6TARGET) \
1089 $(SRC7TARGET) $(SRC8TARGET) $(SRC9TARGET) \
1090 $(SRC10TARGET) $(SRC11TARGET) $(SRC12TARGET) \
1091 $(SRC13TARGET) $(SRC14TARGET) $(SRC15TARGET) \
1092 $(SRC16TARGET) \
1093 $(RSC_MULTI1) \
1094 $(RSC_MULTI2) \
1095 $(RSC_MULTI3) \
1096 $(RSC_MULTI4) \
1097 $(RSC_MULTI5) \
1098 $(RSC_MULTI6) \
1099 $(RSC_MULTI7) \
1100 $(RSC_MULTI8) \
1101 $(RSC_MULTI9) \
1102 $(INDPRESLIB1TARGETN) \
1103 $(RESLIB1TARGETN) $(RESLIB2TARGETN) \
1104 $(RESLIB3TARGETN) $(RESLIB4TARGETN) \
1105 $(RESLIB5TARGETN) $(RESLIB6TARGETN) \
1106 $(RESLIB7TARGETN) $(RESLIB8TARGETN) \
1107 $(COMMONPRJHIDOTHERTARGET) \
1108 $(PRJHID2TARGET) \
1109 $(LOCALIZE_ME_DEST)\
1110 last_target
1112 .ELSE # "$(L10N_framework)"!=""
1114 ALLTAR: \
1115 "$(SOLARVERSION)/$(INPATH)/inc$(UPDMINOREXT)/$(UPD)minor.mk" \
1116 $(MAKEDEMODIR) $(MAKECOMPDIR) $(MAKEXLDIR) \
1117 $(COMPVERMK) \
1118 $(JAVAVERMK) \
1119 $(target_empty) \
1120 $(SUBDIRS) \
1121 $(ALLMOZ) \
1122 $(DELDEFS) \
1123 $(YACCTARGET) \
1124 $(UNOUCRTARGET) \
1125 $(UNOIDLDEPTARGETS) \
1126 $(DEPFILES) \
1127 $(DPRTARGET) \
1128 $(DPZTARGET) \
1129 $(ZIPALL) \
1130 $(SDITARGET) \
1131 $(LOCALDBTARGET) \
1132 $(LOCALDOCDBTARGET) \
1133 $(UNOIDLDBTARGET) \
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) \
1150 $(HXXCOPYTARGET) \
1151 $(NOLIBOBJTARGET) \
1152 $(NOLIBSLOTARGET) \
1153 $(OTHERTARRGET) \
1154 $(XMLPROPERTIESN) \
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) \
1167 $(RCTARGET) \
1168 $(SHL1TARGETN) \
1169 $(SHL2TARGETN) \
1170 $(SHL3TARGETN) \
1171 $(SHL4TARGETN) \
1172 $(SHL5TARGETN) \
1173 $(SHL6TARGETN) \
1174 $(SHL7TARGETN) \
1175 $(SHL8TARGETN) \
1176 $(SHL9TARGETN) \
1177 $(SCP_PRODUCT_TYPE) \
1178 $(ALLPARFILES) \
1179 $(SCP1TARGETN) \
1180 $(SCP2TARGETN) \
1181 $(SCP3TARGETN) \
1182 $(SCP4TARGETN) \
1183 $(SCP5TARGETN) \
1184 $(SCP6TARGETN) \
1185 $(SCP7TARGETN) \
1186 $(SCP8TARGETN) \
1187 $(SCP9TARGETN) \
1188 $(APP1TARGETN) $(APP2TARGETN) $(APP3TARGETN) \
1189 $(APP4TARGETN) $(APP5TARGETN) $(APP6TARGETN) \
1190 $(APP7TARGETN) $(APP8TARGETN) $(APP9TARGETN) \
1191 $(JARTARGETN) \
1192 $(JARTARGETDEPN) \
1193 $(SRC1TARGET) \
1194 $(SRC2TARGET) \
1195 $(SRC3TARGET) \
1196 $(SRC4TARGET) $(SRC5TARGET) $(SRC6TARGET) \
1197 $(SRC7TARGET) $(SRC8TARGET) $(SRC9TARGET) \
1198 $(SRC10TARGET) $(SRC11TARGET) $(SRC12TARGET) \
1199 $(SRC13TARGET) $(SRC14TARGET) $(SRC15TARGET) \
1200 $(SRC16TARGET) \
1201 $(RSC_MULTI1) \
1202 $(RSC_MULTI2) \
1203 $(RSC_MULTI3) \
1204 $(RSC_MULTI4) \
1205 $(RSC_MULTI5) \
1206 $(RSC_MULTI6) \
1207 $(RSC_MULTI7) \
1208 $(RSC_MULTI8) \
1209 $(RSC_MULTI9) \
1210 $(INDPRESLIB1TARGETN) \
1211 $(RESLIB1TARGETN) $(RESLIB2TARGETN) \
1212 $(RESLIB3TARGETN) $(RESLIB4TARGETN) \
1213 $(RESLIB5TARGETN) $(RESLIB6TARGETN) \
1214 $(RESLIB7TARGETN) $(RESLIB8TARGETN) \
1215 $(RESLIB9TARGETN) \
1216 $(COMMONPRJHIDOTHERTARGET) \
1217 $(PRJHID2TARGET) \
1218 $(SIGNFORNETSCAPE) \
1219 $(SIGNFOREXPLORER) \
1220 $(SIGNFORJARSIGNER) \
1221 $(CONVERTUNIXTEXT) \
1222 $(LOCALIZE_ME_DEST)\
1223 $(EXTUPDATEINFO_DEST) \
1224 last_target
1226 .IF "$(BUILD_X64)"!=""
1227 ALLTAR : \
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)
1240 .ENDIF
1242 .IF "$(NOOPT_FLAG)"==""
1243 TARGETDEPS+=$(NOOPTTARGET)
1244 .ENDIF
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)
1251 .ENDIF
1252 .ENDIF
1254 # -Gc breaks the dependency chain and causes indefinite nummbers of $(CPPUMAKER)
1255 .IF "$(BOOTSTRAP_SERVICE)"!="TRUE"
1256 CPPUMAKERFLAGS*=-L
1257 .ENDIF # "$(BOOTSTRAP_SERVICE)"!="TRUE"
1259 .IF "$(UNOTYPES)" != ""
1260 # makeing all in one
1261 .DIRCACHE=no
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
1293 $(UNOUCRHEADER):
1294 @noop
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)
1349 .ENDIF
1351 .IF "$(SDI1NAME)"!=""
1352 $(OBJ)/$(CINTER1NAME).obj : $(SDI1TARGET)
1353 .ENDIF
1355 .IF "$(SDI2NAME)"!=""
1356 $(OBJ)/$(CINTER2NAME).obj : $(SDI2TARGET)
1357 .ENDIF
1359 .IF "$(SDI3NAME)"!=""
1360 $(OBJ)/$(CINTER3NAME).obj : $(SDI3TARGET)
1361 .ENDIF
1363 .IF "$(SDI4NAME)"!=""
1364 $(OBJ)/$(CINTER4NAME).obj : $(SDI4TARGET)
1365 .ENDIF
1367 .IF "$(SDI5NAME)"!=""
1368 $(OBJ)/$(CINTER5NAME).obj : $(SDI5TARGET)
1369 .ENDIF
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)
1381 .ENDIF
1383 .IF "$(UNIXTEXT)"!=""
1384 $(UNIXTEXT) : $(UNIXTEXT:f)
1385 @echo "Making: " $@
1386 @@-$(RM) -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)"!=""
1405 "$(LOCALIZESDF)%" :
1406 echo $(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)"!=""
1416 makedoc:
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"))
1420 .ELSE
1421 $(COMMAND_ECHO)$(IDLC) @$(mktmp $(IDLCFLAGS) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -C -O$(OUT)/ucrdoc/$(IDLPACKAGE) $(DEPIDLFILES:+"\n"))
1422 .ENDIF
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))
1429 .ELSE
1430 $(COMMAND_ECHO)$(IDLC) @$(mktmp $(IDLCFLAGS) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -O$(OUT)/ucr/$(IDLPACKAGE) $(all_outdated_idl))
1431 .ENDIF
1432 $(COMMAND_ECHO)-$(RM) $@
1433 $(COMMAND_ECHO)$(REGMERGE) $@ UCR @$(mktmp $(URDFILES))
1434 .ENDIF
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))
1440 .ELSE
1441 $(COMMAND_ECHO)$(IDLC) @$(mktmp $(IDLCFLAGS) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -C -O$(OUT)/ucrdoc/$(IDLPACKAGE) $(all_outdated_idl))
1442 .ENDIF
1443 $(COMMAND_ECHO)-$(RM) $@
1444 $(COMMAND_ECHO)$(REGMERGE) $@ UCR @$(mktmp $(URDDOCFILES))
1445 .ENDIF
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) / $@
1453 .ENDIF
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) / $@
1462 .ENDIF
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" :
1473 $(TOUCH) $@
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)
1485 .IF "$(COM)"=="GCC"
1486 @echo SHORTSTDCPP3:=$(SHORTSTDCPP3) >> $(COMPVTMP)
1487 .ENDIF
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)"!=""
1498 @@-$(RM) $@
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)"
1510 @-$(RM) $@
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)"==""
1533 # LASTRUN_MERGED
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)
1552 .ENDIF
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
1569 .ENDIF
1571 .IF "$(COMMONPRJHIDOTHERTARGET)"!=""
1572 $(COMMONPRJHIDOTHERTARGET) : $(PRJHIDOTHERTARGET)
1573 .IF "$(VERBOSE)" == "TRUE"
1574 @echo ------------------------------
1575 .ENDIF
1576 @echo "Making: " $@
1577 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
1578 $(COMMAND_ECHO)$(TYPE) $(PRJHIDOTHERTARGET) > $@.$(ROUT).tmp
1579 @$(RENAME) $@.$(ROUT).tmp $@
1580 .ENDIF
1582 # -------
1583 # - LIB -
1584 # -------
1586 .IF "$(OBJTARGET)$($(SECOND_BUILD)OBJTARGET)"!=""
1587 .INCLUDE : tg_obj.mk
1588 .ENDIF # "$(OBJTARGET)$($(SECOND_BUILD)OBJTARGET)"!=""
1590 # -------
1591 # - SLB -
1592 # -------
1594 .IF "$(SLOTARGET)$($(SECOND_BUILD)SLOTARGET)"!=""
1595 .INCLUDE : tg_slo.mk
1596 .ENDIF # "$(SLOTARGET)$($(SECOND_BUILD)SLOTARGET)"!=""
1598 # --------
1599 # - LIBS -
1600 # --------
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)" != ""
1606 # -------
1607 # - SRS -
1608 # -------
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)"!=""
1614 # -------
1615 # - RES -
1616 # -------
1618 .IF "$(RCTARGET)"!=""
1619 .INCLUDE : tg_res.mk
1620 .ENDIF # "$(RCTARGET)"!=""
1622 # -------
1623 # - SHL -
1624 # -------
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)"!=""
1634 # -------
1635 # - APP -
1636 # -------
1638 .IF "$(APP1TARGETN)$(APP2TARGETN)$(APP3TARGETN)$(APP4TARGETN)$(APP5TARGETN)$(APP6TARGETN)$(APP7TARGETN)$(APP8TARGETN)$(APP9TARGETN)"!=""
1639 .INCLUDE : _tg_app.mk
1640 .ENDIF
1642 # -------
1643 # - SCP -
1644 # -------
1646 .IF "$(SCP1TARGETN)$(SCP2TARGETN)$(SCP3TARGETN)$(SCP4TARGETN)$(SCP5TARGETN)$(SCP6TARGETN)$(SCP7TARGETN)$(SCP8TARGETN)$(SCP9TARGETN)"!=""
1647 .INCLUDE : _tg_scp.mk
1648 .ENDIF
1650 # -------
1651 # - ZIP -
1652 # -------
1654 .IF "$(ZIP1TARGET)$(ZIP2TARGET)$(ZIP3TARGET)$(ZIP4TARGET)$(ZIP5TARGET)$(ZIP6TARGET)$(ZIP7TARGET)$(ZIP8TARGET)$(ZIP9TARGET)"!=""
1655 .INCLUDE : _tg_zip.mk
1656 .ENDIF
1658 # -------
1659 # - RESLIBTARGET -
1660 # -------
1662 .IF "$(RESLIB1TARGETN)$(RESLIB2TARGETN)$(RESLIB3TARGETN)$(RESLIB4TARGETN)$(RESLIB5TARGETN)$(RESLIB6TARGETN)$(RESLIB7TARGETN)$(RESLIB8TARGETN)$(RESLIB9TARGETN)"!=""
1663 .INCLUDE : _tg_rslb.mk
1664 .ENDIF
1666 # -------
1667 # - processing config -
1668 # -------
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)" != ""
1685 .IF "$(nodep)"==""
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)" != ""
1698 .ELSE # MAKEFILERC
1699 .ENDIF # MAKEFILERC
1701 .IF "$(make_srs_deps)"==""
1702 .IF "$(SRCFILES)" != "" || "$(SRC1FILES)" != "" || "$(SRC2FILES)" != ""
1703 .IF "$(nodep)"==""
1704 .INCLUDE : $(MISC)/$(TARGET).dpr
1705 .ENDIF # "$(nodep)"==""
1706 .ENDIF
1707 .ENDIF
1709 .IF "$(make_zip_deps)"==""
1710 .IF "$(ZIP1TARGET)" != "" || "$(ZIP2TARGET)" != "" || "$(ZIP3TARGET)" != ""
1711 .IF "$(nodep)"==""
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)"!=""
1717 ZIPDEPPHONY=.PHONY
1718 .ENDIF # "$(missing_zipdep_langs)"!=""
1719 .ENDIF # "$(nodep)"==""
1720 .ENDIF
1721 .ENDIF
1723 last_target:
1724 .IF "$(VERBOSE)" == "TRUE"
1725 @echo -------------
1726 .ENDIF
1727 $(NULL)
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)"==""
1736 .ENDIF
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)" == ""
1749 $(NOOPTTARGET):
1750 .IF "$(VERBOSE)" == "TRUE"
1751 @echo --- NOOPTFILES ---
1752 .ENDIF
1753 @dmake $(MFLAGS) $(MAKEFILE) nopt=true $(NOOPTFILES) NOOPT_FLAG=TRUE $(CALLMACROS)
1754 .IF "$(VERBOSE)" == "TRUE"
1755 @echo --- NOOPTFILES OVER ---
1756 .ENDIF
1758 $(NOOPTFILES):
1759 .IF "$(VERBOSE)" == "TRUE"
1760 @echo --- NOOPT ---
1761 .ENDIF
1762 @dmake $(MFLAGS) $(MAKEFILE) nopt=true NOOPT_FLAG=TRUE $(CALLMACROS) $@
1763 .IF "$(VERBOSE)" == "TRUE"
1764 @echo --- NOOPT OVER ---
1765 .ENDIF
1766 .ENDIF
1767 .ENDIF
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 ---
1780 .ENDIF
1781 @dmake $(MFLAGS) $(MAKEFILE) ENABLE_EXCEPTIONS=true $(EXCEPTIONSNOOPTFILES) EXCEPTIONSNOOPT_FLAG=TRUE nopt=true $(CALLMACROS)
1782 .IF "$(VERBOSE)" == "TRUE"
1783 @echo --- EXCEPTIONSNOOPTFILES OVER ---
1784 .ENDIF
1786 $(EXCEPTIONSNOOPTFILES):
1787 .IF "$(VERBOSE)" == "TRUE"
1788 @echo --- EXCEPTIONSNOOPT ---
1789 .ENDIF
1790 @dmake $(MFLAGS) $(MAKEFILE) ENABLE_EXCEPTIONS=true EXCEPTIONSNOOPT_FLAG=TRUE nopt=true $(CALLMACROS) $@
1791 .IF "$(VERBOSE)" == "TRUE"
1792 @echo --- EXCEPTIONSNOOPT OVER ---
1793 .ENDIF
1796 .ENDIF
1797 .ENDIF
1799 .IF "$(nodep)"==""
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)))
1807 ALLTAR : forcedeps
1809 .ENDIF # "$(nodep)"==""
1811 # -------------------------
1812 # - several kill targets -
1813 # -------------------------
1815 "$(TMP)/makedt.don":
1816 @$(TOUCH) $(TMP)/makedt.don
1818 killbin:
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)
1842 .ENDIF
1843 .IF "$(SHL2TARGET)"!=""
1844 @-$(RM) $(LB)/$(SHL2DLLPRE)$(SHL2TARGET)$(DLLPOST)
1845 .ENDIF
1846 .IF "$(SHL3TARGET)"!=""
1847 @-$(RM) $(LB)/$(SHL3DLLPRE)$(SHL3TARGET)$(DLLPOST)
1848 .ENDIF
1849 .IF "$(SHL4TARGET)"!=""
1850 @-$(RM) $(LB)/$(SHL4DLLPRE)$(SHL4TARGET)$(DLLPOST)
1851 .ENDIF
1852 .IF "$(SHL5TARGET)"!=""
1853 @-$(RM) $(LB)/$(SHL5DLLPRE)$(SHL5TARGET)$(DLLPOST)
1854 .ENDIF
1855 .IF "$(SHL6TARGET)"!=""
1856 @-$(RM) $(LB)/$(SHL6DLLPRE)$(SHL6TARGET)$(DLLPOST)
1857 .ENDIF
1858 .IF "$(SHL7TARGET)"!=""
1859 @-$(RM) $(LB)/$(SHL7DLLPRE)$(SHL7TARGET)$(DLLPOST)
1860 .ENDIF
1861 .IF "$(SHL8TARGET)"!=""
1862 @-$(RM) $(LB)/$(SHL8DLLPRE)$(SHL8TARGET)$(DLLPOST)
1863 .ENDIF
1864 .IF "$(SHL9TARGET)"!=""
1865 @-$(RM) $(LB)/$(SHL9DLLPRE)$(SHL9TARGET)$(DLLPOST)
1866 .ENDIF
1867 .IF "$(APP1TARGET)"!=""
1868 @-$(RM) $(BIN)/$(APP1TARGET)$(EXECPOST)
1869 .ENDIF
1870 .IF "$(APP2TARGET)"!=""
1871 @-$(RM) $(BIN)/$(APP2TARGET)$(EXECPOST)
1872 .ENDIF
1873 .IF "$(APP3TARGET)"!=""
1874 @-$(RM) $(BIN)/$(APP3TARGET)$(EXECPOST)
1875 .ENDIF
1876 .IF "$(APP4TARGET)"!=""
1877 @-$(RM) $(BIN)/$(APP4TARGET)$(EXECPOST)
1878 .ENDIF
1879 .IF "$(APP5TARGET)"!=""
1880 @-$(RM) $(BIN)/$(APP5TARGET)$(EXECPOST)
1881 .ENDIF
1882 .IF "$(APP6TARGET)"!=""
1883 @-$(RM) $(BIN)/$(APP6TARGET)$(EXECPOST)
1884 .ENDIF
1885 .IF "$(APP7TARGET)"!=""
1886 @-$(RM) $(BIN)/$(APP7TARGET)$(EXECPOST)
1887 .ENDIF
1888 .IF "$(APP8TARGET)"!=""
1889 @-$(RM) $(BIN)/$(APP8TARGET)$(EXECPOST)
1890 .ENDIF
1891 .IF "$(APP9TARGET)"!=""
1892 @-$(RM) $(BIN)/$(APP9TARGET)$(EXECPOST)
1893 .ENDIF
1894 .ENDIF # "$(GUI)"=="WNT"
1896 killobj:
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
1900 .ENDIF
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
1904 .ENDIF
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
1909 .ENDIF
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
1913 .ENDIF
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
1919 .ENDIF
1920 @echo objects weg!
1922 killsrs:
1923 # doesn't work - fix me!
1924 .IF "$(SRSFILES)" != ""
1925 $(RM) $(SRSFILES)
1926 .ENDIF
1927 @echo srsfiles weg!
1929 killres:
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)"!=""
1937 killdef:
1938 .IF "$(DEFTARGETN)" != ""
1939 @(COMMAND_ECHO)$(RM) $(DEFTARGETN)
1940 .ENDIF
1941 @echo deffiles weg!
1943 killlib:
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)"!=""
1955 @echo done!
1957 clean_misc :
1958 .IF "$(MISC)"!=""
1959 rm -rf $(MISC)/*
1960 @echo misc is gone!
1961 .ELSE # "$(MISC)"!=""
1962 @echo can\'t be done! $$(MISC) not defined.
1963 .ENDIF # "$(MISC)"!=""
1965 clean_all :
1966 .IF "$(OUT)"!=""
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)"!=""
1974 SRCALLTARGET: \
1975 $(SDITARGET) $(SDI1TARGET) $(SDI2TARGET) \
1976 $(SDI3TARGET) $(SDI4TARGET) $(SDI5TARGET) \
1977 $(SRC1TARGET) \
1978 $(SRC2TARGET) \
1979 $(SRC3TARGET) $(RCTARGET) \
1980 $(SRC4TARGET) $(SRC5TARGET) $(SRC6TARGET) \
1981 $(SRC7TARGET) $(SRC8TARGET) $(SRC9TARGET) \
1982 $(SRC10TARGET) $(SRC11TARGET) $(SRC12TARGET) \
1983 $(SRC13TARGET) $(SRC14TARGET) $(SRC15TARGET) \
1984 $(SRC16TARGET)
1986 .IF "$(ZIP1TARGETN)$(ZIP2TARGETN)$(ZIP3TARGETN)$(ZIP4TARGETN)$(ZIP5TARGETN)$(ZIP6TARGETN)$(ZIP7TARGETN)$(ZIP8TARGETN)$(ZIP9TARGETN)"!=""
1987 ZIPALLTARGET: \
1988 $(ZIP1TARGETN) \
1989 $(ZIP2TARGETN) \
1990 $(ZIP3TARGETN) \
1991 $(ZIP4TARGETN) \
1992 $(ZIP5TARGETN) \
1993 $(ZIP6TARGETN) \
1994 $(ZIP7TARGETN) \
1995 $(ZIP8TARGETN) \
1996 $(ZIP9TARGETN)
1997 .ELSE
1998 ZIPALLTARGET:
1999 .IF "$(VERBOSE)" == "TRUE"
2000 @echo ---
2001 .ENDIF
2002 @echo nothing to zip for activated languages!
2003 .IF "$(VERBOSE)" == "TRUE"
2004 @echo ---
2005 .ENDIF
2006 .ENDIF
2009 #temporary workaround for non-existing delzip in extras
2010 delzip:
2011 @echo
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)
2019 .ENDIF
2021 .IF "$(make_zip_deps)"==""
2022 $(MISC)/$(TARGET).dpz $(ZIPDEPPHONY) : $(ZIP1TARGETN) $(ZIP2TARGETN) $(ZIP3TARGETN) $(ZIP4TARGETN) $(ZIP5TARGETN) $(ZIP6TARGETN) $(ZIP7TARGETN) $(ZIP8TARGETN) $(ZIP9TARGETN)
2023 .ENDIF
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)
2034 @@-$(RM) $@
2035 @-$(RENAME) $(@)_$(VERSIONTMP:b) $@
2037 .IF "$(MAKEFILERC)"==""
2038 warn_target_empty:
2039 @echo '*'
2040 @echo '* error $$(TARGET) is empty - this will cause problems'
2041 @echo '*'
2042 force_dmake_to_error
2043 .ELSE
2044 warn_target_empty:
2045 @echo generated makefile.rc detected
2046 .ENDIF
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 :
2055 @echo "Making: " $@
2056 .IF "$(VERBOSE)" == "TRUE"
2057 @echo ---------------
2058 .ENDIF
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 $@
2063 @-mkdir $(@:d)hid
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
2077 wordcount:
2078 wc *.* >> $(TMP)/wc.lst
2080 testt:
2081 @echo test
2083 .ELSE # "$(depend)" == ""
2085 # ----------
2086 # - DEPEND -
2087 # ----------
2089 ALLTAR : ALLDEP \
2090 $(SUBDIRS)
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)" != ""
2098 .IF "$(nodep)"==""
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)" != ""
2111 .ELSE # MAKEFILERC
2112 .ENDIF # MAKEFILERC
2114 .INCLUDE : tg_dep.mk
2116 .ENDIF # "$(depend)" == ""
2118 .IF "$(SUBDIRS)"!=""
2120 $(SUBDIRS) : $(SUBDIRSDEPS)
2122 .IF "$(mk_tmp)$(BSCLIENT)"!=""
2123 $(SUBDIRS) .PHONY :
2124 @echo ignoring SUBDIRS
2126 .ELSE # "$(mk_tmp)$(BSCLIENT)"!=""
2127 #.IF "$(PRJNAME)"!="sw"
2128 .IF "$(GUI)"!="UNX"
2129 $(SUBDIRS) .PHONY :
2131 cd $@
2133 @$(MAKECMD) subdmake=true $(MFLAGS) $(CALLMACROS)
2135 .ELSE # "$(GUI)"!="UNX"
2136 $(SUBDIRS) .PHONY :
2137 cd $@; $(MAKECMD) subdmake=true $(MFLAGS) $(CALLMACROS)
2138 .ENDIF # "$(GUI)"!="UNX"
2139 #.ENDIF
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