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