xref: /trunk/main/solenv/inc/target.mk (revision 5bc7609c)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24MKFILENAME:=TARGET.MK
25
26# ------------------------------------------------------------------
27# INCLUDE-Path
28# ------------------------------------------------------------------
29
30.IF "$(TARGET)"==""
31target_empty=warn_target_empty
32.ENDIF
33
34.IF "$(STL_OS2_BUILDING)" != ""
35CDEFS+=-DSTL_OS2_BUILDING
36.ENDIF
37.IF "$(VISIBILITY_HIDDEN)" != ""
38.IF "$(COMNAME)" == "gcc3" && "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
39.IF "$(GUI)" != "OS2"
40CFLAGS += -fvisibility=hidden
41.ENDIF
42.ELIF "$(COMNAME)" == "sunpro5" && "$(CCNUMVER)" >= "00050005"
43CFLAGS += -xldscope=hidden
44.ENDIF
45.ENDIF
46
47# all use solarinc
48# no standalone -I flags!!
49INCEXT*=.
50INCPRE*=.
51INCPOST*=.
52.IF "$(BOOTSTRAP_SERVICE)"!="TRUE" && "$(NO_OFFUH)"==""
53UNOINCLUDES=$(SOLARINCDIR)/udkapi -I$(SOLARINCDIR)/offapi -I$(SOLARINCDIR)/oovbaapi
54.ENDIF			# "$(BOOTSTRAP_SERVICE)"!="TRUE" && "$(NO_OFFUH)"==""
55SOLARINC+=$(JDKINCS)
56# make sure INCLUDE isn't set
57INCLUDE:=
58.EXPORT : INCLUDE
59.IF "$(PRJINC)"!=""
60INCLUDE!:=-I. $(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)
61.ELSE		# "$(PRJINC)"!=""
62INCLUDE!:=-I. $(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)
63.ENDIF		# "$(PRJINC)"!=""
64INCLUDE_C=$(subst,/stl$(SPACECHAR),dont_use_stl$(SPACECHAR) $(INCLUDE))
65.EXPORT : LIB
66
67# --- Compiler -----------------------------------------------------
68
69.IF "$(RC_SUBDIRS)"!=""
70SUBDIRS:=$(RC_SUBDIRS)
71SUBDIRSDEPS=$(RC_SUBDIRSDEPS)
72.ENDIF
73
74.INCLUDE : pstrules.mk
75
76.IF "$(YACCTARGET)"!=""
77.INCLUDE : tg_yxx.mk
78.ENDIF			# "$(YACCTARGET)"!=""
79
80.IF "$(nodep)"==""
81
82.IF "$(L10N_framework)"==""
83.IF "$(DEPOBJFILES)"!=""
84DEPCOLLECT_SLO+:=$(foreach,i,$(DEPOBJFILES) $(eq,$i,$(subst,$(SLO),ttt $i) $(NULL) $(subst,$(SLO)/,not_existing/s_ $(i:s/.obj/.dpcc/))))
85DEPCOLLECT_OBJ+:=$(foreach,i,$(DEPOBJFILES) $(eq,$i,$(subst,$(OBJ),ttt $i) $(NULL) $(subst,$(OBJ)/,not_existing/o_ $(i:s/.obj/.dpcc/))))
86.ENDIF			# "$(DEPOBJFILES)"!=""
87# point to not existing directory as there is no creation intended anyway and
88# stat call looks faster
89DEPCOLLECT_SLO+:=$(subst,$(SLO)/,not_existing/s_ $(SLOFILES:s/.obj/.dpcc/))
90DEPCOLLECT_OBJ+:=$(subst,$(OBJ)/,not_existing/o_ $(OBJFILES:s/.obj/.dpcc/))
91.ENDIF			# "$(L10N_framework)"==""
92DEPFILESx+:=$(subst,$(PAR),$(MISC) $(ALLPARFILES:s/.par/.dpsc/))
93.IF "$(L10N_framework)"==""
94.IF "$(RCFILES)"!=""
95.IF "$(RESNAME)"!=""
96DEPFILESx+:=$(MISC)/$(RESNAME).dpcc
97.ELSE			# "$(RESNAME)"!=""
98DEPFILESx+:=$(MISC)/$(TARGET).dprc
99.ENDIF			# "$(RESNAME)"!=""
100.ENDIF			# "$(RCFILES)"!=""
101.ENDIF          # "$(L10N_framework)"==""
102DEPFILES:=$(uniq $(DEPFILESx))
103DEPCOLLECT_SLO!:=$(strip $(uniq $(DEPCOLLECT_SLO)))
104.IF "$(DEPCOLLECT_SLO)"!=""
105DEPFILE_SLO+:=$(MISC)/all_$(TARGET).dpslo
106.ENDIF			# "$(DEPCOLLECT_SLO)"!=""
107DEPCOLLECT_OBJ!:=$(strip $(uniq $(DEPCOLLECT_OBJ)))
108.IF "$(DEPCOLLECT_OBJ)"!=""
109DEPFILE_OBJ+:=$(MISC)/all_$(TARGET).dpobj
110.ENDIF			# "$(DEPCOLLECT_OBJ)"!=""
111.ENDIF			# "$(nodep)"==""
112
113.IF "$(depend)" == ""
114
115# -------
116# - ALL -
117# -------
118
119# with VCL no resources are appended to the application
120APP1RES=
121APP2RES=
122APP3RES=
123APP4RES=
124APP5RES=
125APP6RES=
126APP7RES=
127APP8RES=
128APP9RES=
129# unfortunately there are some applications which don't VCL resources but have
130# resources of their own
131.IF "$(APP1NOSVRES)" != ""
132APP1RES=$(APP1NOSVRES)
133.ENDIF
134.IF "$(APP2NOSVRES)" != ""
135APP2RES=$(APP2NOSVRES)
136.ENDIF
137.IF "$(APP3NOSVRES)" != ""
138APP3RES=$(APP3NOSVRES)
139.ENDIF
140
141.IF "$(NO_APP)"!=""
142APP1TARGET=
143APP2TARGET=
144APP3TARGET=
145APP4TARGET=
146APP5TARGET=
147APP6TARGET=
148APP7TARGET=
149APP8TARGET=
150APP9TARGET=
151.ENDIF
152
153APP1RUNTEST=
154APP2RUNTEST=
155APP3RUNTEST=
156APP4RUNTEST=
157APP5RUNTEST=
158APP6RUNTEST=
159APP7RUNTEST=
160APP8RUNTEST=
161APP9RUNTEST=
162
163.IF "$(APP1TEST)"=="enabled"
164APP1RUNTEST=$(APP1TARGET)_run
165.ENDIF
166.IF "$(APP2TEST)"=="enabled"
167APP2RUNTEST=$(APP2TARGET)_run
168.ENDIF
169.IF "$(APP3TEST)"=="enabled"
170APP3RUNTEST=$(APP3TARGET)_run
171.ENDIF
172.IF "$(APP4TEST)"=="enabled"
173APP4RUNTEST=$(APP4TARGET)_run
174.ENDIF
175.IF "$(APP5TEST)"=="enabled"
176APP5RUNTEST=$(APP5TARGET)_run
177.ENDIF
178.IF "$(APP6TEST)"=="enabled"
179APP6RUNTEST=$(APP6TARGET)_run
180.ENDIF
181.IF "$(APP7TEST)"=="enabled"
182APP7RUNTEST=$(APP7TARGET)_run
183.ENDIF
184.IF "$(APP8TEST)"=="enabled"
185APP8RUNTEST=$(APP8TARGET)_run
186.ENDIF
187.IF "$(APP9TEST)"=="enabled"
188APP9RUNTEST=$(APP9TARGET)_run
189.ENDIF
190
191.IF "$(IDLFILES)"!=""
192
193URDFILES+=$(foreach,i,$(IDLFILES:s/.idl/.urd/:f) $(OUT)/ucr/$(IDLPACKAGE)/$i)
194UNOIDLTARGETS+=$(URDFILES)
195
196.IF "$(URDFILES)"!=""
197LOCALDBTARGET=$(OUT)/ucr/$(TARGET).db
198.ENDIF
199
200.IF "$(URDDOC)" != ""
201URDDOCFILES+=$(foreach,i,$(IDLFILES:s/.idl/.urd/:f) $(OUT)/ucrdoc/$(IDLPACKAGE)/$i)
202UNOIDLTARGETS+=$(URDDOCFILES)
203
204.IF "$(URDDOCFILES)"!=""
205LOCALDOCDBTARGET=$(OUT)/ucrdoc/$(TARGET).db
206.ENDIF
207
208.ENDIF			# "$(URDDOC)" != ""
209
210.ENDIF		# "$(IDLFILES)"!=""
211
212.IF "$(UNOIDLDBFILES)"!=""
213UNOIDLDBTARGET=$(OUT)/ucr/$(PRJNAME).db
214.IF "$(URDDOC)" != ""
215UNOIDLDBDOCFILES:=$(subst,/ucr/,/ucrdoc/ $(UNOIDLDBFILES))
216UNOIDLDBDOCTARGET=$(OUT)/ucrdoc/$(PRJNAME)_doc.db
217.IF "$(UNOIDLDBREGS)"!=""
218UNOIDLDBDOCREGS=$(foreach,i,$(UNOIDLDBREGS) $(i:d)$(i:b)_doc$(i:e))
219.ENDIF			# "$(UNOIDLDBREGS)"!=""
220.ENDIF			# "$(URDDOC)" != ""
221.ENDIF		# "$(UNOIDLDBFILES)"!=""
222
223.IF "$(IDLFILES)"!=""
224.IF "$(PACKAGE)"!=""
225IDLDIRS=$(SOLARIDLDIR)/$(PACKAGE)
226.ELSE			# "$(PACKAGE)"!=""
227IDLDIRS=$(SOLARIDLDIR)
228.ENDIF			# "$(PACKAGE)"!=""
229
230.IF "$(LOCALIDLFILES)$(EXTERNIDLFILES)"!=""
231.IF "$(EXTERNIDLFILES)"!=""
232DEPIDLFILES:=$(foreach,i,$(IDLFILES) $(IDLDIRS)/$i)
233.ELSE			# "$(EXTERNIDLFILES)"!=""
234DEPIDLFILES:=$(IDLFILES)
235.ENDIF			# "$(EXTERNIDLFILES)"!=""
236.ELSE			# "$(LOCALIDLFILES)$(EXTERNIDLFILES)"!=""
237.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
238DEPIDLFILES:=$(foreach,i,$(IDLFILES) $(!null,$(shell @$(FIND) . -name $i) $i $(shell @($(FIND) $(IDLDIRS) -name $(i:f)) | $(SED) s/\//\\/g )))
239.ELSE			# "$(GUI)"=="WNT"
240DEPIDLFILES:=$(foreach,i,$(IDLFILES) $(!null,$(shell @$(FIND) . -name $i -print) $i $(shell @$(FIND) $(IDLDIRS) -name $(i:f) -print )  ))
241.ENDIF			# "$(GUI)"=="WNT"
242.ENDIF			# "$(LOCALIDLFILES)$(EXTERNIDLFILES)"!=""
243.ENDIF			# "$(IDLFILES)"!=""
244
245.IF "$(L10N_framework)"==""
246.IF "$(JARFILES)"!=""
247LOCALJARS:=$(foreach,i,$(shell @@-cd $(JARDIR) && ls -1 $(JARFILES) ) $(JARDIR)/$i)
248NEWCLASS:=$(LOCALJARS)
249NEWCLASS+:=$(foreach,i,$(JARFILES) $(eq,$(LOCALJARS),$(subst,$i, $(LOCALJARS)) $(SOLARBINDIR)/$i $(NULL)))
250.ENDIF			# "$(JARFILES)"!=""
251NEWCLASS+=$(EXTRAJARFILES)
252.IF "$(GENJAVACLASSFILES)"!=""
253NEWCLASS+=$(CLASSGENDIR)
254.ENDIF			# "$(GENJAVACLASSFILES)"!=""
255.IF "$(NEWCLASS)"!=""
256# See iz36027 for the reason for the strange $(subst ..) construct
257CLASSPATH:=.$(PATH_SEPERATOR)$(CLASSDIR)$(PATH_SEPERATOR)$(XCLASSPATH)$(PATH_SEPERATOR){$(subst,%Z*Z%,$(PATH_SEPERATOR) $(NEWCLASS:s/ /%Z*Z%/))}$(PATH_SEPERATOR)$(SOLARLIBDIR)
258.ENDIF			# "$(NEWCLASS)"!=""
259.ENDIF			# "$(L10N_framework)"==""
260
261.IF "$(NOOPTFILES)" != ""
262NOOPTTARGET=do_it_noopt
263.ENDIF
264
265.IF "$(EXCEPTIONSNOOPTFILES)" != ""
266EXCEPTIONSNOOPTTARGET=do_it_exceptions_noopt
267.ENDIF
268
269.IF "$(LIBTARGET)"==""
270.IF "$(OBJFILES)$(IDLOBJFILES)"!=""
271OBJTARGET=$(LB)/$(TARGET).lib
272.ENDIF
273
274.IF "$(SLOFILES)$(IDLSLOFILES)"!=""
275SLOTARGET=$(SLB)/$(TARGET).lib
276.ENDIF
277.ENDIF			# "$(LIBTARGET)"==""
278
279.IF "$(SECOND_BUILD)"!=""
280.IF "$($(SECOND_BUILD)_SLOFILES)"!=""
281.IF "$(LIBTARGET)"==""
282$(SECOND_BUILD)SLOTARGET=$(SLB)/$(SECOND_BUILD)_$(TARGET).lib
283.ENDIF			# "$(LIBTARGET)"==""
284REAL_$(SECOND_BUILD)_SLOFILES=$(foreach,i,$($(SECOND_BUILD)_SLOFILES) $(i:d)$(SECOND_BUILD)_$(i:f))
285.ENDIF
286
287.IF "$($(SECOND_BUILD)_OBJFILES)"!=""
288.IF "$(LIBTARGET)"==""
289$(SECOND_BUILD)OBJTARGET=$(LB)/$(SECOND_BUILD)_$(TARGET).lib
290.ENDIF			# "$(LIBTARGET)"==""
291REAL_$(SECOND_BUILD)_OBJFILES=$(foreach,i,$($(SECOND_BUILD)_OBJFILES) $(i:d)$(SECOND_BUILD)_$(i:f))
292.ENDIF
293.ENDIF			# "$(SECOND_BUILD)"!=""
294
295.IF "$(NOLIBOBJTARGET)$(NOLIBSLOTARGET)"!=""
296dont_set_NOLIBOBJTARGET:
297	@echo --------------------------------------------------
298	@echo setting NOLIBOBJTARGET or NOLIBSLOTARGET in your makefile
299	@echo will cause serious problems!
300	@echo use DEPOBJFILES instead.
301	@echo --------------------------------------------------
302	force_dmake_to_error
303.ENDIF			# "$(NOLIBTARGET)"!=""
304.IF "$(OBJFILES)"!=""
305.IF "$(LIBTARGET)" != ""
306NOLIBOBJTARGET=$(OBJFILES)
307.ENDIF
308.ENDIF
309
310.IF "$(SLOFILES)"!=""
311.IF "$(LIBTARGET)" != ""
312NOLIBSLOTARGET=$(SLOFILES)
313.ENDIF
314.ENDIF
315
316.IF "$(SRC1FILES)"!=""
317SRC1TARGET=$(SRS)/$(SRS1NAME).srs
318DEPSRS1FILE+=$(MISC)/$(TARGET).$(SRS1NAME).dprr
319DEPSRSFILES+=$(DEPSRS1FILE)
320.ENDIF
321
322.IF "$(SRC2FILES)"!=""
323SRC2TARGET=$(SRS)/$(SRS2NAME).srs
324DEPSRS2FILE+=$(MISC)/$(TARGET).$(SRS2NAME).dprr
325DEPSRSFILES+=$(DEPSRS2FILE)
326.ENDIF
327
328.IF "$(SRC3FILES)"!=""
329SRC3TARGET=$(SRS)/$(SRS3NAME).srs
330DEPSRS3FILE+=$(MISC)/$(TARGET).$(SRS3NAME).dprr
331DEPSRSFILES+=$(DEPSRS3FILE)
332.ENDIF
333
334.IF "$(SRC4FILES)"!=""
335SRC4TARGET=$(SRS)/$(SRS4NAME).srs
336DEPSRS4FILE+=$(MISC)/$(TARGET).$(SRS4NAME).dprr
337DEPSRSFILES+=$(DEPSRS4FILE)
338.ENDIF
339
340.IF "$(SRC5FILES)"!=""
341SRC5TARGET=$(SRS)/$(SRS5NAME).srs
342DEPSRS5FILE+=$(MISC)/$(TARGET).$(SRS5NAME).dprr
343DEPSRSFILES+=$(DEPSRS5FILE)
344.ENDIF
345
346.IF "$(SRC6FILES)"!=""
347SRC6TARGET=$(SRS)/$(SRS6NAME).srs
348DEPSRS6FILE+=$(MISC)/$(TARGET).$(SRS6NAME).dprr
349DEPSRSFILES+=$(DEPSRS6FILE)
350.ENDIF
351
352.IF "$(SRC7FILES)"!=""
353SRC7TARGET=$(SRS)/$(SRS7NAME).srs
354DEPSRS7FILE+=$(MISC)/$(TARGET).$(SRS7NAME).dprr
355DEPSRSFILES+=$(DEPSRS7FILE)
356.ENDIF
357
358.IF "$(SRC8FILES)"!=""
359SRC8TARGET=$(SRS)/$(SRS8NAME).srs
360DEPSRS8FILE+=$(MISC)/$(TARGET).$(SRS8NAME).dprr
361DEPSRSFILES+=$(DEPSRS8FILE)
362.ENDIF
363
364.IF "$(SRC9FILES)"!=""
365SRC9TARGET=$(SRS)/$(SRS9NAME).srs
366DEPSRS9FILE+=$(MISC)/$(TARGET).$(SRS9NAME).dprr
367DEPSRSFILES+=$(DEPSRS9FILE)
368.ENDIF
369
370.IF "$(SOLAR_JAVA)"!=""
371.IF "$(JAVAFILES)$(JAVACLASSFILES)$(GENJAVAFILES)"!=""
372.IF "$(JAVAFILES)$(JAVACLASSFILES)"=="$(JAVAFILES)"
373JAVACLASSFILES=	$(foreach,i,$(JAVAFILES) $(CLASSDIR)/$(PACKAGE)/$(i:s/.java//).class)
374.ELSE			# "$(JAVAFILES)$(JAVACLASSFILES)"=="$(JAVAFILES)"
375.IF "$(JAVAFILES)$(JAVACLASSFILES)"=="$(JAVACLASSFILES)"
376JAVAFILES=	$(foreach,i,$(JAVACLASSFILES) $(subst,$(CLASSDIR)/$(PACKAGE)/, $(i:s/.class//).java))
377.ENDIF			# "$(JAVAFILES)$(JAVACLASSFILES)"=="$(JAVACLASSFILES)"
378.ENDIF			# "$(JAVAFILES)$(JAVACLASSFILES)"=="$(JAVAFILES)"
379JAVATARGET:=$(MISC)/$(TARGET)_dummy.java
380.ENDIF			# "$(JAVAFILES)$(JAVACLASSFILES)$(GENJAVAFILES)"!=""
381
382.IF "$(JARTARGET)"!=""
383JARCLASSDIRS*=.
384.IF "$(NEW_JAR_PACK)"!=""
385JARMANIFEST*=$(CLASSDIR)/$(TARGET)/META-INF/MANIFEST.MF
386.ENDIF			# "$(NEW_JAR_PACK)"!=""
387JARTARGETN=$(CLASSDIR)/$(JARTARGET)
388.IF "$(NOJARDEP)$(NEW_JAR_PACK)"==""
389JARTARGETDEP=$(JARTARGET).dep
390JARTARGETDEPN=$(MISC)/$(JARTARGET).dep
391.ENDIF			# "$(NOJARDEP)$(NEW_JAR_PACK)"==""
392.ENDIF			# "$(JARTARGET)"!=""
393.ELSE			# "$(SOLAR_JAVA)"!=""
394JAVACLASSFILES:=
395JAVAFILES:=
396javauno:=
397.ENDIF			# "$(SOLAR_JAVA)"!=""
398
399.IF "$(L10N_framework)"==""
400.IF "$(RCFILES)"!=""
401RESNAME*=$(TARGET)
402.IF "$(RCFILES)" != "verinfo.rc"
403RCTARGET=$(RES)/$(RESNAME).res
404.ELSE           # "$(RCFILES)" != "verinfo.rc"
405RCFILES=
406.ENDIF          # "$(RCFILES)" != "verinfo.rc"
407.ENDIF          # "$(RCFILES)"!=""
408.ENDIF          # "$(L10N_framework)"==""
409
410LOCALIZE_ME_DEST:=$(foreach,i,$(LOCALIZE_ME) $(INCCOM)/$(i:f:s/_tmpl//))
411
412.IF "$(SCP1TARGET)"!=""
413SCP1TARGETN:=$(foreach,i,$(SCP1LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP1TARGET)$(SCPPOST))
414.ENDIF
415
416.IF "$(SCP2TARGET)"!=""
417SCP2TARGETN:=$(foreach,i,$(SCP2LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP2TARGET)$(SCPPOST))
418.ENDIF
419
420.IF "$(SCP3TARGET)"!=""
421SCP3TARGETN:=$(foreach,i,$(SCP3LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP3TARGET)$(SCPPOST))
422.ENDIF
423
424.IF "$(SCP4TARGET)"!=""
425SCP4TARGETN:=$(foreach,i,$(SCP4LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP4TARGET)$(SCPPOST))
426.ENDIF
427
428.IF "$(SCP5TARGET)"!=""
429SCP5TARGETN:=$(foreach,i,$(SCP5LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP5TARGET)$(SCPPOST))
430.ENDIF
431
432.IF "$(SCP6TARGET)"!=""
433SCP6TARGETN:=$(foreach,i,$(SCP6LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP6TARGET)$(SCPPOST))
434.ENDIF
435
436.IF "$(SCP7TARGET)"!=""
437SCP7TARGETN:=$(foreach,i,$(SCP7LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP7TARGET)$(SCPPOST))
438.ENDIF
439
440.IF "$(SCP8TARGET)"!=""
441SCP8TARGETN:=$(foreach,i,$(SCP8LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP8TARGET)$(SCPPOST))
442.ENDIF
443
444.IF "$(SCP9TARGET)"!=""
445SCP9TARGETN:=$(foreach,i,$(SCP9LINK_PRODUCT_TYPE) $(BIN)/$i/$(SCP9TARGET)$(SCPPOST))
446.ENDIF
447
448.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//)"
449
450ZIPALL=ZIPALLTARGET
451
452.ENDIF			#
453
454.IF "$(APP1TARGET)"!=""
455APP1TARGETN=$(BIN)/$(APP1TARGET)$(EXECPOST)
456.IF "$(BASE)" != ""
457.IF "$(GUI)"=="WNT"
458.IF "$(APP1BASE)"==""
459APP1BASE=$(BASE)
460.ENDIF
461APP1BASEX=/BASE:$(APP1BASE)
462.ENDIF
463.ENDIF
464.ENDIF
465
466.IF "$(APP2TARGET)"!=""
467APP2TARGETN=$(BIN)/$(APP2TARGET)$(EXECPOST)
468.IF "$(BASE)" != ""
469.IF "$(GUI)"=="WNT"
470.IF "$(APP2BASE)"==""
471APP2BASE=$(BASE)
472.ENDIF
473APP2BASEX=/BASE:$(APP2BASE)
474.ENDIF
475.ENDIF
476.ENDIF
477
478.IF "$(APP3TARGET)"!=""
479APP3TARGETN=$(BIN)/$(APP3TARGET)$(EXECPOST)
480.IF "$(BASE)" != ""
481.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
482.IF "$(APP3BASE)"==""
483APP3BASE=$(BASE)
484.ENDIF
485APP3BASEX=/BASE:$(APP3BASE)
486.ENDIF
487.ENDIF
488.ENDIF
489
490.IF "$(APP4TARGET)"!=""
491APP4TARGETN=$(BIN)/$(APP4TARGET)$(EXECPOST)
492.IF "$(BASE)" != ""
493.IF "$(GUI)"=="WNT"
494.IF "$(APP4BASE)"==""
495APP4BASE=$(BASE)
496.ENDIF
497APP4BASEX=/BASE:$(APP4BASE)
498.ENDIF
499.ENDIF
500.ENDIF
501
502.IF "$(APP5TARGET)"!=""
503APP5TARGETN=$(BIN)/$(APP5TARGET)$(EXECPOST)
504.IF "$(BASE)" != ""
505.IF "$(GUI)"=="WNT"
506.IF "$(APP5BASE)"==""
507APP5BASE=$(BASE)
508.ENDIF
509APP5BASEX=/BASE:$(APP5BASE)
510.ENDIF
511.ENDIF
512.ENDIF
513
514.IF "$(APP6TARGET)"!=""
515APP6TARGETN=$(BIN)/$(APP6TARGET)$(EXECPOST)
516.IF "$(BASE)" != ""
517.IF "$(GUI)"=="WNT"
518.IF "$(APP6BASE)"==""
519APP6BASE=$(BASE)
520.ENDIF
521APP6BASEX=/BASE:$(APP6BASE)
522.ENDIF
523.ENDIF
524.ENDIF
525
526.IF "$(APP7TARGET)"!=""
527APP7TARGETN=$(BIN)/$(APP7TARGET)$(EXECPOST)
528.IF "$(BASE)" != ""
529.IF "$(GUI)"=="WNT"
530.IF "$(APP7BASE)"==""
531APP7BASE=$(BASE)
532.ENDIF
533APP7BASEX=/BASE:$(APP7BASE)
534.ENDIF
535.ENDIF
536.ENDIF
537
538.IF "$(APP8TARGET)"!=""
539APP8TARGETN=$(BIN)/$(APP8TARGET)$(EXECPOST)
540.IF "$(BASE)" != ""
541.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
542.IF "$(APP8BASE)"==""
543APP8BASE=$(BASE)
544.ENDIF
545APP8BASEX=/BASE:$(APP8BASE)
546.ENDIF
547.ENDIF
548.ENDIF
549
550.IF "$(APP9TARGET)"!=""
551APP9TARGETN=$(BIN)/$(APP9TARGET)$(EXECPOST)
552.IF "$(BASE)" != ""
553.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
554.IF "$(APP9BASE)"==""
555APP9BASE=$(BASE)
556.ENDIF
557APP9BASEX=/BASE:$(APP9BASE)
558.ENDIF
559.ENDIF
560.ENDIF
561
562.IF "$(SHL1TARGET)"!=""
563.IF "$(WINVERSIONNAMES)"!=""
564SHL1TARGET!:=$(SHL1TARGET)$($(WINVERSIONNAMES)_MAJOR)
565.ENDIF			# "$(WINVERSIONNAMES)"!=""
566SHL1DLLPRE*=$(DLLPRE)
567SHL1TARGETN=$(DLLDEST)/$(SHL1DLLPRE)$(SHL1TARGET)$(DLLPOST)
568.IF "$(BASE)" != ""
569.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
570.IF "$(SHL1BASE)"==""
571SHL1BASE=$(BASE)
572.ENDIF
573SHL1BASEX=/BASE:$(SHL1BASE)
574.ENDIF
575.ENDIF
576.ENDIF
577
578.IF "$(SHL2TARGET)"!=""
579.IF "$(WINVERSIONNAMES)"!=""
580SHL2TARGET!:=$(SHL2TARGET)$($(WINVERSIONNAMES)_MAJOR)
581.ENDIF			# "$(WINVERSIONNAMES)"!=""
582SHL2DLLPRE*=$(DLLPRE)
583SHL2TARGETN=$(DLLDEST)/$(SHL2DLLPRE)$(SHL2TARGET)$(DLLPOST)
584.IF "$(BASE)" != ""
585.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
586.IF "$(SHL2BASE)"==""
587SHL2BASE=$(BASE)
588.ENDIF
589SHL2BASEX=/BASE:$(SHL2BASE)
590.ENDIF
591.ENDIF
592.ENDIF
593
594.IF "$(SHL3TARGET)"!=""
595.IF "$(WINVERSIONNAMES)"!=""
596SHL3TARGET!:=$(SHL3TARGET)$($(WINVERSIONNAMES)_MAJOR)
597.ENDIF			# "$(WINVERSIONNAMES)"!=""
598SHL3DLLPRE*=$(DLLPRE)
599SHL3TARGETN=$(DLLDEST)/$(SHL3DLLPRE)$(SHL3TARGET)$(DLLPOST)
600.IF "$(BASE)" != ""
601.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
602.IF "$(SHL3BASE)"==""
603SHL3BASE=$(BASE)
604.ENDIF
605SHL3BASEX=/BASE:$(SHL3BASE)
606.ENDIF
607.ENDIF
608.ENDIF
609
610.IF "$(SHL4TARGET)"!=""
611.IF "$(WINVERSIONNAMES)"!=""
612SHL4TARGET!:=$(SHL4TARGET)$($(WINVERSIONNAMES)_MAJOR)
613.ENDIF			# "$(WINVERSIONNAMES)"!=""
614SHL4DLLPRE*=$(DLLPRE)
615SHL4TARGETN=$(DLLDEST)/$(SHL4DLLPRE)$(SHL4TARGET)$(DLLPOST)
616.IF "$(BASE)" != ""
617.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
618.IF "$(SHL4BASE)"==""
619SHL4BASE=$(BASE)
620.ENDIF
621SHL4BASEX=/BASE:$(SHL4BASE)
622.ENDIF
623.ENDIF
624.ENDIF
625
626.IF "$(SHL5TARGET)"!=""
627.IF "$(WINVERSIONNAMES)"!=""
628SHL5TARGET!:=$(SHL5TARGET)$($(WINVERSIONNAMES)_MAJOR)
629.ENDIF			# "$(WINVERSIONNAMES)"!=""
630SHL5DLLPRE*=$(DLLPRE)
631SHL5TARGETN=$(DLLDEST)/$(SHL5DLLPRE)$(SHL5TARGET)$(DLLPOST)
632.IF "$(BASE)" != ""
633.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
634.IF "$(SHL5BASE)"==""
635SHL5BASE=$(BASE)
636.ENDIF
637SHL5BASEX=/BASE:$(SHL5BASE)
638.ENDIF
639.ENDIF
640.ENDIF
641
642.IF "$(SHL6TARGET)"!=""
643.IF "$(WINVERSIONNAMES)"!=""
644SHL6TARGET!:=$(SHL6TARGET)$($(WINVERSIONNAMES)_MAJOR)
645.ENDIF			# "$(WINVERSIONNAMES)"!=""
646SHL6DLLPRE*=$(DLLPRE)
647SHL6TARGETN=$(DLLDEST)/$(SHL6DLLPRE)$(SHL6TARGET)$(DLLPOST)
648.IF "$(BASE)" != ""
649.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
650.IF "$(SHL6BASE)"==""
651SHL6BASE=$(BASE)
652.ENDIF
653SHL6BASEX=/BASE:$(SHL6BASE)
654.ENDIF
655.ENDIF
656.ENDIF
657
658.IF "$(SHL7TARGET)"!=""
659.IF "$(WINVERSIONNAMES)"!=""
660SHL7TARGET!:=$(SHL7TARGET)$($(WINVERSIONNAMES)_MAJOR)
661.ENDIF			# "$(WINVERSIONNAMES)"!=""
662SHL7DLLPRE*=$(DLLPRE)
663SHL7TARGETN=$(DLLDEST)/$(SHL7DLLPRE)$(SHL7TARGET)$(DLLPOST)
664.IF "$(BASE)" != ""
665.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
666.IF "$(SHL7BASE)"==""
667SHL7BASE=$(BASE)
668.ENDIF
669SHL7BASEX=/BASE:$(SHL7BASE)
670.ENDIF
671.ENDIF
672.ENDIF
673
674.IF "$(SHL8TARGET)"!=""
675.IF "$(WINVERSIONNAMES)"!=""
676SHL8TARGET!:=$(SHL8TARGET)$($(WINVERSIONNAMES)_MAJOR)
677.ENDIF			# "$(WINVERSIONNAMES)"!=""
678SHL8DLLPRE*=$(DLLPRE)
679SHL8TARGETN=$(DLLDEST)/$(SHL8DLLPRE)$(SHL8TARGET)$(DLLPOST)
680.IF "$(BASE)" != ""
681.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
682.IF "$(SHL8BASE)"==""
683SHL8BASE=$(BASE)
684.ENDIF
685SHL8BASEX=/BASE:$(SHL8BASE)
686.ENDIF
687.ENDIF
688.ENDIF
689
690.IF "$(SHL9TARGET)"!=""
691.IF "$(WINVERSIONNAMES)"!=""
692SHL9TARGET!:=$(SHL9TARGET)$($(WINVERSIONNAMES)_MAJOR)
693.ENDIF			# "$(WINVERSIONNAMES)"!=""
694SHL9DLLPRE*=$(DLLPRE)
695SHL9TARGETN=$(DLLDEST)/$(SHL9DLLPRE)$(SHL9TARGET)$(DLLPOST)
696.IF "$(BASE)" != ""
697.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
698.IF "$(SHL9BASE)"==""
699SHL9BASE=$(BASE)
700.ENDIF
701SHL9BASEX=/BASE:$(SHL9BASE)
702.ENDIF
703.ENDIF
704.ENDIF
705
706.IF "$(COMP1TYPELIST)$(COMP2TYPELIST)$(COMP3TYPELIST)$(COMP4TYPELIST)$(COMP5TYPELIST)$(COMP6TYPELIST)$(COMP7TYPELIST)$(COMP8TYPELIST)$(COMP9TYPELIST)"!=""
707.IF "$(UNOUCRRDB)"!=""
708COMPRDB*:=$(UNOUCRRDB)
709.ELSE			# "$(UNOUCRRDB)"!=""
710COMPRDB*:=$(SOLARBINDIR)/types.rdb
711.ENDIF			# "$(UNOUCRRDB)"!=""
712.ENDIF          # "$(COMP1TYPELIST)$(COMP2TYPELIST)$(COMP3TYPELIST)$(COMP4TYPELIST)$(COMP5TYPELIST)$(COMP6TYPELIST)$(COMP7TYPELIST)$(COMP8TYPELIST)$(COMP9TYPELIST)"!=""
713.IF "$(COMP1TYPELIST)"!=""
714UNOTYPES+=$($(COMP1TYPELIST)_XML2CMPTYPES)
715COMP1RDBTARGETN:=$(BIN)/$(COMP1TYPELIST).rdb
716#COMP1TYPELISTN:=$(MISC)/$(COMP1TYPELIST).xml
717.ENDIF
718
719.IF "$(COMP2TYPELIST)"!=""
720UNOTYPES+=$($(COMP2TYPELIST)_XML2CMPTYPES)
721COMP2RDBTARGETN:=$(BIN)/$(COMP2TYPELIST).rdb
722#COMP2TYPELISTN:=$(MISC)/$(COMP2TYPELIST).xml
723.ENDIF
724
725.IF "$(COMP3TYPELIST)"!=""
726UNOTYPES+=$($(COMP3TYPELIST)_XML2CMPTYPES)
727COMP3RDBTARGETN:=$(BIN)/$(COMP3TYPELIST).rdb
728#COMP3TYPELISTN:=$(MISC)/$(COMP3TYPELIST).xml
729.ENDIF
730
731.IF "$(COMP4TYPELIST)"!=""
732UNOTYPES+=$($(COMP4TYPELIST)_XML2CMPTYPES)
733COMP4RDBTARGETN:=$(BIN)/$(COMP4TYPELIST).rdb
734#COMP4TYPELISTN:=$(MISC)/$(COMP4TYPELIST).xml
735.ENDIF
736
737.IF "$(COMP5TYPELIST)"!=""
738UNOTYPES+=$($(COMP5TYPELIST)_XML2CMPTYPES)
739COMP5RDBTARGETN:=$(BIN)/$(COMP5TYPELIST).rdb
740#COMP5TYPELISTN:=$(MISC)/$(COMP5TYPELIST).xml
741.ENDIF
742
743.IF "$(COMP6TYPELIST)"!=""
744UNOTYPES+=$($(COMP6TYPELIST)_XML2CMPTYPES)
745COMP6RDBTARGETN:=$(BIN)/$(COMP6TYPELIST).rdb
746#COMP6TYPELISTN:=$(MISC)/$(COMP6TYPELIST).xml
747.ENDIF
748
749.IF "$(COMP7TYPELIST)"!=""
750UNOTYPES+=$($(COMP7TYPELIST)_XML2CMPTYPES)
751COMP7RDBTARGETN:=$(BIN)/$(COMP7TYPELIST).rdb
752#COMP7TYPELISTN:=$(MISC)/$(COMP7TYPELIST).xml
753.ENDIF
754
755.IF "$(COMP8TYPELIST)"!=""
756UNOTYPES+=$($(COMP8TYPELIST)_XML2CMPTYPES)
757COMP8RDBTARGETN:=$(BIN)/$(COMP8TYPELIST).rdb
758#COMP8TYPELISTN:=$(MISC)/$(COMP8TYPELIST).xml
759.ENDIF
760
761.IF "$(COMP9TYPELIST)"!=""
762UNOTYPES+=$($(COMP9TYPELIST)_XML2CMPTYPES)
763COMP9RDBTARGETN:=$(BIN)/$(COMP9TYPELIST).rdb
764#COMP9TYPELISTN:=$(MISC)/$(COMP9TYPELIST).xml
765.ENDIF
766
767UNOTYPES!:=$(strip $(UNOTYPES))
768
769#moved here to get UNOTYPES from COMPxTYPELIST
770.IF "$(UNOTYPES)" != ""
771UNOUCRHEADER=$(foreach,j,$(subst,.,/ $(UNOTYPES)) $(UNOUCROUT)/$(j:+".hpp"))
772UNOUCRTARGET:=$(INCCOM)/$(TARGET)_headergen.done
773.ENDIF			# "$(UNOTYPES)" != ""
774
775.IF "$(HELPIDFILES)"!=""
776MAKE_HELPIDS=$(MISC)/helpids.don
777.ENDIF
778
779.IF "$(HXXCOPYFILES)" != ""
780HXXCOPYTARGET=	copy_hxxcopyfiles
781.ENDIF
782
783.IF "$(LIB1TARGET)" != ""
784LIB1TARGETN=$(LIB1TARGET)
785.ENDIF
786
787.IF "$(LIB2TARGET)" != ""
788LIB2TARGETN=$(LIB2TARGET)
789.ENDIF
790
791.IF "$(LIB3TARGET)" != ""
792LIB3TARGETN=$(LIB3TARGET)
793.ENDIF
794
795.IF "$(LIB4TARGET)" != ""
796LIB4TARGETN=$(LIB4TARGET)
797.ENDIF
798
799.IF "$(LIB5TARGET)" != ""
800LIB5TARGETN=$(LIB5TARGET)
801.ENDIF
802
803.IF "$(LIB6TARGET)" != ""
804LIB6TARGETN=$(LIB6TARGET)
805.ENDIF
806
807.IF "$(LIB7TARGET)" != ""
808LIB7TARGETN=$(LIB7TARGET)
809.ENDIF
810
811.IF "$(LIB8TARGET)" != ""
812LIB8TARGETN=$(LIB8TARGET)
813.ENDIF
814
815.IF "$(LIB9TARGET)" != ""
816LIB9TARGETN=$(LIB9TARGET)
817.ENDIF
818
819.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
820.IF "$(COM)"!="GCC"
821LIB1ARCHIV=
822LIB2ARCHIV=
823LIB3ARCHIV=
824LIB4ARCHIV=
825LIB5ARCHIV=
826LIB6ARCHIV=
827LIB7ARCHIV=
828LIB8ARCHIV=
829LIB9ARCHIV=
830.ENDIF
831.ENDIF			# "$(GUI)"=="WNT"
832
833.IF "$(RESLIB1NAME)" != ""
834.IF "$(RESLIB1NOVERSION)"==""
835.ENDIF			# "$(RESLIB1NOVERSION)"==""
836.IF "$(common_build_reslib)"!=""
837RESLIB1TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB1NAME)LANGEXT.res
838RSC_MULTI1=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/rsc_$(RESLIB1NAME)
839.ELSE			# "$(common_build_reslib)"!=""
840RESLIB1TARGETN=$(BIN)/$(RESLIB1NAME)LANGEXT.res
841RSC_MULTI1=$(MISC)/rsc_$(RESLIB1NAME)
842.ENDIF			# "$(common_build_reslib)"!=""
843# change to iso if resmgr is changed
844RESLIB1TARGETN!:=$(foreach,i,$(alllangiso) $(subst,LANGEXT,$i $(RESLIB1TARGETN)))
845.ENDIF
846
847.IF "$(RESLIB2NAME)" != ""
848.IF "$(RESLIB2NOVERSION)"==""
849.ENDIF			# "$(RESLIB2NOVERSION)"==""
850.IF "$(common_build_reslib)"!=""
851RESLIB2TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB2NAME)LANGEXT.res
852RSC_MULTI2=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/rsc_$(RESLIB2NAME)
853.ELSE			# "$(common_build_reslib)"!=""
854RESLIB2TARGETN=$(BIN)/$(RESLIB2NAME)LANGEXT.res
855RSC_MULTI2=$(MISC)/rsc_$(RESLIB2NAME)
856.ENDIF			# "$(common_build_reslib)"!=""
857RESLIB2TARGETN!:=$(foreach,i,$(alllangiso) $(subst,LANGEXT,$i $(RESLIB2TARGETN)))
858.ENDIF
859
860.IF "$(RESLIB3NAME)" != ""
861.IF "$(RESLIB3NOVERSION)"==""
862.ENDIF			# "$(RESLIB3NOVERSION)"==""
863.IF "$(common_build_reslib)"!=""
864RESLIB3TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB3NAME)LANGEXT.res
865RSC_MULTI3=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/rsc_$(RESLIB3NAME)
866.ELSE			# "$(common_build_reslib)"!=""
867RESLIB3TARGETN=$(BIN)/$(RESLIB3NAME)LANGEXT.res
868RSC_MULTI3=$(MISC)/rsc_$(RESLIB3NAME)
869.ENDIF			# "$(common_build_reslib)"!=""
870RESLIB3TARGETN!:=$(foreach,i,$(alllangiso) $(subst,LANGEXT,$i $(RESLIB3TARGETN)))
871.ENDIF
872
873.IF "$(RESLIB4NAME)" != ""
874.IF "$(RESLIB4NOVERSION)"==""
875.ENDIF			# "$(RESLIB4NOVERSION)"==""
876.IF "$(common_build_reslib)"!=""
877RESLIB4TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB4NAME)LANGEXT.res
878RSC_MULTI4=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/rsc_$(RESLIB4NAME)
879.ELSE			# "$(common_build_reslib)"!=""
880RESLIB4TARGETN=$(BIN)/$(RESLIB4NAME)LANGEXT.res
881RSC_MULTI4=$(MISC)/rsc_$(RESLIB4NAME)
882.ENDIF			# "$(common_build_reslib)"!=""
883RESLIB4TARGETN!:=$(foreach,i,$(alllangiso) $(subst,LANGEXT,$i $(RESLIB4TARGETN)))
884.ENDIF
885
886.IF "$(RESLIB5NAME)" != ""
887.IF "$(RESLIB5NOVERSION)"==""
888.ENDIF			# "$(RESLIB5NOVERSION)"==""
889.IF "$(common_build_reslib)"!=""
890RESLIB5TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB5NAME)LANGEXT.res
891RSC_MULTI5=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/rsc_$(RESLIB5NAME)
892.ELSE			# "$(common_build_reslib)"!=""
893RESLIB5TARGETN=$(BIN)/$(RESLIB5NAME)LANGEXT.res
894RSC_MULTI5=$(MISC)/rsc_$(RESLIB5NAME)
895.ENDIF			# "$(common_build_reslib)"!=""
896RESLIB5TARGETN!:=$(foreach,i,$(alllangiso) $(subst,LANGEXT,$i $(RESLIB5TARGETN)))
897.ENDIF
898
899.IF "$(RESLIB6NAME)" != ""
900.IF "$(RESLIB6NOVERSION)"==""
901.ENDIF			# "$(RESLIB6NOVERSION)"==""
902.IF "$(common_build_reslib)"!=""
903RESLIB6TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB6NAME)LANGEXT.res
904RSC_MULTI6=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/rsc_$(RESLIB6NAME)
905.ELSE			# "$(common_build_reslib)"!=""
906RESLIB6TARGETN=$(BIN)/$(RESLIB6NAME)LANGEXT.res
907RSC_MULTI6=$(MISC)/rsc_$(RESLIB6NAME)
908.ENDIF			# "$(common_build_reslib)"!=""
909RESLIB6TARGETN!:=$(foreach,i,$(alllangiso) $(subst,LANGEXT,$i $(RESLIB6TARGETN)))
910.ENDIF
911
912.IF "$(RESLIB7NAME)" != ""
913.IF "$(RESLIB7NOVERSION)"==""
914.ENDIF			# "$(RESLIB7NOVERSION)"==""
915.IF "$(common_build_reslib)"!=""
916RESLIB7TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB7NAME)LANGEXT.res
917RSC_MULTI7=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/rsc_$(RESLIB7NAME)
918.ELSE			# "$(common_build_reslib)"!=""
919RESLIB7TARGETN=$(BIN)/$(RESLIB7NAME)LANGEXT.res
920RSC_MULTI7=$(MISC)/rsc_$(RESLIB7NAME)
921.ENDIF			# "$(common_build_reslib)"!=""
922RESLIB7TARGETN!:=$(foreach,i,$(alllangiso) $(subst,LANGEXT,$i $(RESLIB7TARGETN)))
923.ENDIF
924
925.IF "$(RESLIB8NAME)" != ""
926.IF "$(RESLIB8NOVERSION)"==""
927.ENDIF			# "$(RESLIB8NOVERSION)"==""
928.IF "$(common_build_reslib)"!=""
929RESLIB8TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB8NAME)LANGEXT.res
930RSC_MULTI8=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/rsc_$(RESLIB8NAME)
931.ELSE			# "$(common_build_reslib)"!=""
932RESLIB8TARGETN=$(BIN)/$(RESLIB8NAME)LANGEXT.res
933RSC_MULTI8=$(MISC)/rsc_$(RESLIB8NAME)
934.ENDIF			# "$(common_build_reslib)"!=""
935RESLIB8TARGETN!:=$(foreach,i,$(alllangiso) $(subst,LANGEXT,$i $(RESLIB8TARGETN)))
936.ENDIF
937
938.IF "$(RESLIB9NAME)" != ""
939.IF "$(RESLIB9NOVERSION)"==""
940.ENDIF			# "$(RESLIB9NOVERSION)"==""
941.IF "$(common_build_reslib)"!=""
942RESLIB9TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB9NAME)LANGEXT.res
943RSC_MULTI9=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/rsc_$(RESLIB9NAME)
944.ELSE			# "$(common_build_reslib)"!=""
945RESLIB9TARGETN=$(BIN)/$(RESLIB9NAME)LANGEXT.res
946RSC_MULTI9=$(MISC)/rsc_$(RESLIB9NAME)
947.ENDIF			# "$(common_build_reslib)"!=""
948RESLIB9TARGETN!:=$(foreach,i,$(alllangiso) $(subst,LANGEXT,$i $(RESLIB9TARGETN)))
949.ENDIF
950
951.IF "$(INDPRESLIB1NAME)"!=""
952INDPRESLIB1TARGETN=$(BIN)/$(INDPRESLIB1NAME).dll
953.ENDIF
954
955.IF "$(DEF1NAME)"!=""
956DEF1TARGETN=$(MISC)/$(DEF1NAME).def
957.ENDIF
958
959.IF "$(DEF2NAME)"!=""
960DEF2TARGETN=$(MISC)/$(DEF2NAME).def
961.ENDIF
962
963.IF "$(DEF3NAME)"!=""
964DEF3TARGETN=$(MISC)/$(DEF3NAME).def
965.ENDIF
966
967.IF "$(DEF4NAME)"!=""
968DEF4TARGETN=$(MISC)/$(DEF4NAME).def
969.ENDIF
970
971.IF "$(DEF5NAME)"!=""
972DEF5TARGETN=$(MISC)/$(DEF5NAME).def
973.ENDIF
974
975.IF "$(DEF6NAME)"!=""
976DEF6TARGETN=$(MISC)/$(DEF6NAME).def
977.ENDIF
978
979.IF "$(DEF7NAME)"!=""
980DEF7TARGETN=$(MISC)/$(DEF7NAME).def
981.ENDIF
982
983.IF "$(DEF8NAME)"!=""
984DEF8TARGETN=$(MISC)/$(DEF8NAME).def
985.ENDIF
986
987.IF "$(DEF9NAME)"!=""
988DEF9TARGETN=$(MISC)/$(DEF9NAME).def
989.ENDIF
990
991# IZ65415 - catch obsolete macro. Can be removed later.
992.IF "$(SDINAME)"!=""
993.ERROR : ; @echo Forced error: SDINAME was used! Change your project to use SDIxNAME instead!
994NO_SDINAME_allowed
995.ENDIF
996
997.IF "$(SDI1NAME)"!=""
998.DIRCACHE=no
999SDI1TARGET=$(MISC)/$(SDI1NAME).don
1000.ENDIF
1001
1002.IF "$(SDI2NAME)"!=""
1003.DIRCACHE=no
1004SDI2TARGET=$(MISC)/$(SDI2NAME).don
1005.ENDIF
1006
1007.IF "$(SDI3NAME)"!=""
1008.DIRCACHE=no
1009SDI3TARGET=$(MISC)/$(SDI3NAME).don
1010.ENDIF
1011
1012.IF "$(SDI4NAME)"!=""
1013.DIRCACHE=no
1014SDI4TARGET=$(MISC)/$(SDI4NAME).don
1015.ENDIF
1016
1017.IF "$(SDI5NAME)"!=""
1018.DIRCACHE=no
1019SDI5TARGET=$(MISC)/$(SDI5NAME).don
1020.ENDIF
1021
1022.IF "$(XMLPROPERTIES)"!=""
1023XMLPROPERTIESN:=$(foreach,i,$(XMLPROPERTIES) $(MISC)/$(TARGET)_$(i:s/.xrb/.done/))
1024.ENDIF			# "$(XMLPROPERTIES)"!=""
1025
1026.IF "$(UNIXTEXT)"!=""
1027.IF "$(GUI)"=="UNX"
1028CONVERTUNIXTEXT:=$(UNIXTEXT)
1029.ENDIF			# "$(GUI)"=="UNX"
1030.ENDIF			# "$(UNIXTEXT)"!=""
1031
1032.IF "$(EXTUPDATEINFO_NAME)"!=""
1033EXTUPDATEINFO_DEST:=$(MISC)/$(EXTUPDATEINFO_NAME)
1034EXTUPDATEINFO_SOURCE*=description.xml
1035.ENDIF			# "$(EXTUPDATEINFO_NAME)"!=""
1036
1037.IF "$(JAVACLASSFILES:s/DEFINED//)"!="" || "$(javauno)"!=""
1038.IF "$(L10N_framework)"==""
1039TARGETDPJ=$(MISC)/$(TARGET).dpj
1040.ENDIF			# "$(L10N_framework)"==""
1041.ENDIF
1042
1043.IF "$(make_srs_deps)"==""
1044.IF "$(SRCFILES)" != "" || "$(SRC1FILES)" != "" || "$(SRC2FILES)" != ""
1045DPRTARGET= $(MISC)/$(TARGET).dpr
1046.ENDIF
1047.ENDIF
1048
1049.IF "$(make_zip_deps)"==""
1050.IF "$(ZIP1TARGET)" != "" || "$(ZIP2TARGET)" != "" || "$(ZIP3TARGET)" != ""
1051DPZTARGET= $(MISC)/$(TARGET).dpz
1052.ENDIF			# "$(ZIP1TARGET)" != "" || "$(ZIP2TARGET)" != "" || "$(ZIP3TARGET)" != ""
1053.ENDIF			# "$(make_zip_deps)"==""
1054
1055.IF "$(SOLAR_JAVA)"!=""
1056ALL_JAVA_TARGETS= \
1057		$(GENJAVAFILES) \
1058		$(JAVACLASSFILES) $(JAVA1CLASSFILES)	\
1059		$(JAVA2CLASSFILES)	$(JAVA3CLASSFILES) $(JAVA4CLASSFILES)\
1060		$(JAVA5CLASSFILES)	$(JAVA6CLASSFILES) $(JAVA7CLASSFILES)\
1061		$(JAVA8CLASSFILES)	$(JAVA9CLASSFILES) $(JAVA10CLASSFILES)\
1062		$(JAVA11CLASSFILES)	\
1063		$(JAVATARGET)	\
1064		$(TARGETDPJ)
1065.ENDIF          # "$(SOLAR_JAVA)"!=""
1066# -------
1067# - DEF -
1068# -------
1069
1070# bei MAKE...DIR die gleiche Reihenfolge wie in settings.mak einhalten!
1071
1072.IF "$(lintit)"==""
1073.IF "$(L10N_framework)"!=""
1074ALLTAR:	\
1075		"$(SOLARVERSION)/$(INPATH)/inc$(UPDMINOREXT)/$(UPD)minor.mk" \
1076		$(SUBDIRS)		\
1077		$(DPRTARGET) \
1078		$(DPZTARGET) \
1079        $(ZIPALL) \
1080		$(SDITARGET)	$(SDI1TARGET)	$(SDI2TARGET)		\
1081		$(SDI3TARGET)	$(SDI4TARGET)	$(SDI5TARGET)		\
1082		$(XMLPROPERTIESN) \
1083		$(RCTARGET) \
1084		$(SCP_PRODUCT_TYPE) \
1085		$(ALLPARFILES) \
1086		$(SCP1TARGETN) \
1087		$(SCP2TARGETN) \
1088		$(SCP3TARGETN) \
1089		$(SCP4TARGETN) \
1090		$(SCP5TARGETN) \
1091		$(SCP6TARGETN) \
1092		$(SCP7TARGETN) \
1093		$(SCP8TARGETN) \
1094		$(SCP9TARGETN) \
1095		$(SRC1TARGET)  \
1096		$(SRC2TARGET)  \
1097		$(SRC3TARGET)  \
1098		$(SRC4TARGET)	$(SRC5TARGET)	$(SRC6TARGET)		\
1099		$(SRC7TARGET)	$(SRC8TARGET)	$(SRC9TARGET)		\
1100		$(SRC10TARGET)	$(SRC11TARGET)	$(SRC12TARGET)		\
1101		$(SRC13TARGET)	$(SRC14TARGET)	$(SRC15TARGET)		\
1102		$(SRC16TARGET) \
1103        $(RSC_MULTI1) \
1104        $(RSC_MULTI2) \
1105        $(RSC_MULTI3) \
1106        $(RSC_MULTI4) \
1107        $(RSC_MULTI5) \
1108        $(RSC_MULTI6) \
1109        $(RSC_MULTI7) \
1110        $(RSC_MULTI8) \
1111        $(RSC_MULTI9) \
1112		$(INDPRESLIB1TARGETN) \
1113		$(RESLIB1TARGETN) $(RESLIB2TARGETN) \
1114		$(RESLIB3TARGETN) $(RESLIB4TARGETN) \
1115		$(RESLIB5TARGETN) $(RESLIB6TARGETN) \
1116		$(RESLIB7TARGETN) $(RESLIB8TARGETN) \
1117        $(LOCALIZE_ME_DEST)\
1118		last_target
1119
1120.ELSE			# "$(L10N_framework)"!=""
1121
1122ALLTAR: \
1123		"$(SOLARVERSION)/$(INPATH)/inc$(UPDMINOREXT)/$(UPD)minor.mk" \
1124		$(MAKEDEMODIR)	$(MAKECOMPDIR) $(MAKEXLDIR)	\
1125		$(COMPVERMK) \
1126		$(JAVAVERMK) \
1127		$(target_empty) \
1128		$(SUBDIRS)		\
1129		$(ALLMOZ) \
1130		$(DELDEFS)		\
1131		$(YACCTARGET)	\
1132		$(UNOUCRTARGET)	\
1133		$(UNOIDLDEPTARGETS) \
1134		$(DEPFILES) \
1135		$(DPRTARGET) \
1136		$(DPZTARGET) \
1137        $(ZIPALL) \
1138		$(SDITARGET)	\
1139		$(LOCALDBTARGET)	\
1140		$(LOCALDOCDBTARGET)	\
1141		$(UNOIDLDBTARGET)	\
1142		$(UNOIDLDBDOCTARGET)	\
1143		$(COMP1RDBTARGETN) \
1144		$(COMP2RDBTARGETN) \
1145		$(COMP3RDBTARGETN) \
1146		$(COMP4RDBTARGETN) \
1147		$(COMP5RDBTARGETN) \
1148		$(COMP6RDBTARGETN) \
1149		$(COMP7RDBTARGETN) \
1150		$(COMP8RDBTARGETN) \
1151		$(COMP9RDBTARGETN) \
1152		$(IDL1TARGET)	$(IDL2TARGET)	$(IDL3TARGET)		\
1153		$(IDL4TARGET)	$(IDL5TARGET)		\
1154		$(SDI1TARGET)	$(SDI2TARGET)	$(SDI3TARGET)		\
1155		$(SDI4TARGET)	$(SDI5TARGET)		\
1156		$(HXXCOPYTARGET) \
1157		$(NOLIBOBJTARGET) \
1158		$(NOLIBSLOTARGET) \
1159		$(OTHERTARRGET) \
1160		$(XMLPROPERTIESN) \
1161        $(ALL_JAVA_TARGETS) \
1162		$(OBJTARGET)	$(SLOTARGET)	$(SMRSLOTARGET)		\
1163		$($(SECOND_BUILD)SLOTARGET) \
1164		$($(SECOND_BUILD)OBJTARGET) \
1165		$(LIB1TARGET)	$(LIB2TARGET)	$(LIB3TARGET)		\
1166		$(LIB4TARGET)	$(LIB5TARGET)	$(LIB6TARGET)		\
1167		$(LIB7TARGET)	$(LIB8TARGET)	$(LIB9TARGET)		\
1168		$(LIB1ARCHIV)	$(LIB2ARCHIV)	$(LIB3ARCHIV)		\
1169		$(LIB4ARCHIV)	$(LIB5ARCHIV)	$(LIB6ARCHIV)		\
1170		$(LIB7ARCHIV)	$(LIB8ARCHIV)	$(LIB9ARCHIV)		\
1171		$(DEF1TARGETN)	$(DEF2TARGETN)	$(DEF3TARGETN)		\
1172		$(DEF4TARGETN)	$(DEF5TARGETN)	$(DEF6TARGETN)		\
1173		$(RCTARGET) \
1174		$(SHL1TARGETN) \
1175		$(SHL2TARGETN) \
1176		$(SHL3TARGETN) \
1177		$(SHL4TARGETN) \
1178		$(SHL5TARGETN) \
1179		$(SHL6TARGETN) \
1180		$(SHL7TARGETN) \
1181		$(SHL8TARGETN) \
1182		$(SHL9TARGETN) \
1183		$(SCP_PRODUCT_TYPE) \
1184		$(ALLPARFILES) \
1185		$(SCP1TARGETN) \
1186		$(SCP2TARGETN) \
1187		$(SCP3TARGETN) \
1188		$(SCP4TARGETN) \
1189		$(SCP5TARGETN) \
1190		$(SCP6TARGETN) \
1191		$(SCP7TARGETN) \
1192		$(SCP8TARGETN) \
1193		$(SCP9TARGETN) \
1194		$(APP1TARGETN)	$(APP2TARGETN)	$(APP3TARGETN)		\
1195		$(APP4TARGETN)	$(APP5TARGETN)	$(APP6TARGETN)		\
1196		$(APP7TARGETN)	$(APP8TARGETN)	$(APP9TARGETN)		\
1197		$(APP1RUNTEST)  $(APP2RUNTEST)	$(APP3RUNTEST)		\
1198		$(APP4RUNTEST)	$(APP5RUNTEST)	$(APP6RUNTEST)		\
1199		$(APP7RUNTEST)	$(APP8RUNTEST)	$(APP9RUNTEST)		\
1200		$(JARTARGETN)	\
1201		$(JARTARGETDEPN)	\
1202		$(SRC1TARGET)	\
1203		$(SRC2TARGET)	\
1204		$(SRC3TARGET)	\
1205		$(SRC4TARGET)	$(SRC5TARGET)	$(SRC6TARGET)		\
1206		$(SRC7TARGET)	$(SRC8TARGET)	$(SRC9TARGET)		\
1207		$(SRC10TARGET)	$(SRC11TARGET)	$(SRC12TARGET)		\
1208		$(SRC13TARGET)	$(SRC14TARGET)	$(SRC15TARGET)		\
1209		$(SRC16TARGET) \
1210		$(RSC_MULTI1) \
1211		$(RSC_MULTI2) \
1212		$(RSC_MULTI3) \
1213        $(RSC_MULTI4) \
1214        $(RSC_MULTI5) \
1215        $(RSC_MULTI6) \
1216        $(RSC_MULTI7) \
1217        $(RSC_MULTI8) \
1218        $(RSC_MULTI9) \
1219		$(INDPRESLIB1TARGETN) \
1220		$(RESLIB1TARGETN) $(RESLIB2TARGETN) \
1221		$(RESLIB3TARGETN) $(RESLIB4TARGETN) \
1222		$(RESLIB5TARGETN) $(RESLIB6TARGETN) \
1223		$(RESLIB7TARGETN) $(RESLIB8TARGETN) \
1224		$(RESLIB9TARGETN) \
1225                $(SIGNFORNETSCAPE) \
1226                $(SIGNFOREXPLORER) \
1227                $(SIGNFORJARSIGNER) \
1228		$(CONVERTUNIXTEXT) \
1229        $(LOCALIZE_ME_DEST)\
1230		$(EXTUPDATEINFO_DEST) \
1231		last_target
1232
1233.IF "$(BUILD_X64)"!=""
1234ALLTAR : \
1235		$(NOLIBOBJTARGET_X64) \
1236		$(NOLIBSLOTARGET_X64) \
1237		$(OBJTARGET_X64)	$(SLOTARGET_X64) \
1238		$(LIB1TARGET_X64)	$(LIB2TARGET_X64)	\
1239		$(DEF1TARGETN_X64)	$(DEF2TARGETN_X64)	\
1240		$(SHL1TARGETN_X64) 	$(SHL2TARGETN_X64)
1241.ENDIF # "$(BUILD_X64)"!=""
1242
1243ALLTAR : "$(SOLARINCDIR)/$(UPD)minor.mk"
1244
1245.IF "$(EXCEPTIONSNOOPT_FLAG)"==""
1246TARGETDEPS+=$(EXCEPTIONSNOOPTTARGET)
1247.ENDIF
1248
1249.IF "$(NOOPT_FLAG)"==""
1250TARGETDEPS+=$(NOOPTTARGET)
1251.ENDIF
1252
1253#don't override .TARGETS when called with targets
1254.IF "$(MAKETARGETS)$(TNR)$(EXCEPTIONSNOOPT_FLAG)$(EXCEPTIONS_FLAG)$(NOOPT_FLAG)"==""
1255.IF "$(TARGETDEPS)"!=""
1256#.TARGETS .SEQUENTIAL :- $(TARGETDEPS) ALLTAR
1257.INIT .SEQUENTIAL : $(TARGETDEPS) $(NULLPRQ)
1258.ENDIF
1259.ENDIF
1260
1261# -Gc breaks the dependency chain and causes indefinite nummbers of $(CPPUMAKER)
1262.IF "$(BOOTSTRAP_SERVICE)"!="TRUE"
1263CPPUMAKERFLAGS*=-L
1264.ENDIF			# "$(BOOTSTRAP_SERVICE)"!="TRUE"
1265
1266.IF "$(UNOTYPES)" != ""
1267# makeing all in one
1268.DIRCACHE=no
1269.IF "$(OBJFILES)"!=""
1270$(OBJFILES) : $(UNOUCRTARGET)
1271.ENDIF			# "$(OBJFILES)"!=""
1272.IF "$(SLOFILES)"!=""
1273$(SLOFILES) : $(UNOUCRTARGET)
1274.ENDIF			# "$(SLOFILES)"!=""
1275.IF "$(DEPOBJFILES)"!=""
1276$(DEPOBJFILES) : $(UNOUCRTARGET)
1277.ENDIF			# "$(SLOFILES)"!=""
1278.IF "$(NOOPTTARGET)"!=""
1279$(NOOPTTARGET) : $(UNOUCRTARGET)
1280.ENDIF			# "$(SLOFILES)"!=""
1281.IF "$(NOOPTFILES)"!=""
1282$(NOOPTFILES) : $(UNOUCRTARGET)
1283.ENDIF			# "$(SLOFILES)"!=""
1284.IF "$(EXCEPTIONSFILES)"!=""
1285$(EXCEPTIONSFILES) : $(UNOUCRTARGET)
1286.ENDIF			# "$(SLOFILES)"!=""
1287.IF "$(EXCEPTIONSNOOPTTARGET)"!=""
1288$(EXCEPTIONSNOOPTTARGET) : $(UNOUCRTARGET)
1289.ENDIF			# "$(SLOFILES)"!=""
1290.IF "$(EXCEPTIONSNOOPTFILES)"!=""
1291$(EXCEPTIONSNOOPTFILES) : $(UNOUCRTARGET)
1292.ENDIF			# "$(SLOFILES)"!=""
1293
1294$(UNOUCRTARGET) : $(UNOUCRHEADER)
1295
1296# keep that one to rebuild single misses
1297$(UNOUCRHEADER):
1298	@noop
1299
1300$(UNOUCRTARGET) : $(UNOUCRDEP)
1301.IF "$(XML2MK_FILES)"!=""
1302	@@-$(RM) $(foreach,i,$(XML2MK_FILES) $(MISC)/$(i).mk)
1303.ENDIF			# "$(XML2MK_FILES)"!=""
1304	@@-$(MKDIRHIER) $(UNOUCROUT)
1305	$(COMMAND_ECHO)$(CPPUMAKER) @$(mktmp $(CPPUMAKERFLAGS) -B$(UNOUCRBASE) -O$(UNOUCROUT) $(UNOTYPES:^"-T")  $(UNOUCRRDB)) && $(TOUCH) $@
1306.ENDIF			# "$(UNOTYPES)" != ""
1307
1308.IF "$(COMP1RDBTARGETN)"!=""
1309$(COMP1RDBTARGETN) : $(COMPRDB)
1310.ENDIF			# "$(COMP1RDBTARGETN)"!=""
1311
1312.IF "$(COMP2RDBTARGETN)"!=""
1313$(COMP2RDBTARGETN) : $(COMPRDB)
1314.ENDIF			# "$(COMP2RDBTARGETN)"!=""
1315
1316.IF "$(COMP3RDBTARGETN)"!=""
1317$(COMP3RDBTARGETN) : $(COMPRDB)
1318.ENDIF			# "$(COMP3RDBTARGETN)"!=""
1319
1320.IF "$(COMP4RDBTARGETN)"!=""
1321$(COMP4RDBTARGETN) : $(COMPRDB)
1322.ENDIF			# "$(COMP4RDBTARGETN)"!=""
1323
1324.IF "$(COMP5RDBTARGETN)"!=""
1325$(COMP5RDBTARGETN) : $(COMPRDB)
1326.ENDIF			# "$(COMP5RDBTARGETN)"!=""
1327
1328.IF "$(COMP6RDBTARGETN)"!=""
1329$(COMP6RDBTARGETN) : $(COMPRDB)
1330.ENDIF			# "$(COMP6RDBTARGETN)"!=""
1331
1332.IF "$(COMP7RDBTARGETN)"!=""
1333$(COMP7RDBTARGETN) : $(COMPRDB)
1334.ENDIF			# "$(COMP7RDBTARGETN)"!=""
1335
1336.IF "$(COMP8RDBTARGETN)"!=""
1337$(COMP8RDBTARGETN) : $(COMPRDB)
1338.ENDIF			# "$(COMP8RDBTARGETN)"!=""
1339
1340.IF "$(COMP9RDBTARGETN)"!=""
1341$(COMP9RDBTARGETN) : $(COMPRDB)
1342.ENDIF			# "$(COMP9RDBTARGETN)"!=""
1343
1344.ENDIF			# "$(L10N_framework)"!=""
1345.ELSE			# "$(lintit)"==""
1346
1347ALLTAR: $(OBJFILES) $(SLOFILES)
1348
1349.ENDIF			# "$(lintit)"==""
1350
1351.IF "$(SDINAME)"!=""
1352$(OBJ)/$(CINTERNAME).obj : $(SDITARGET)
1353.ENDIF
1354
1355.IF "$(SDI1NAME)"!=""
1356$(OBJ)/$(CINTER1NAME).obj : $(SDI1TARGET)
1357.ENDIF
1358
1359.IF "$(SDI2NAME)"!=""
1360$(OBJ)/$(CINTER2NAME).obj : $(SDI2TARGET)
1361.ENDIF
1362
1363.IF "$(SDI3NAME)"!=""
1364$(OBJ)/$(CINTER3NAME).obj : $(SDI3TARGET)
1365.ENDIF
1366
1367.IF "$(SDI4NAME)"!=""
1368$(OBJ)/$(CINTER4NAME).obj : $(SDI4TARGET)
1369.ENDIF
1370
1371.IF "$(SDI5NAME)"!=""
1372$(OBJ)/$(CINTER5NAME).obj : $(SDI5TARGET)
1373.ENDIF
1374
1375.IF "$(SOLAR_JAVA)"!=""
1376.IF "$(GENJAVAFILES)"!=""
1377$(GENJAVAFILES) : $(RDB)
1378$(JAVATARGET) : $(GENJAVAFILES)
1379.ENDIF			# "$(GENJAVAFILES)"!=""
1380.ENDIF          # "$(SOLAR_JAVA)"!=""
1381
1382.IF "$(HXXCOPYFILES)" != ""
1383$(HXXCOPYTARGET):	$(HXXCOPYFILES)
1384	$(COMMAND_ECHO)$(COPY) $(COPYUPDATE) $(HXXCOPYFILES) $(INCCOM) $(CHECKCOPYURESULT)
1385.ENDIF
1386
1387.IF "$(UNIXTEXT)"!=""
1388$(UNIXTEXT) : $(UNIXTEXT:f)
1389	@echo "Making:   " $@
1390	@@-$(RM) -f $@
1391	@tr -d "\015" < $(@:f) > $@
1392
1393.ENDIF			# "$(UNIXTEXT)"!=""
1394
1395.IF "$(WITH_LANG)"!=""
1396.IF "$(LOCALIZESDF)"!=""
1397
1398# dummy target to keep the build happy if not even the .zip exists. localization tools deal with not existing
1399# localize.sdf themself
1400"$(LOCALIZESDF)%":
1401	@echo $(LOCALIZESDF)
1402	@@-$(MKDIRHIER) $(@:d)
1403	$(TOUCH) $@
1404
1405.IF "$(LOCALIZATION_FOUND)"==""
1406.IF "$(LOCALSDFFILE)"!=""
1407"$(LOCALIZESDF)" : $(SOLARCOMMONSDFDIR)/$(PRJNAME).zip
1408	@@-$(MKDIRHIER) $(@:d)
1409    @@-$(MKDIRHIER) $(COMMONMISC)/$(PRJNAME)_$(TARGET)
1410	@-unzip -o -d $(COMMONMISC)/$(PRJNAME) $(SOLARCOMMONSDFDIR)/$(PRJNAME).zip $(subst,$(COMMONMISC)/$(PRJNAME)/, $@)
1411	@@$(TOUCH) $@
1412.ENDIF			# "$(LOCALSDFFILE)"!=""
1413.ENDIF			# "$(LOCALIZATION_FOUND)"==""
1414.ENDIF			# "$(LOCALIZESDF)"!=""
1415.ENDIF			# "$(WITH_LANG)"!=""
1416
1417.IF "$(EXTUPDATEINFO_NAME)"!=""
1418$(EXTUPDATEINFO_DEST) : $(EXTUPDATEINFO_SOURCE)
1419	$(PERL) $(SOLARENV)/bin/make_ext_update_info.pl --out $(EXTUPDATEINFO_DEST) $(foreach,i,$(EXTUPDATEINFO_URLS) --update-url "$i") $(EXTUPDATEINFO_SOURCE)
1420.ENDIF			# "$(EXTUPDATEINFO_NAME)"!=""
1421
1422makedoc:
1423		@@-mkdir $(OUT)/ucrdoc
1424		$(COMMAND_ECHO)$(IDLC) $(VERBOSITY) @$(mktmp $(IDLCFLAGS) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -C -O$(OUT)/ucrdoc/$(IDLPACKAGE) $(DEPIDLFILES:+"\n"))
1425
1426.IF "$(LOCALDBTARGET)"!=""
1427$(LOCALDBTARGET) : $(URDFILES) $(DEPIDLFILES)
1428	$(COMMAND_ECHO)$(IDLC) $(VERBOSITY) @$(mktmp $(IDLCFLAGS) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -O$(OUT)/ucr/$(IDLPACKAGE) $(all_outdated_idl))
1429	$(COMMAND_ECHO)-$(RM) $@
1430	$(COMMAND_ECHO)$(REGMERGE) $@ UCR @$(mktmp $(URDFILES))
1431.ENDIF
1432
1433.IF "$(LOCALDOCDBTARGET)"!=""
1434$(LOCALDOCDBTARGET) : $(URDDOCFILES) $(DEPIDLFILES)
1435	$(COMMAND_ECHO)$(IDLC) $(VERBOSITY) @$(mktmp $(IDLCFLAGS) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -C -O$(OUT)/ucrdoc/$(IDLPACKAGE) $(all_outdated_idl))
1436	$(COMMAND_ECHO)-$(RM) $@
1437	$(COMMAND_ECHO)$(REGMERGE) $@ UCR @$(mktmp $(URDDOCFILES))
1438.ENDIF
1439
1440.IF "$(UNOIDLDBTARGET)"!=""
1441$(UNOIDLDBTARGET) : $(UNOIDLDBFILES) $(UNOIDLDBREGS)
1442	$(COMMAND_ECHO)-$(RM) $@
1443	$(COMMAND_ECHO)$(REGMERGE) $@ / @$(mktmp $(UNOIDLDBFILES) $(UNOIDLDBREGS))
1444.IF "$(LOCALREGDB)"!=""
1445	$(COMMAND_ECHO)$(REGMERGE) $(LOCALREGDB) / $@
1446.ENDIF
1447.ENDIF			# "$(UNOIDLDBTARGET)"!=""
1448
1449.IF "$(UNOIDLDBDOCTARGET)"!=""
1450$(UNOIDLDBDOCTARGET) : $(UNOIDLDBDOCFILES) $(UNOIDLDBDOCREGS)
1451	$(COMMAND_ECHO)-$(RM) $@
1452	$(COMMAND_ECHO)$(REGMERGE) $@ / @$(mktmp $(UNOIDLDBDOCFILES) $(UNOIDLDBDOCREGS))
1453.IF "$(LOCALREGDB)"!=""
1454	$(COMMAND_ECHO)$(REGMERGE) $(LOCALREGDB) / $@
1455.ENDIF
1456.ENDIF			# "$(UNOIDLDBDOCTARGET)"!=""
1457
1458.IF "$(SCP_PRODUCT_TYPE)"!=""
1459$(SCP_PRODUCT_TYPE):
1460	@@-$(MKDIRHIER) $(PAR)/$@
1461	@@-$(MKDIRHIER) $(BIN)/$@
1462
1463.ENDIF			# "$(PARFILES)"!=""
1464
1465"$(SOLARVERSION)/$(INPATH)/inc$(UPDMINOREXT)/minormkchanged.flg" :
1466	$(TOUCH) $@
1467
1468.IF "$(COMPVERMK)"!=""
1469.IF "$(UPDATER)"!="" || "$(CWS_WORK_STAMP)"!=""
1470.IF "$(COMPATH:s!\!/!)"!="$(COMPATH_STORED)"
1471COMPVERMK_PHONY:=.PHONY
1472.ENDIF			# "$(COMPATH:s!\!/!)"!="$(COMPATH_STORED)"
1473COMPVTMP:=$(mktmp iii)
1474"$(COMPVERMK)" $(COMPVERMK_PHONY): $(SOLARVERSION)/$(INPATH)/inc$(UPDMINOREXT)/minormkchanged.flg
1475.IF "$(CCNUMVER)"!=""
1476	@echo COMNAME:=$(COMNAME) > $(COMPVTMP)
1477	@echo COMID:=$(COMID) >> $(COMPVTMP)
1478	@echo CCNUMVER:=$(CCNUMVER) >> $(COMPVTMP)
1479	@echo CCVER:=$(CCVER:s/-/ /:1) >> $(COMPVTMP)
1480	@echo CDEFS+=-DCPPU_ENV=$(COMNAME) >> $(COMPVTMP)
1481	@echo COMPATH_STORED:=$(COMPATH:s!\!/!) >> $(COMPVTMP)
1482	@@-$(RM) $(@)_$(COMPVTMP:b)
1483	@$(TYPE) $(COMPVTMP) | tr -d "\015" > $(@)_$(COMPVTMP:b)
1484	@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ >& $(NULLDEV) $(FI)
1485	@-$(RENAME) $(@)_$(COMPVTMP:b) $@
1486	@@-$(RM) $(@)_$(COMPVTMP:b)
1487.ELSE           # "$(CCNUMVER)"!=""
1488	@@-$(RM) $@
1489.ENDIF          # "$(CCNUMVER)"!=""
1490
1491.ENDIF			# "$(COMPVERMK)"!=""
1492.ENDIF			# "$(UPDATER)"!="" || "$(CWS_WORK_STAMP)"!=""
1493
1494.IF "$(JAVAVERMK)"!=""
1495.IF "$(JAVALOCATION)"!="$(JAVA_HOME)"
1496"$(JAVAVERMK)" .PHONY :
1497.ELSE          # "$(JAVALOCATION)"!="$(JAVA_HOME)"
1498"$(JAVAVERMK)" : $(SOLARVERSION)/$(INPATH)/inc$(UPDMINOREXT)/minormkchanged.flg
1499.ENDIF          # "$(JAVALOCATION)"!="$(JAVA_HOME)"
1500    @-$(RM) $@
1501	@echo JAVAVER:=$(JAVAVER) > $@
1502	@echo JAVANUMVER:=$(JAVANUMVER) >> $@
1503	@echo JAVALOCATION:=$(JAVA_HOME) >> $@
1504
1505.ENDIF			# "$(JAVAVERMK)"!=""
1506
1507# on recursive call there seems to be one blank in TARGETDEP
1508# which makes it not empty :-(
1509.IF "$(TARGETDEPS:s/ //)"!=""
1510$(TARGETDEPS) : $(LOCALIZE_ME_DEST)
1511.ENDIF          # "$(TARGETDEPS)"!=""
1512
1513.IF "$(LOCALIZE_ME_DEST)"!=""
1514
1515.IF "$(WITH_LANG)"==""
1516$(LOCALIZE_ME_DEST) : $(LOCALIZE_ME)
1517	$(COMMAND_ECHO)-$(RM) $(INCCOM)/$(TARGET)_lastrun.mk
1518    $(COMMAND_ECHO)-$(MKDIR) $(@:d)
1519    $(COMMAND_ECHO)-$(RM) $@
1520	$(COMMAND_ECHO)$(COPY) $(@:b:+"_tmpl")$(@:e) $@
1521
1522.ELSE			# "$(WITH_LANG)"==""
1523#  LASTRUN_MERGED
1524.INCLUDE .IGNORE : $(INCCOM)/$(TARGET)_lastrun.mk
1525.IF "$(LASTRUN_MERGED)"=="TRUE"
1526$(LOCALIZE_ME_DEST) : $(LOCALIZE_ME) $(LOCALIZESDF)
1527.ELSE			# "$(LASTRUN_MERGED)"=="TRUE"
1528$(LOCALIZE_ME_DEST) .PHONY : $(LOCALIZE_ME) $(LOCALIZESDF)
1529	echo LASTRUN_MERGED:=TRUE > $(INCCOM)/$(TARGET)_lastrun.mk
1530.ENDIF			# "$(LASTRUN_MERGED)"=="TRUE"
1531    $(COMMAND_ECHO)-$(MKDIR) $(@:d)
1532    $(COMMAND_ECHO)-$(RM) $@
1533	$(COMMAND_ECHO)$(TRANSEX) -p $(PRJNAME) -i $(@:b:+"_tmpl")$(@:e) -o $(@:d)/$(@:b:+"_tmpl")$(@:e).$(INPATH) -m $(LOCALIZESDF) -l all
1534    $(COMMAND_ECHO)$(RENAME) $(@:d)$(@:b:+"_tmpl")$(@:e).$(INPATH) $@
1535
1536.ENDIF			# "$(WITH_LANG)"==""
1537.ENDIF          # "$(LOCALIZE_ME_DEST)"!=""
1538
1539.IF "$(XMLPROPERTIES)"!=""
1540.IF "$(L10N_framework)"!=""
1541XML_ISO_CODE*=-ISO99 $(L10N_framework)
1542.ENDIF
1543.IF "$(WITH_LANG)"!=""
1544$(MISC)/$(TARGET)_%.done : $(COMMONMISC)/$(TARGET)/%.xrb
1545.ELSE			# "$(WITH_LANG)"!=""
1546$(MISC)/$(TARGET)_%.done : %.xrb
1547.ENDIF			# "$(WITH_LANG)"!=""
1548	@@-$(RM) $(MISC)/$(<:b).interm$(TARGET)
1549	native2ascii -encoding UTF8 $< $(MISC)/$(<:b).interm$(TARGET) && $(XMLEX) -i $(MISC)/$(<:b).interm$(TARGET) -o $(CLASSDIR) $(XML_ISO_CODE) -g -d $@
1550	@@$(RM)  $(MISC)/$(<:b).interm$(TARGET)
1551.ENDIF			# "$(XMLPROPERTIES)"!=""
1552
1553.IF "$(SDI1TARGET)$(SDI2TARGET)$(SDI3TARGET)$(SDI4TARGET)$(SDI5TARGET)$(SDI6TARGET)$(SDI7TARGET)$(SDI8TARGET)$(SDI9TARGET)"!=""
1554.INCLUDE : _tg_sdi.mk
1555.ENDIF			# "$(SDI1TARGET)$(SDI2TARGET)$(SDI3TARGET)$(SDI4TARGET)$(SDI5TARGET)$(SDI6TARGET)$(SDI7TARGET)$(SDI8TARGET)$(SDI9TARGET)"!=""
1556
1557.IF "$(DEF1NAME)$(DEF2NAME)$(DEF3NAME)$(DEF4NAME)$(DEF5NAME)$(DEF6NAME)$(DEF7NAME)$(DEF8NAME)$(DEF9NAME)"!=""
1558.INCLUDE : _tg_def.mk
1559.ENDIF
1560
1561# -------
1562# - LIB -
1563# -------
1564
1565.IF "$(OBJTARGET)$($(SECOND_BUILD)OBJTARGET)"!=""
1566.INCLUDE : tg_obj.mk
1567.ENDIF			# "$(OBJTARGET)$($(SECOND_BUILD)OBJTARGET)"!=""
1568
1569# -------
1570# - SLB -
1571# -------
1572
1573.IF "$(SLOTARGET)$($(SECOND_BUILD)SLOTARGET)"!=""
1574.INCLUDE : tg_slo.mk
1575.ENDIF			# "$(SLOTARGET)$($(SECOND_BUILD)SLOTARGET)"!=""
1576
1577# --------
1578# - LIBS -
1579# --------
1580
1581.IF "$(LIB1TARGET)$(LIB2TARGET)$(LIB3TARGET)$(LIB4TARGET)$(LIB5TARGET)$(LIB6TARGET)$(LIB7TARGET)$(LIB8TARGET)$(LIB9TARGET)" != ""
1582.INCLUDE : _tg_lib.mk
1583.ENDIF			# "$(LIB1TARGET)$(LIB2TARGET)$(LIB3TARGET)$(LIB4TARGET)$(LIB5TARGET)$(LIB6TARGET)$(LIB7TARGET)$(LIB8TARGET)$(LIB9TARGET)" != ""
1584
1585# -------
1586# - SRS -
1587# -------
1588
1589.IF "$(SRS1NAME)$(SRS2NAME)$(SRS3NAME)$(SRS4NAME)$(SRS5NAME)$(SRS6NAME)$(SRS7NAME)$(SRS8NAME)$(SRS9NAME)"!=""
1590.INCLUDE : _tg_srs.mk
1591.ENDIF          # "$(SRS1NAME)$(SRS2NAME)$(SRS3NAME)$(SRS4NAME)$(SRS5NAME)$(SRS6NAME)$(SRS7NAME)$(SRS8NAME)$(SRS9NAME)"!=""
1592
1593# -------
1594# - RES -
1595# -------
1596
1597.IF "$(RCTARGET)"!=""
1598.INCLUDE : tg_res.mk
1599.ENDIF			# "$(RCTARGET)"!=""
1600
1601# -------
1602# - SHL -
1603# -------
1604
1605.IF "$(SHL1TARGETN)$(SHL2TARGETN)$(SHL3TARGETN)$(SHL4TARGETN)$(SHL5TARGETN)$(SHL6TARGETN)$(SHL7TARGETN)$(SHL8TARGETN)$(SHL9TARGETN)"!=""
1606.INCLUDE : _tg_shl.mk
1607.ENDIF			# "$(SHL1TARGETN)$(SHL2TARGETN)$(SHL3TARGETN)$(SHL4TARGETN)$(SHL5TARGETN)$(SHL6TARGETN)$(SHL7TARGETN)$(SHL8TARGETN)$(SHL9TARGETN)"!=""
1608
1609.IF "$(USE_VERSIONH)"!=""
1610.INIT .SEQUENTIAL : $(USE_VERSIONH) $(NULLPRQ)
1611.ENDIF          # "$(USE_VERSIONH)"!=""
1612
1613# -------
1614# - APP -
1615# -------
1616
1617.IF "$(APP1TARGETN)$(APP2TARGETN)$(APP3TARGETN)$(APP4TARGETN)$(APP5TARGETN)$(APP6TARGETN)$(APP7TARGETN)$(APP8TARGETN)$(APP9TARGETN)"!=""
1618.INCLUDE : _tg_app.mk
1619.ENDIF
1620
1621# -------
1622# - SCP -
1623# -------
1624
1625.IF "$(SCP1TARGETN)$(SCP2TARGETN)$(SCP3TARGETN)$(SCP4TARGETN)$(SCP5TARGETN)$(SCP6TARGETN)$(SCP7TARGETN)$(SCP8TARGETN)$(SCP9TARGETN)"!=""
1626.INCLUDE : _tg_scp.mk
1627.ENDIF
1628
1629# -------
1630# - ZIP -
1631# -------
1632
1633.IF "$(ZIP1TARGET)$(ZIP2TARGET)$(ZIP3TARGET)$(ZIP4TARGET)$(ZIP5TARGET)$(ZIP6TARGET)$(ZIP7TARGET)$(ZIP8TARGET)$(ZIP9TARGET)"!=""
1634.INCLUDE : _tg_zip.mk
1635.ENDIF
1636
1637# -------
1638# - RESLIBTARGET -
1639# -------
1640
1641.IF "$(RESLIB1TARGETN)$(RESLIB2TARGETN)$(RESLIB3TARGETN)$(RESLIB4TARGETN)$(RESLIB5TARGETN)$(RESLIB6TARGETN)$(RESLIB7TARGETN)$(RESLIB8TARGETN)$(RESLIB9TARGETN)"!=""
1642.INCLUDE : _tg_rslb.mk
1643.ENDIF
1644
1645# -------
1646# - processing config -
1647# -------
1648
1649.IF "$(XCSFILES)$(XCUFILES)"!=""
1650.INCLUDE : tg_config.mk
1651.ENDIF			# "$(XCSFILES)$(XCUFILES)"!=""
1652
1653
1654# ------------------
1655# - INCLUDE DEPEND -
1656# ------------------
1657
1658# same block as in depend build
1659.IF "$(MAKEFILERC)"==""
1660.IF "$(RCFILES)$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)$(PARFILES)" != ""
1661.IF "$(DEPFILES)" != ""
1662.INCLUDE : $(DEPFILES)
1663.ENDIF			# "$(DEPFILES)" != ""
1664.IF "$(nodep)"==""
1665.IF "$(DEPCOLLECT_SLO)" != ""
1666.PHONY : $(DEPCOLLECT_SLO)
1667.INCLUDE .IGNORE : $(DEPCOLLECT_SLO)
1668.INCLUDE : $(DEPFILE_SLO)
1669.ENDIF			# "$(DEPCOLLECT_SLO)" != ""
1670.IF "$(DEPCOLLECT_OBJ)" != ""
1671.PHONY : $(DEPCOLLECT_OBJ)
1672.INCLUDE .IGNORE : $(DEPCOLLECT_OBJ)
1673.INCLUDE : $(DEPFILE_OBJ)
1674.ENDIF			# "$(DEPCOLLECT_OBJ)" != ""
1675.ENDIF			# "$(nodep)"==""
1676.ENDIF			# "$(RCFILES)$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)$(PARFILES)" != ""
1677.ELSE		# MAKEFILERC
1678.ENDIF		# MAKEFILERC
1679
1680.IF "$(make_srs_deps)"==""
1681.IF "$(SRCFILES)" != "" || "$(SRC1FILES)" != "" || "$(SRC2FILES)" != ""
1682.IF "$(nodep)"==""
1683.INCLUDE : $(MISC)/$(TARGET).dpr
1684.ENDIF			# "$(nodep)"==""
1685.ENDIF
1686.ENDIF
1687
1688.IF "$(make_zip_deps)"==""
1689.IF "$(ZIP1TARGET)" != "" || "$(ZIP2TARGET)" != "" || "$(ZIP3TARGET)" != ""
1690.IF "$(nodep)"==""
1691.INCLUDE : $(MISC)/$(TARGET).dpz
1692# introduce separation char
1693missing_zipdep_langs=$(alllangiso:^"+":+"+")
1694some_dummy_var:=$(foreach,i,$(zipdep_langs) $(assign missing_zipdep_langs:=$(strip $(subst,+$(i)+, $(missing_zipdep_langs)))))
1695.IF "$(missing_zipdep_langs)"!=""
1696ZIPDEPPHONY=.PHONY
1697.ENDIF			# "$(missing_zipdep_langs)"!=""
1698.ENDIF			# "$(nodep)"==""
1699.ENDIF
1700.ENDIF
1701
1702last_target:
1703	$(NULL)
1704
1705$(MISC)/$(TARGET)genjava.mk: 	$(IDLFILES)
1706
1707.IF "$(JAVACLASSFILES:s/DEFINED//)"!=""
1708.IF "$(L10N_framework)"==""
1709.INCLUDE .IGNORE : $(MISC)/$(TARGET).dpj
1710$(TARGETDPJ) : $(JAVAFILES) $(JAVATARGET)
1711.ENDIF			# "$(L10N_framework)"==""
1712.ENDIF
1713
1714.IF "$(JARTARGETN)"!=""
1715.INCLUDE : tg_jar.mk
1716.ENDIF			# "$(JARTARGETN)"!=""
1717
1718# ----------------------------------
1719# - NOOPT - files ohne optimierung -
1720# ----------------------------------
1721
1722.IF "$(NOOPTTARGET)" != ""
1723.IF "$(NOOPT_FLAG)" == ""
1724
1725$(NOOPTTARGET):
1726.IF "$(VERBOSE)" == "TRUE"
1727	@echo --- NOOPTFILES ---
1728.ENDIF
1729	@dmake $(MFLAGS) $(MAKEFILE) nopt=true $(NOOPTFILES) NOOPT_FLAG=TRUE $(CALLMACROS)
1730.IF "$(VERBOSE)" == "TRUE"
1731	@echo --- NOOPTFILES OVER ---
1732.ENDIF
1733
1734$(NOOPTFILES):
1735.IF "$(VERBOSE)" == "TRUE"
1736	@echo --- NOOPT ---
1737.ENDIF
1738	@dmake $(MFLAGS) $(MAKEFILE) nopt=true NOOPT_FLAG=TRUE $(CALLMACROS) $@
1739.IF "$(VERBOSE)" == "TRUE"
1740	@echo --- NOOPT OVER ---
1741.ENDIF
1742.ENDIF
1743.ENDIF
1744
1745
1746# ----------------------------------
1747# - EXCEPTIONSNOOPT - files with exceptions, without optimization -
1748# ----------------------------------
1749
1750.IF "$(EXCEPTIONSNOOPTTARGET)" != ""
1751.IF "$(EXCEPTIONSNOOPT_FLAG)" == ""
1752
1753$(EXCEPTIONSNOOPTTARGET):
1754.IF "$(VERBOSE)" == "TRUE"
1755	@echo --- EXCEPTIONSNOOPTFILES ---
1756.ENDIF
1757	@dmake $(MFLAGS) $(MAKEFILE) ENABLE_EXCEPTIONS=true $(EXCEPTIONSNOOPTFILES) EXCEPTIONSNOOPT_FLAG=TRUE nopt=true $(CALLMACROS)
1758.IF "$(VERBOSE)" == "TRUE"
1759	@echo --- EXCEPTIONSNOOPTFILES OVER ---
1760.ENDIF
1761
1762$(EXCEPTIONSNOOPTFILES):
1763.IF "$(VERBOSE)" == "TRUE"
1764	@echo --- EXCEPTIONSNOOPT ---
1765.ENDIF
1766	@dmake $(MFLAGS) $(MAKEFILE) ENABLE_EXCEPTIONS=true EXCEPTIONSNOOPT_FLAG=TRUE nopt=true $(CALLMACROS) $@
1767.IF "$(VERBOSE)" == "TRUE"
1768	@echo --- EXCEPTIONSNOOPT OVER ---
1769.ENDIF
1770
1771
1772.ENDIF
1773.ENDIF
1774
1775.IF "$(nodep)"==""
1776# recreate dependency files that were removed manually or vanished otherwise...
1777forcedeps: $(DEPFILE_SLO) $(DEPFILE_OBJ)
1778	@$(null,$(DEPS_MISSING) noop $(eq,$(sort $(DEPS_MISSING)),$(sort $(DEPS_MADE)) noop dmake depend=t $(MFLAGS) $(MAKEMACROS) ALLDEP))
1779	@noop $(foreach,i,$($(TARGET)_known_dpcc) $(assign DEPS_MADE:=$(subst,$i, $(DEPS_MADE))))
1780	@$(null,$(DEPS_MADE) noop $(null,$(DEPFILE_SLO) noop $(RM) $(DEPFILE_SLO)))
1781	@$(null,$(DEPS_MADE) noop $(null,$(DEPFILE_OBJ) noop $(RM) $(DEPFILE_OBJ)))
1782
1783ALLTAR : forcedeps
1784
1785.ENDIF			# "$(nodep)"==""
1786
1787# -------------------------
1788# - several kill targets -
1789# -------------------------
1790
1791"$(TMP)/makedt.don":
1792	@$(TOUCH) $(TMP)/makedt.don
1793
1794killbin:
1795.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
1796	@$(IFEXIST) $(BIN)/$(SHL1TARGET).dll $(THEN) $(RM:s/+//) $(BIN)/$(SHL1TARGET).dll $(FI)
1797	@$(IFEXIST) $(BIN)/$(SHL2TARGET).dll $(THEN) $(RM:s/+//) $(BIN)/$(SHL2TARGET).dll $(FI)
1798	@$(IFEXIST) $(BIN)/$(SHL3TARGET).dll $(THEN) $(RM:s/+//) $(BIN)/$(SHL3TARGET).dll $(FI)
1799	@$(IFEXIST) $(BIN)/$(SHL4TARGET).dll $(THEN) $(RM:s/+//) $(BIN)/$(SHL4TARGET).dll $(FI)
1800	@$(IFEXIST) $(BIN)/$(SHL5TARGET).dll $(THEN) $(RM:s/+//) $(BIN)/$(SHL5TARGET).dll $(FI)
1801	@$(IFEXIST) $(BIN)/$(SHL6TARGET).dll $(THEN) $(RM:s/+//) $(BIN)/$(SHL6TARGET).dll $(FI)
1802	@$(IFEXIST) $(BIN)/$(SHL7TARGET).dll $(THEN) $(RM:s/+//) $(BIN)/$(SHL7TARGET).dll $(FI)
1803	@$(IFEXIST) $(BIN)/$(SHL8TARGET).dll $(THEN) $(RM:s/+//) $(BIN)/$(SHL8TARGET).dll $(FI)
1804	@$(IFEXIST) $(BIN)/$(SHL9TARGET).dll $(THEN) $(RM:s/+//) $(BIN)/$(SHL9TARGET).dll $(FI)
1805	@$(IFEXIST) $(BIN)/$(APP1TARGET)$(EXECPOST) $(THEN) $(RM:s/+//) $(BIN)/$(APP1TARGET)$(EXECPOST) $(FI)
1806	@$(IFEXIST) $(BIN)/$(APP2TARGET)$(EXECPOST) $(THEN) $(RM:s/+//) $(BIN)/$(APP2TARGET)$(EXECPOST) $(FI)
1807	@$(IFEXIST) $(BIN)/$(APP3TARGET)$(EXECPOST) $(THEN) $(RM:s/+//) $(BIN)/$(APP3TARGET)$(EXECPOST) $(FI)
1808	@$(IFEXIST) $(BIN)/$(APP4TARGET)$(EXECPOST) $(THEN) $(RM:s/+//) $(BIN)/$(APP4TARGET)$(EXECPOST) $(FI)
1809	@$(IFEXIST) $(BIN)/$(APP5TARGET)$(EXECPOST) $(THEN) $(RM:s/+//) $(BIN)/$(APP5TARGET)$(EXECPOST) $(FI)
1810	@$(IFEXIST) $(BIN)/$(APP6TARGET)$(EXECPOST) $(THEN) $(RM:s/+//) $(BIN)/$(APP6TARGET)$(EXECPOST) $(FI)
1811	@$(IFEXIST) $(BIN)/$(APP7TARGET)$(EXECPOST) $(THEN) $(RM:s/+//) $(BIN)/$(APP7TARGET)$(EXECPOST) $(FI)
1812	@$(IFEXIST) $(BIN)/$(APP8TARGET)$(EXECPOST) $(THEN) $(RM:s/+//) $(BIN)/$(APP8TARGET)$(EXECPOST) $(FI)
1813	@$(IFEXIST) $(BIN)/$(APP9TARGET)$(EXECPOST) $(THEN) $(RM:s/+//) $(BIN)/$(APP9TARGET)$(EXECPOST) $(FI)
1814
1815.ELSE			# "$(GUI)"=="WNT"
1816.IF "$(SHL1TARGET)"!=""
1817	@-$(RM) $(LB)/$(SHL1DLLPRE)$(SHL1TARGET)$(DLLPOST)
1818.ENDIF
1819.IF "$(SHL2TARGET)"!=""
1820	@-$(RM) $(LB)/$(SHL2DLLPRE)$(SHL2TARGET)$(DLLPOST)
1821.ENDIF
1822.IF "$(SHL3TARGET)"!=""
1823	@-$(RM) $(LB)/$(SHL3DLLPRE)$(SHL3TARGET)$(DLLPOST)
1824.ENDIF
1825.IF "$(SHL4TARGET)"!=""
1826	@-$(RM) $(LB)/$(SHL4DLLPRE)$(SHL4TARGET)$(DLLPOST)
1827.ENDIF
1828.IF "$(SHL5TARGET)"!=""
1829	@-$(RM) $(LB)/$(SHL5DLLPRE)$(SHL5TARGET)$(DLLPOST)
1830.ENDIF
1831.IF "$(SHL6TARGET)"!=""
1832	@-$(RM) $(LB)/$(SHL6DLLPRE)$(SHL6TARGET)$(DLLPOST)
1833.ENDIF
1834.IF "$(SHL7TARGET)"!=""
1835	@-$(RM) $(LB)/$(SHL7DLLPRE)$(SHL7TARGET)$(DLLPOST)
1836.ENDIF
1837.IF "$(SHL8TARGET)"!=""
1838	@-$(RM) $(LB)/$(SHL8DLLPRE)$(SHL8TARGET)$(DLLPOST)
1839.ENDIF
1840.IF "$(SHL9TARGET)"!=""
1841	@-$(RM) $(LB)/$(SHL9DLLPRE)$(SHL9TARGET)$(DLLPOST)
1842.ENDIF
1843.IF "$(APP1TARGET)"!=""
1844	@-$(RM) $(BIN)/$(APP1TARGET)$(EXECPOST)
1845.ENDIF
1846.IF "$(APP2TARGET)"!=""
1847	@-$(RM) $(BIN)/$(APP2TARGET)$(EXECPOST)
1848.ENDIF
1849.IF "$(APP3TARGET)"!=""
1850	@-$(RM) $(BIN)/$(APP3TARGET)$(EXECPOST)
1851.ENDIF
1852.IF "$(APP4TARGET)"!=""
1853	@-$(RM) $(BIN)/$(APP4TARGET)$(EXECPOST)
1854.ENDIF
1855.IF "$(APP5TARGET)"!=""
1856	@-$(RM) $(BIN)/$(APP5TARGET)$(EXECPOST)
1857.ENDIF
1858.IF "$(APP6TARGET)"!=""
1859	@-$(RM) $(BIN)/$(APP6TARGET)$(EXECPOST)
1860.ENDIF
1861.IF "$(APP7TARGET)"!=""
1862	@-$(RM) $(BIN)/$(APP7TARGET)$(EXECPOST)
1863.ENDIF
1864.IF "$(APP8TARGET)"!=""
1865	@-$(RM) $(BIN)/$(APP8TARGET)$(EXECPOST)
1866.ENDIF
1867.IF "$(APP9TARGET)"!=""
1868	@-$(RM) $(BIN)/$(APP9TARGET)$(EXECPOST)
1869.ENDIF
1870.ENDIF			# "$(GUI)"=="WNT"
1871
1872killobj:
1873.IF "$(SLOFILES)" != ""
1874	-cd $(SLO) && $(TYPE:s/+//) $(mktmp  $(SLOFILES:f)) | xargs -n 20 rm
1875	-cd $(SLO) && $(TYPE:s/+//) $(mktmp  $(SLOFILES:s/.obj/.o/:f)) | xargs -n 20 rm
1876.ENDIF
1877.IF "$(OBJFILES)" != ""
1878	-cd $(OBJ) && $(TYPE:s/+//) $(mktmp  $(OBJFILES:f)) | xargs -n 20 rm
1879	-cd $(OBJ) && $(TYPE:s/+//) $(mktmp  $(OBJFILES:s/.obj/.o/:f)) | xargs -n 20 rm
1880.ENDIF
1881
1882.IF "$(REAL_$(SECOND_BUILD)_SLOFILES)" != ""
1883	-cd $(REAL_$(SECOND_BUILD)_SLO) && $(TYPE:s/+//) $(mktmp  $(REAL_$(SECOND_BUILD)_SLOFILES:f)) | xargs -n 20 rm
1884	-cd $(REAL_$(SECOND_BUILD)_SLO) && $(TYPE:s/+//) $(mktmp  $(REAL_$(SECOND_BUILD)_SLOFILES:s/.obj/.o/:f)) | xargs -n 20 rm
1885.ENDIF
1886.IF "$(REAL_$(SECOND_BUILD)_OBJFILES)" != ""
1887	-cd $(REAL_$(SECOND_BUILD)_OBJ) && $(TYPE:s/+//) $(mktmp  $(REAL_$(SECOND_BUILD)_OBJFILES:f)) | xargs -n 20 rm
1888	-cd $(REAL_$(SECOND_BUILD)_OBJ) && $(TYPE:s/+//) $(mktmp  $(REAL_$(SECOND_BUILD)_OBJFILES:s/.obj/.o/:f)) | xargs -n 20 rm
1889.ENDIF
1890.IF "$(DEPOBJFILES)" != ""
1891	-cd $(SLO) && $(TYPE:s/+//) $(mktmp  $(DEPOBJFILES:f)) | xargs -n 20 rm
1892	-cd $(SLO) && $(TYPE:s/+//) $(mktmp  $(DEPOBJFILES:s/.obj/.o/:f)) | xargs -n 20 rm
1893	-cd $(OBJ) && $(TYPE:s/+//) $(mktmp  $(DEPOBJFILES:f)) | xargs -n 20 rm
1894	-cd $(OBJ) && $(TYPE:s/+//) $(mktmp  $(DEPOBJFILES:s/.obj/.o/:f)) | xargs -n 20 rm
1895.ENDIF
1896	@echo objects weg!
1897
1898killsrs:
1899# doesn't work - fix me!
1900.IF "$(SRSFILES)" != ""
1901	$(RM) $(SRSFILES)
1902.ENDIF
1903	@echo srsfiles weg!
1904
1905killres:
1906.IF "$(RESLIB1TARGETN)$(RESLIB2TARGETN)$(RESLIB3TARGETN)$(RESLIB4TARGETN)$(RESLIB5TARGETN)$(RESLIB6TARGETN)$(RESLIB7TARGETN)$(RESLIB8TARGETN)$(RESLIB9TARGETN)"!=""
1907	@(COMMAND_ECHO)$(RM) $(RESLIB1TARGETN) $(RESLIB2TARGETN) $(RESLIB3TARGETN) $(RESLIB4TARGETN) $(RESLIB5TARGETN) $(RESLIB6TARGETN) $(RESLIB7TARGETN) $(RESLIB8TARGETN) $(RESLIB9TARGETN)
1908	@echo resource files removed!
1909.ELSE			# "$(RESLIB1TARGETN)$(RESLIB2TARGETN)$(RESLIB3TARGETN)$(RESLIB4TARGETN)$(RESLIB5TARGETN)$(RESLIB6TARGETN)$(RESLIB7TARGETN)$(RESLIB8TARGETN)$(RESLIB9TARGETN)"!=""
1910	@echo no resource files defined!
1911.ENDIF			# "$(RESLIB1TARGETN)$(RESLIB2TARGETN)$(RESLIB3TARGETN)$(RESLIB4TARGETN)$(RESLIB5TARGETN)$(RESLIB6TARGETN)$(RESLIB7TARGETN)$(RESLIB8TARGETN)$(RESLIB9TARGETN)"!=""
1912
1913killdef:
1914.IF "$(DEFTARGETN)" != ""
1915	@(COMMAND_ECHO)$(RM) $(DEFTARGETN)
1916.ENDIF
1917	@echo deffiles weg!
1918
1919killlib:
1920.IF "$(LIB1TARGETN)$(LIB2TARGETN)$(LIB3TARGETN)$(LIB4TARGETN)$(LIB5TARGETN)$(LIB6TARGETN)$(LIB7TARGETN)$(LIB8TARGETN)$(LIB9TARGETN)"!=""
1921	@(COMMAND_ECHO)$(RM) $(LIB1TARGETN) $(LIB2TARGETN) $(LIB3TARGETN) $(LIB4TARGETN) $(LIB5TARGETN) $(LIB6TARGETN) $(LIB7TARGETN) $(LIB8TARGETN) $(LIB9TARGETN)
1922.IF "$(LIB1ARCHIV)$(LIB2ARCHIV)$(LIB3ARCHIV)$(LIB4ARCHIV)$(LIB5ARCHIV)$(LIB6ARCHIV)$(LIB7ARCHIV)$(LIB8ARCHIV)$(LIB9ARCHIV)"!=""
1923	@(COMMAND_ECHO)$(RM) $(LIB1ARCHIV) $(LIB2ARCHIV) $(LIB3ARCHIV) $(LIB4ARCHIV) $(LIB5ARCHIV) $(LIB6ARCHIV) $(LIB7ARCHIV) $(LIB8ARCHIV) $(LIB9ARCHIV)
1924.ENDIF			# "$(LIB1ARCHIV)$(LIB2ARCHIV)$(LIB3ARCHIV)$(LIB4ARCHIV)$(LIB5ARCHIV)$(LIB6ARCHIV)$(LIB7ARCHIV)$(LIB8ARCHIV)$(LIB9ARCHIV)"!=""
1925	@echo lib/archive files removed!
1926.ENDIF			# "$(LIB1TARGETN)$(LIB2TARGETN)$(LIB3TARGETN)$(LIB4TARGETN)$(LIB5TARGETN)$(LIB6TARGETN)$(LIB7TARGETN)$(LIB8TARGETN)$(LIB9TARGETN)"!=""
1927.IF "$(SLOTARGET)$(OBJTARGET)"!=""
1928	@(COMMAND_ECHO)$(RM) $(SLOTARGET) $(OBJTARGET)
1929	@echo default lib files removed!
1930.ENDIF			# "$(SLOTARGET)$(OBJTARGET)"!=""
1931	@echo done!
1932
1933clean_misc :
1934.IF "$(MISC)"!=""
1935	rm -rf $(MISC)/*
1936	@echo misc is gone!
1937.ELSE			# "$(MISC)"!=""
1938	@echo can\'t be done! $$(MISC) not defined.
1939.ENDIF			# "$(MISC)"!=""
1940
1941clean_all :
1942.IF "$(OUT)"!=""
1943	test -f $(PRJ)/prj/build.lst && rm -rf $(OUT)
1944	@echo local output tree is gone!
1945.ELSE			# "$(OUT)"!=""
1946	@echo can\'t be done! $$(OUT) not defined.
1947.ENDIF			# "$(OUT)"!=""
1948
1949
1950SRCALLTARGET:	\
1951		$(SDITARGET)	$(SDI1TARGET)	$(SDI2TARGET)		\
1952		$(SDI3TARGET)	$(SDI4TARGET)	$(SDI5TARGET)		\
1953		$(SRC1TARGET)	\
1954		$(SRC2TARGET)	\
1955		$(SRC3TARGET)	$(RCTARGET)		  \
1956		$(SRC4TARGET)	$(SRC5TARGET)	$(SRC6TARGET)		\
1957		$(SRC7TARGET)	$(SRC8TARGET)	$(SRC9TARGET)		\
1958		$(SRC10TARGET)	$(SRC11TARGET)	$(SRC12TARGET)		\
1959		$(SRC13TARGET)	$(SRC14TARGET)	$(SRC15TARGET)		\
1960		$(SRC16TARGET)
1961
1962.IF "$(ZIP1TARGETN)$(ZIP2TARGETN)$(ZIP3TARGETN)$(ZIP4TARGETN)$(ZIP5TARGETN)$(ZIP6TARGETN)$(ZIP7TARGETN)$(ZIP8TARGETN)$(ZIP9TARGETN)"!=""
1963ZIPALLTARGET: \
1964		$(ZIP1TARGETN) \
1965		$(ZIP2TARGETN) \
1966		$(ZIP3TARGETN) \
1967		$(ZIP4TARGETN) \
1968		$(ZIP5TARGETN) \
1969		$(ZIP6TARGETN) \
1970		$(ZIP7TARGETN) \
1971		$(ZIP8TARGETN) \
1972		$(ZIP9TARGETN)
1973.ELSE
1974ZIPALLTARGET:
1975.IF "$(VERBOSE)" != "FALSE"
1976    @echo ---------------------------------------
1977.ENDIF
1978	@echo nothing to zip for activated languages!
1979.IF "$(VERBOSE)" != "FALSE"
1980    @echo ---------------------------------------
1981.ENDIF
1982.ENDIF
1983
1984
1985#temporary workaround for non-existing delzip in extras
1986delzip:
1987	@echo
1988	@echo ERROR: ZIPnTARGETS need a file named "delzip" to exist beside their makefile.mk
1989	@echo ERROR: Create an empty file named delzip and commit it
1990	@echo ERROR: for details see #i78434#
1991	force_dmake_to_error
1992
1993.IF "$(make_srs_deps)"==""
1994$(MISC)/$(TARGET).dpr : $(SRCFILES) $(SRC1FILES) $(SRC2FILES) $(SRC3FILES)
1995.ENDIF
1996
1997.IF "$(make_zip_deps)"==""
1998$(MISC)/$(TARGET).dpz $(ZIPDEPPHONY) : $(ZIP1TARGETN) $(ZIP2TARGETN) $(ZIP3TARGETN) $(ZIP4TARGETN) $(ZIP5TARGETN) $(ZIP6TARGETN) $(ZIP7TARGETN) $(ZIP8TARGETN) $(ZIP9TARGETN)
1999.ENDIF
2000
2001VERSIONTMP:=$(mktmp iii)
2002$(INCCOM)/%_version.h : $(SOLARVERSION)/$(INPATH)/inc$(UPDMINOREXT)/minormkchanged.flg
2003	@echo $(EMQ)#define _BUILD $(EMQ)"$(BUILD)$(EMQ)" > $(VERSIONTMP)
2004	@echo $(EMQ)#define _UPD $(EMQ)"$(UPD)$(EMQ)"                 >> $(VERSIONTMP)
2005	@echo $(EMQ)#define _LAST_MINOR $(EMQ)"$(LAST_MINOR)$(EMQ)"   >> $(VERSIONTMP)
2006	@echo $(EMQ)#define _RSCREVISION $(EMQ)"$(USQ)$(RSCREVISION)$(USQ)$(EMQ)" >> $(VERSIONTMP)
2007	@echo $(EMQ)#define _INPATH $(EMQ)"$(INPATH)$(EMQ)"           >> $(VERSIONTMP)
2008	@@-$(RM) $(@)_$(VERSIONTMP:b)
2009	@$(TYPE) $(VERSIONTMP) > $(@)_$(VERSIONTMP:b)
2010	@@-$(RM) $@
2011	@-$(RENAME) $(@)_$(VERSIONTMP:b) $@
2012
2013.IF "$(MAKEFILERC)"==""
2014warn_target_empty:
2015	@echo '*'
2016	@echo '* error $$(TARGET) is empty - this will cause problems'
2017	@echo '*'
2018	force_dmake_to_error
2019.ELSE
2020warn_target_empty:
2021	@echo generated makefile.rc detected
2022.ENDIF
2023
2024.IF "$(UNOTYPES)" != ""
2025UNOUCRDEPxxx : $(UNOUCRDEP);
2026.ENDIF			# "$(UNOTYPES)" != ""
2027
2028
2029##new hid.lst trigger with GEN_HID2=TRUE
2030#$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/hid.lst .PHONY :
2031#	@echo "Making:   " $@
2032#	@echo $(WORK_STAMP).$(LAST_MINOR) 010101010101010 > $@.$(ROUT).tmp
2033#	$(COMMAND_ECHO)$(TYPE) $(SOLARCOMMONBINDIR)/hid/*.hid | tr -d "\015" | $(SORT) -u >> $@.$(ROUT).tmp
2034#	@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
2035#	@-$(RENAME) $@.$(ROUT).tmp $@
2036#	@-mkdir $(@:d)hid
2037#	$(COMMAND_ECHO)$(PERL) $(SOLARENV)/bin/gen_userfeedback_VCL_names.pl $@ $(SOLARCOMMONBINDIR)/win $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/hid/userfeedback_VCL_names.csv.$(ROUT).tmp
2038#	@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/hid/userfeedback_VCL_names.csv $(FI)
2039#	@-$(RENAME) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/hid/userfeedback_VCL_names.csv.$(ROUT).tmp $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/hid/userfeedback_VCL_names.csv
2040
2041
2042.IF "$(SOLAR_JAVA)"!=""
2043.IF "$(JAVACLASSFILES:s/DEFINED//)$(javauno)"!=""
2044.INCLUDE : tg_java.mk
2045.ENDIF			# "$(JAVACLASSFILES:s/DEFINED//)$(javauno)"!=""
2046.ENDIF          # "$(SOLAR_JAVA)"!=""
2047
2048.INCLUDE : tg_merge.mk
2049.INCLUDE : tg_propmerge.mk
2050.INCLUDE : tg_xmerge.mk
2051
2052wordcount:
2053	wc *.* >> $(TMP)/wc.lst
2054
2055testt:
2056	@echo test
2057
2058.ELSE			# "$(depend)" == ""
2059
2060# ----------
2061# - DEPEND -
2062# ----------
2063
2064ALLTAR : ALLDEP \
2065		$(SUBDIRS)
2066
2067# same block as in regular build
2068.IF "$(MAKEFILERC)"==""
2069.IF "$(RCFILES)$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)$(PARFILES)" != ""
2070.IF "$(DEPFILES)" != ""
2071.INCLUDE : $(DEPFILES)
2072.ENDIF			# "$(DEPFILES)" != ""
2073.IF "$(nodep)"==""
2074.IF "$(DEPCOLLECT_SLO)" != ""
2075.PHONY : $(DEPCOLLECT_SLO)
2076.INCLUDE .IGNORE : $(DEPCOLLECT_SLO)
2077.INCLUDE : $(DEPFILE_SLO)
2078.ENDIF			# "$(DEPCOLLECT_SLO)" != ""
2079.IF "$(DEPCOLLECT_OBJ)" != ""
2080.PHONY : $(DEPCOLLECT_OBJ)
2081.INCLUDE .IGNORE : $(DEPCOLLECT_OBJ)
2082.INCLUDE : $(DEPFILE_OBJ)
2083.ENDIF			# "$(DEPCOLLECT_OBJ)" != ""
2084.ENDIF			# "$(nodep)"==""
2085.ENDIF			# "$(RCFILES)$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)$(PARFILES)" != ""
2086.ELSE		# MAKEFILERC
2087.ENDIF		# MAKEFILERC
2088
2089.INCLUDE : tg_dep.mk
2090
2091.ENDIF			# "$(depend)" == ""
2092
2093.IF "$(SUBDIRS)"!=""
2094
2095$(SUBDIRS) : $(SUBDIRSDEPS)
2096
2097.IF "$(mk_tmp)$(BSCLIENT)"!=""
2098$(SUBDIRS)  .PHONY :
2099	@echo ignoring SUBDIRS
2100
2101.ELSE			# "$(mk_tmp)$(BSCLIENT)"!=""
2102#.IF "$(PRJNAME)"!="sw"
2103.IF "$(GUI)"!="UNX"
2104$(SUBDIRS) .PHONY :
2105	@[
2106		cd $@
2107		cd
2108		@$(MAKECMD) subdmake=true $(MFLAGS) $(CALLMACROS)
2109	]
2110.ELSE			# "$(GUI)"!="UNX"
2111$(SUBDIRS) .PHONY :
2112	cd $@; $(MAKECMD) subdmake=true $(MFLAGS) $(CALLMACROS)
2113.ENDIF			# "$(GUI)"!="UNX"
2114#.ENDIF
2115.ENDIF			# "$(mk_tmp)$(BSCLIENT)"!=""
2116.ENDIF			# "$(SUBDIRS)"!=""
2117
2118# workaround for strange dmake bug:
2119# if the previous block was a rule or a target, "\#" isn't recognized
2120# as an escaped "#". if it was an assignment, escaping works...
2121some_unique_variable_name:=1
2122