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