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