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