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