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