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