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