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