quickSelfTest/bc.mak
author Claus Gittinger <cg@exept.de>
Thu, 28 Mar 2019 13:54:38 +0100
changeset 542 aa25a71be62a
parent 519 e5b6fe1d2005
permissions -rw-r--r--
#DOCUMENTATION by cg
class: stx_goodies_builder_quickSelfTest
class definition

class: stx_goodies_builder_quickSelfTest class
added:18 methods
     1 # $Header$
     2 #
     3 # DO NOT EDIT 
     4 # automagically generated from the projectDefinition: stx_goodies_builder_quickSelfTest.
     5 #
     6 # Warning: once you modify this file, do not rerun
     7 # stmkmp or projectDefinition-build again - otherwise, your changes are lost.
     8 #
     9 # Historic Note:
    10 #  this used to contain only rules to make with borland 
    11 #    (called via bmake, by "make.exe -f bc.mak")
    12 #  this has changed; it is now also possible to build using microsoft visual c
    13 #    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
    14 #
    15 # Rules found here:
    16 #   bmake 
    17 #       - build everything, incl. a self installing exe for deployment
    18 #   bmake exe
    19 #       - only build the executable; to be executed and tested here
    20 #   bmake setup
    21 #       - make the self installing exe (assuming that the exe is already present)
    22 #   bmake clean
    23 #       - remove everything that is not needed to execute
    24 #   bmake clobber
    25 #       - remove everything that cannot be reconstructed by bmake
    26 #
    27 # For a 64bit build, replace bmake by mingwmake.
    28 
    29 TOP=..\..\..       
    30 INCLUDE_TOP=$(TOP)\..
    31 
    32 # An old file, used as a dummy target for FORCE if we do not want
    33 #   re-make libraries. Windows make does not work if we redefine FORCE=   (empty string)
    34 # OLD_FILE=bmake.bat
    35 OLD_FILE="c:\windows\win.ini"
    36 
    37 #dummy target to force a build
    38 !ifndef FORCE
    39 FORCE=$(OLD_FILE)
    40 !endif
    41 
    42 CFLAGS_LOCAL=$(CFLAGS_APPTYPE) \
    43  -DSTARTUP_CLASS="\"RunUnitTestsStart\"" \
    44  -DSTARTUP_SELECTOR="\"start\"" \
    45  -DUSE_MODULE_TABLE
    46 
    47 #
    48 
    49 !INCLUDE $(TOP)\rules\stdHeader_bc
    50 !INCLUDE Make.spec
    51 
    52 OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
    53 
    54 
    55 
    56 #
    57 APPNAME=libstx_goodies_builder_quickSelfTest
    58 LIBNAME=libstx_goodies_builder_quickSelfTest
    59 MODULE_PATH=goodies\builder\quickSelfTest
    60 STCOPT="+optinline"
    61 LOCALINCLUDES= -I$(INCLUDE_TOP)\exept\libcrypt -I$(INCLUDE_TOP)\stx\goodies\communication -I$(INCLUDE_TOP)\stx\goodies\regex -I$(INCLUDE_TOP)\stx\goodies\regression -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\goodies\webServer -I$(INCLUDE_TOP)\stx\goodies\webServer\htmlTree -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libcomp
    62 LOCALDEFINES=
    63 GLOBALDEFINES=
    64 
    65 STCLOCALOPT='-package=$(PACKAGE)' $(LOCALDEFINES) $(LOCALINCLUDES)  $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) $(COMMONSYMFLAG) -varPrefix=$(LIBNAME)
    66 
    67 LFLAGS=$(APP_LFLAGS)
    68 
    69 PROJECT_NOCONSOLE= quickSelfTest.exe
    70 PROJECT_CONSOLE= quickSelfTest.com
    71 ALLOBJFILES= main.$(O)
    72 !ifdef USETCC
    73 RESFILES=
    74 !else
    75 RESFILES= stx_goodies_builder_quickSelfTestWINrc.$(RES)
    76 !endif
    77 
    78 ALLOBJ= $(ALLOBJFILES) $(OBJS)
    79 DEFFILE=$(TOP)\rules\bc_exe.def
    80 
    81 LIBFILES=$(LIBDIR_LIBRUN)\librun.lib
    82 ALLLIB=$(LIBFILES) $(APP_IMPORTLIBS) $(APP_RT_LIB)
    83 
    84 REQUIRED_LIBS=librun.dll  \
    85  libstx_libbasic.dll \
    86  libstx_goodies_regex.dll \
    87  libstx_libbasic2.dll \
    88  libstx_libcomp.dll \
    89  libstx_goodies_authentication.dll \
    90  libstx_goodies_refactoryBrowser_parser.dll \
    91  libstx_libbasic3.dll \
    92  libstx_libview.dll \
    93  libexept_osi_asn1.dll \
    94  libstx_libboss.dll \
    95  libstx_libui.dll \
    96  libexept_libcrypt.dll \
    97  libstx_libview2.dll \
    98  libstx_goodies_sunit.dll \
    99  libstx_libwidg.dll \
   100  libstx_libhtml.dll \
   101  libstx_libwidg2.dll \
   102  libstx_libcompat.dll \
   103  libstx_libtool.dll \
   104  libstx_goodies_xml_vw.dll \
   105  libstx_goodies_communication.dll \
   106  libstx_goodies_webServer_ui.dll \
   107  libstx_libjavascript.dll \
   108  libstx_goodies_xml_stx.dll \
   109  libstx_goodies_webServer_htmlTree.dll \
   110  libstx_goodies_regression.dll \
   111  libstx_goodies_webServer.dll \
   112 
   113 
   114 REQUIRED_FILES=$(RT_DLL) $(X11_DLL) $(XEXT_DLL) symbols.stc $(REQUIRED_LIBS)
   115 
   116 SUBPROJECT_LIBS= $(TOP)\..\exept\ole\$(OBJDIR)\libexept_ole.dll \
   117  $(TOP)\..\exept\ole\QCOTA\$(OBJDIR)\libexept_ole_QCOTA.dll \
   118 
   119 
   120 
   121 REQUIRED_SUPPORT_DIRS=RESOURCEFILES
   122 
   123 target: ALL postBuildCleanup 
   124 
   125 # the executable, all required files and a self-installing-installer-exe
   126 ALL:: prereq ALL_NP
   127 
   128 # all, but no prereqs
   129 ALL_NP:: exe $(REQUIRED_SUPPORT_DIRS) postBuildCleanup subProjects setup
   130 
   131 exe:  newBuildDate $(REQUIRED_LIBS) noConsoleApp consoleApp registerApplication
   132 
   133 # the executable only
   134 # with console
   135 consoleApp: $(REQUIRED_LIBS)
   136 	-del main.$(O)
   137 	$(MAKE) -N -f bc.mak $(USE_ARG) \
   138 		MAKE_BAT=$(MAKE_BAT) \
   139 		PROJECT=$(PROJECT_CONSOLE) \
   140 		CFLAGS_APPTYPE=" -DWIN32GUI $(CFLAGS_CONSOLE)" \
   141 		LFLAGS_APPTYPE=" $(LFLAGS_CONSOLE)" \
   142 		CRT_STARTUP=" $(CRT_STARTUP_CONSOLE)" theExe
   143 
   144 # without console
   145 noConsoleApp: $(REQUIRED_LIBS)
   146 	-del main.$(O)
   147 	$(MAKE) -N -f bc.mak $(USE_ARG) \
   148 		MAKE_BAT=$(MAKE_BAT) \
   149 		PROJECT=$(PROJECT_NOCONSOLE) \
   150 		CFLAGS_APPTYPE=" -DWIN32GUI $(CFLAGS_NOCONSOLE) -DWIN_LOGFILE="\\"\"quickSelfTest.log\\"\""" \
   151 		LFLAGS_APPTYPE=" $(LFLAGS_NOCONSOLE)" \
   152 		CRT_STARTUP=" $(CRT_STARTUP_NOCONSOLE)" theExe
   153 
   154 # the executable only (internal target; needs some defines)
   155 theExe: $(OUTDIR) $(OBJS) $(REQUIRED_FILES) show $(PROJECT) 
   156 
   157 # build all mandatory prerequisite packages (containing superclasses) for this package
   158 prereq:
   159 	$(MAKE) -N -f bc.mak $(USE_ARG) FORCE=FORCE_BUILD makePrereq
   160 
   161 makePrereq: $(REQUIRED_LIBS)
   162 
   163 subProjects:
   164 	$(MAKE) -N -f bc.mak $(USE_ARG) FORCE=FORCE_BUILD makeSubProjects
   165 
   166 makeSubProjects: $(SUBPROJECT_LIBS)
   167 
   168 FORCE_BUILD:
   169 	@rem Dummy target to force a build
   170 
   171 # a nullsoft installable delivery
   172 # This uses the Nullsoft Installer Package and works in Windows only
   173 
   174 !if defined(USEMINGW64)
   175 
   176 setup: $(PROJECT) postBuildCleanup quickSelfTest.nsi 
   177 	$(MAKENSIS) /DOBJ_DIR=objmingw /DSETUP_NAME=Smalltalk_XSetup64 quickSelfTest.nsi
   178         
   179 
   180 !else
   181 
   182 setup: $(PROJECT) postBuildCleanup quickSelfTest.nsi
   183 	$(MAKENSIS) /DOBJ_DIR=objbc /DSETUP_NAME=Smalltalk_XSetup quickSelfTest.nsi
   184         
   185 
   186 !endif
   187 
   188 newBuildDate:
   189 	del buildDate.h
   190 
   191 new:
   192 	$(MAKE_BAT) clean
   193 	$(MAKE_BAT)
   194 
   195 RESOURCEFILES: quickSelfTest_RESOURCES quickSelfTest_BITMAPS  \
   196 	stx_RESOURCES stx_STYLES stx_BITMAPS
   197 
   198 
   199 quickSelfTest_RESOURCES: 
   200 	-mkdir resources\stx\goodies\builder\quickSelfTest
   201 	-copy ..\resources\*.rs resources\stx\goodies\builder\quickSelfTest\..
   202 	-copy ..\resources\*.style resources\stx\goodies\builder\quickSelfTest\..
   203 
   204 quickSelfTest_BITMAPS: 
   205 	-mkdir resources\stx\goodies\builder\quickSelfTest\bitmaps
   206 	-copy *.ico resources\stx\goodies\builder\quickSelfTest\bitmaps
   207 	-copy *.gif resources\stx\goodies\builder\quickSelfTest\bitmaps
   208 
   209 
   210 
   211 stx_RESOURCES: \
   212 	host.rc \
   213 	libbasic_RESOURCES \
   214 
   215 
   216 keyboard.rc: $(TOP)\projects\smalltalk\keyboard.rc
   217 	copy $(TOP)\projects\smalltalk\keyboard.rc *.*
   218 
   219 keyboardMacros.rc: $(TOP)\projects\smalltalk\keyboardMacros.rc
   220 	copy $(TOP)\projects\smalltalk\keyboardMacros.rc *.*
   221 
   222 host.rc: $(TOP)\projects\smalltalk\host.rc
   223 	copy $(TOP)\projects\smalltalk\host.rc *.*
   224 
   225 h_win32.rc: $(TOP)\projects\smalltalk\h_win32.rc
   226 	copy $(TOP)\projects\smalltalk\h_win32.rc *.*
   227 
   228 display.rc: $(TOP)\projects\smalltalk\display.rc
   229 	copy $(TOP)\projects\smalltalk\display.rc *.*
   230 
   231 d_win32.rc: $(TOP)\projects\smalltalk\d_win32.rc
   232 	copy $(TOP)\projects\smalltalk\d_win32.rc *.*
   233 
   234 stx_STYLES: 
   235 	-mkdir resources\stx\libview\styles
   236 	-copy $(TOP)\libview\styles\*.style resources\stx\libview\styles\*.*
   237 	-copy $(TOP)\libview\styles\*.common resources\stx\libview\styles\*.*
   238 
   239 stx_BITMAPS: \
   240 	libwidg_BITMAPS
   241 
   242 libwidg_BITMAPS: 
   243 	-mkdir resources\stx\libwidg\bitmaps
   244 	-copy $(TOP)\libwidg\bitmaps\*.xpm resources\stx\libwidg\bitmaps\*.*
   245 
   246 libbasic_RESOURCES: 
   247 	-mkdir resources\stx\libbasic
   248 	-copy $(TOP)\libbasic\resources\*.rs resources\stx\libbasic\*.*
   249 
   250 libtool_RESOURCES: 
   251 	-mkdir resources\stx\libtool
   252 	-copy $(TOP)\libtool\resources\*.rs resources\stx\libtool\*.*
   253 
   254 libtool2_RESOURCES: 
   255 	-mkdir resources\stx\libtool2
   256 	-copy $(TOP)\libtool2\resources\*.rs resources\stx\libtool2\*.*
   257 
   258 libview_RESOURCES: 
   259 	-mkdir resources\stx\libview 
   260 	-copy $(TOP)\libview\resources\*.rs resources\stx\libview\*.*
   261 
   262 libview2_RESOURCES: 
   263 	-mkdir resources\stx\libview2
   264 	-copy $(TOP)\libview2\resources\*.rs resources\stx\libview2\*.*
   265 
   266 
   267 
   268 
   269 
   270 
   271 libstx_libbasic.dll: ..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll
   272 	copy ..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll *.*
   273 
   274 ..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll: $(FORCE)
   275 	pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   276 
   277 libstx_goodies_regex.dll: ..\..\regex\$(OBJDIR)\libstx_goodies_regex.dll
   278 	copy ..\..\regex\$(OBJDIR)\libstx_goodies_regex.dll *.*
   279 
   280 ..\..\regex\$(OBJDIR)\libstx_goodies_regex.dll: $(FORCE)
   281 	pushd ..\..\regex & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   282 
   283 libstx_libbasic2.dll: ..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll
   284 	copy ..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll *.*
   285 
   286 ..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll: $(FORCE)
   287 	pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   288 
   289 libstx_libcomp.dll: ..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll
   290 	copy ..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll *.*
   291 
   292 ..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll: $(FORCE)
   293 	pushd ..\..\..\libcomp & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   294 
   295 libstx_goodies_authentication.dll: ..\..\authentication\$(OBJDIR)\libstx_goodies_authentication.dll
   296 	copy ..\..\authentication\$(OBJDIR)\libstx_goodies_authentication.dll *.*
   297 
   298 ..\..\authentication\$(OBJDIR)\libstx_goodies_authentication.dll: $(FORCE)
   299 	pushd ..\..\authentication & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   300 
   301 libstx_goodies_refactoryBrowser_parser.dll: ..\..\refactoryBrowser\parser\$(OBJDIR)\libstx_goodies_refactoryBrowser_parser.dll
   302 	copy ..\..\refactoryBrowser\parser\$(OBJDIR)\libstx_goodies_refactoryBrowser_parser.dll *.*
   303 
   304 ..\..\refactoryBrowser\parser\$(OBJDIR)\libstx_goodies_refactoryBrowser_parser.dll: $(FORCE)
   305 	pushd ..\..\refactoryBrowser\parser & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   306 
   307 libstx_libbasic3.dll: ..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll
   308 	copy ..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll *.*
   309 
   310 ..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll: $(FORCE)
   311 	pushd ..\..\..\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   312 
   313 libstx_libview.dll: ..\..\..\libview\$(OBJDIR)\libstx_libview.dll
   314 	copy ..\..\..\libview\$(OBJDIR)\libstx_libview.dll *.*
   315 
   316 ..\..\..\libview\$(OBJDIR)\libstx_libview.dll: $(FORCE)
   317 	pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   318 
   319 libexept_osi_asn1.dll: ..\..\..\..\exept\osi\asn1\$(OBJDIR)\libexept_osi_asn1.dll
   320 	copy ..\..\..\..\exept\osi\asn1\$(OBJDIR)\libexept_osi_asn1.dll *.*
   321 
   322 ..\..\..\..\exept\osi\asn1\$(OBJDIR)\libexept_osi_asn1.dll: $(FORCE)
   323 	pushd ..\..\..\..\exept\osi\asn1 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   324 
   325 libstx_libboss.dll: ..\..\..\libboss\$(OBJDIR)\libstx_libboss.dll
   326 	copy ..\..\..\libboss\$(OBJDIR)\libstx_libboss.dll *.*
   327 
   328 ..\..\..\libboss\$(OBJDIR)\libstx_libboss.dll: $(FORCE)
   329 	pushd ..\..\..\libboss & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   330 
   331 libstx_libui.dll: ..\..\..\libui\$(OBJDIR)\libstx_libui.dll
   332 	copy ..\..\..\libui\$(OBJDIR)\libstx_libui.dll *.*
   333 
   334 ..\..\..\libui\$(OBJDIR)\libstx_libui.dll: $(FORCE)
   335 	pushd ..\..\..\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   336 
   337 libexept_libcrypt.dll: ..\..\..\..\exept\libcrypt\$(OBJDIR)\libexept_libcrypt.dll
   338 	copy ..\..\..\..\exept\libcrypt\$(OBJDIR)\libexept_libcrypt.dll *.*
   339 
   340 ..\..\..\..\exept\libcrypt\$(OBJDIR)\libexept_libcrypt.dll: $(FORCE)
   341 	pushd ..\..\..\..\exept\libcrypt & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   342 
   343 libstx_libview2.dll: ..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll
   344 	copy ..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll *.*
   345 
   346 ..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll: $(FORCE)
   347 	pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   348 
   349 libstx_goodies_sunit.dll: ..\..\sunit\$(OBJDIR)\libstx_goodies_sunit.dll
   350 	copy ..\..\sunit\$(OBJDIR)\libstx_goodies_sunit.dll *.*
   351 
   352 ..\..\sunit\$(OBJDIR)\libstx_goodies_sunit.dll: $(FORCE)
   353 	pushd ..\..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   354 
   355 libstx_libwidg.dll: ..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll
   356 	copy ..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll *.*
   357 
   358 ..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll: $(FORCE)
   359 	pushd ..\..\..\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   360 
   361 libstx_libhtml.dll: ..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll
   362 	copy ..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll *.*
   363 
   364 ..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll: $(FORCE)
   365 	pushd ..\..\..\libhtml & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   366 
   367 libstx_libwidg2.dll: ..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll
   368 	copy ..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll *.*
   369 
   370 ..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll: $(FORCE)
   371 	pushd ..\..\..\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   372 
   373 libstx_libcompat.dll: ..\..\..\libcompat\$(OBJDIR)\libstx_libcompat.dll
   374 	copy ..\..\..\libcompat\$(OBJDIR)\libstx_libcompat.dll *.*
   375 
   376 ..\..\..\libcompat\$(OBJDIR)\libstx_libcompat.dll: $(FORCE)
   377 	pushd ..\..\..\libcompat & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   378 
   379 libstx_libtool.dll: ..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll
   380 	copy ..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll *.*
   381 
   382 ..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll: $(FORCE)
   383 	pushd ..\..\..\libtool & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   384 
   385 libstx_goodies_xml_vw.dll: ..\..\xml\vw\$(OBJDIR)\libstx_goodies_xml_vw.dll
   386 	copy ..\..\xml\vw\$(OBJDIR)\libstx_goodies_xml_vw.dll *.*
   387 
   388 ..\..\xml\vw\$(OBJDIR)\libstx_goodies_xml_vw.dll: $(FORCE)
   389 	pushd ..\..\xml\vw & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   390 
   391 libstx_goodies_communication.dll: ..\..\communication\$(OBJDIR)\libstx_goodies_communication.dll
   392 	copy ..\..\communication\$(OBJDIR)\libstx_goodies_communication.dll *.*
   393 
   394 ..\..\communication\$(OBJDIR)\libstx_goodies_communication.dll: $(FORCE)
   395 	pushd ..\..\communication & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   396 
   397 libstx_goodies_webServer_ui.dll: ..\..\webServer\ui\$(OBJDIR)\libstx_goodies_webServer_ui.dll
   398 	copy ..\..\webServer\ui\$(OBJDIR)\libstx_goodies_webServer_ui.dll *.*
   399 
   400 ..\..\webServer\ui\$(OBJDIR)\libstx_goodies_webServer_ui.dll: $(FORCE)
   401 	pushd ..\..\webServer\ui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   402 
   403 libstx_libjavascript.dll: ..\..\..\libjavascript\$(OBJDIR)\libstx_libjavascript.dll
   404 	copy ..\..\..\libjavascript\$(OBJDIR)\libstx_libjavascript.dll *.*
   405 
   406 ..\..\..\libjavascript\$(OBJDIR)\libstx_libjavascript.dll: $(FORCE)
   407 	pushd ..\..\..\libjavascript & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   408 
   409 libstx_goodies_xml_stx.dll: ..\..\xml\stx\$(OBJDIR)\libstx_goodies_xml_stx.dll
   410 	copy ..\..\xml\stx\$(OBJDIR)\libstx_goodies_xml_stx.dll *.*
   411 
   412 ..\..\xml\stx\$(OBJDIR)\libstx_goodies_xml_stx.dll: $(FORCE)
   413 	pushd ..\..\xml\stx & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   414 
   415 libstx_goodies_webServer_htmlTree.dll: ..\..\webServer\htmlTree\$(OBJDIR)\libstx_goodies_webServer_htmlTree.dll
   416 	copy ..\..\webServer\htmlTree\$(OBJDIR)\libstx_goodies_webServer_htmlTree.dll *.*
   417 
   418 ..\..\webServer\htmlTree\$(OBJDIR)\libstx_goodies_webServer_htmlTree.dll: $(FORCE)
   419 	pushd ..\..\webServer\htmlTree & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   420 
   421 libstx_goodies_regression.dll: ..\..\regression\$(OBJDIR)\libstx_goodies_regression.dll
   422 	copy ..\..\regression\$(OBJDIR)\libstx_goodies_regression.dll *.*
   423 
   424 ..\..\regression\$(OBJDIR)\libstx_goodies_regression.dll: $(FORCE)
   425 	pushd ..\..\regression & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   426 
   427 libstx_goodies_webServer.dll: ..\..\webServer\$(OBJDIR)\libstx_goodies_webServer.dll
   428 	copy ..\..\webServer\$(OBJDIR)\libstx_goodies_webServer.dll *.*
   429 
   430 ..\..\webServer\$(OBJDIR)\libstx_goodies_webServer.dll: $(FORCE)
   431 	pushd ..\..\webServer & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   432 
   433       
   434 libexept_ole.dll: ..\..\..\..\exept\ole\$(OBJDIR)\libexept_ole.dll
   435 	copy ..\..\..\..\exept\ole\$(OBJDIR)\libexept_ole.dll *.*
   436 
   437 ..\..\..\..\exept\ole\$(OBJDIR)\libexept_ole.dll: $(FORCE)
   438 	pushd ..\..\..\..\exept\ole & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   439 
   440 libexept_ole_QCOTA.dll: ..\..\..\..\exept\ole\QCOTA\$(OBJDIR)\libexept_ole_QCOTA.dll
   441 	copy ..\..\..\..\exept\ole\QCOTA\$(OBJDIR)\libexept_ole_QCOTA.dll *.*
   442 
   443 ..\..\..\..\exept\ole\QCOTA\$(OBJDIR)\libexept_ole_QCOTA.dll: $(FORCE)
   444 	pushd ..\..\..\..\exept\ole\QCOTA & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   445 
   446 
   447 
   448 show:
   449 	@echo LFLAGS= $(LFLAGS)
   450 	@echo ALLOBJ= $(ALLOBJ)
   451 	@echo PROJECT= $(PROJECT)
   452 	@echo APP_IMPORTLIBS= $(APP_IMPORTLIBS)
   453 	@echo ALLLIB= $(ALLLIB)
   454 	@echo DEFFILE= $(DEFFILE)
   455 	@echo ALLRES= $(ALLRES)
   456 
   457 !ifdef USEBC
   458 
   459 $(PROJECT_CONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
   460 	$(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ), $(PROJECT_CONSOLE),, $(ALLLIB), $(DEFFILE), $(RESFILES)
   461 
   462 $(PROJECT_NOCONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
   463 	$(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ), $(PROJECT_NOCONSOLE),, $(ALLLIB), $(DEFFILE), $(RESFILES)
   464 
   465 !else
   466 ! ifdef USEVC
   467 
   468 $(PROJECT_CONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
   469 	$(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) /OUT:"$(PROJECT_CONSOLE)" \
   470 	    /MANIFEST /MANIFESTFILE:"$(PROJECT_CONSOLE).manifest" \
   471 	    /PDB:"$(PROJECT_CONSOLE).pdb" \
   472 	    /SUBSYSTEM:CONSOLE $(ALLLIB) $(RESFILES)
   473 
   474 $(PROJECT_NOCONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
   475 	$(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) /OUT:"$(PROJECT_NOCONSOLE)" \
   476 	    /MANIFEST /MANIFESTFILE:"$(PROJECT_NOCONSOLE).manifest" \
   477 	    /PDB:"$(PROJECT_NOCONSOLE).pdb" \
   478 	    /SUBSYSTEM:WINDOWS $(ALLLIB) $(RESFILES)
   479 
   480 ! else
   481 !  ifdef USELCC
   482 
   483 $(PROJECT_CONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
   484 	$(APP_LINKER) -subsystem console $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_CONSOLE)" $(ALLLIB) $(RESFILES)
   485 
   486 $(PROJECT_NOCONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
   487 	$(APP_LINKER) -subsystem windows $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_NOCONSOLE)" $(ALLLIB) $(RESFILES)
   488 
   489 !  else
   490 !   ifdef USETCC
   491 
   492 $(PROJECT_CONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
   493 	$(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_CONSOLE)" $(ALLLIB) $(RESFILES)
   494 
   495 $(PROJECT_NOCONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
   496 	$(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_NOCONSOLE)" $(ALLLIB) $(RESFILES)
   497 
   498 !   else
   499 !    if defined(USEMINGW32) || defined(USEMINGW64)
   500 
   501 $(PROJECT_CONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES) show
   502 	$(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_CONSOLE)" $(ALLLIB) $(RESFILES)
   503 
   504 $(PROJECT_NOCONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES) show
   505 	$(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_NOCONSOLE)" $(ALLLIB) $(APP_IMPORTLIBS) $(RESFILES)
   506 
   507 !    else
   508 error error error
   509 !    endif
   510 !   endif
   511 !  endif
   512 ! endif
   513 !endif
   514 
   515 !INCLUDE $(TOP)\rules\stdRules_bc
   516 
   517 #
   518 # additional rules
   519 #
   520 quickSelfTestWin.$(RES): quickSelfTestWin.rc quickSelfTest.ico
   521 
   522 main.$(O): buildDate.h main.c bc.mak
   523 
   524 main.c: $(TOP)\librun\main.c
   525 	copy $(TOP)\librun\main.c main.c
   526 
   527 # now in stdRules.
   528 #buildDate.h: $(GENDATE_UTILITIY)
   529 #        $(GENDATE_UTILITIY)
   530 
   531 librun.dll: $(TOP)\librun\$(OBJDIR_LIBRUN)\librun.dll
   532 	copy $(TOP)\librun\$(OBJDIR_LIBRUN)\librun.dll librun.dll
   533 
   534 !ifndef USEMINGW32        
   535 !ifndef USEMINGW64        
   536 #cs3245.dll
   537 $(RT_DLL): $(TOP)\support\win32\borland\$(RT_DLL)
   538 	copy $(TOP)\support\win32\borland\$(RT_DLL) $(RT_DLL)
   539 
   540 X11.dll: $(TOP)\support\win32\X11.dll
   541 	copy $(TOP)\support\win32\X11.dll X11.dll
   542 
   543 Xext.dll: $(TOP)\support\win32\Xext.dll
   544 	copy $(TOP)\support\win32\Xext.dll Xext.dll
   545 !endif
   546 !endif
   547 
   548 symbols.stc: $(TOP)\include\symbols.stc
   549 	copy $(TOP)\include\symbols.stc symbols.stc
   550 
   551 
   552 
   553 
   554 
   555 clean::
   556 	-del genDate.exe genDate.com
   557 	-del c0x32.dll
   558 	-del c0x32.lib
   559 	-del buildDate.h
   560 	-del $(PROJECT)
   561 	-del install_quickSelfTest.exe
   562 	-del stx.lib
   563 	-del stx.dll
   564 	-del $(RT_DLL)
   565 	-del $(REQUIRED_FILES)
   566 	-del main.c
   567 	-del *.log
   568 	-del *.$(RES)
   569 	-rmdir /S /Q resources
   570 	-rmdir /S /Q $(OBJDIR)
   571 
   572 clobber:: clean
   573 	-del *.dll *.exe *.com
   574 
   575 postBuildCleanup::
   576 	@rem  stupid win-make does not allow empty
   577 
   578 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
   579 $(OUTDIR)RunUnitTests.$(O) RunUnitTests.$(C) RunUnitTests.$(H): RunUnitTests.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
   580 $(OUTDIR)RunUnitTestsStart.$(O) RunUnitTestsStart.$(C) RunUnitTestsStart.$(H): RunUnitTestsStart.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\StandaloneStartup.$(H) $(STCHDR)
   581 $(OUTDIR)stx_goodies_builder_quickSelfTest.$(O) stx_goodies_builder_quickSelfTest.$(C) stx_goodies_builder_quickSelfTest.$(H): stx_goodies_builder_quickSelfTest.st $(INCLUDE_TOP)\stx\libbasic\ApplicationDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR)
   582 
   583 # ENDMAKEDEPEND --- do not remove this line