author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Sun, 26 Nov 2017 20:40:34 +0000 | |
branch | jv |
changeset 696 | 268bf2c60556 |
parent 659 | 1a5c26f6f5b7 |
permissions | -rw-r--r-- |
659
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
# $Header$ |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
# |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
3 |
# DO NOT EDIT |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
4 |
# automagically generated from the projectDefinition: stx_goodies_sunit_ext_ui. |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
# |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
# Warning: once you modify this file, do not rerun |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
# |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
# Notice, that the name bc.mak is historical (from times, when only borland c was supported). |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
# This file contains make rules for the win32 platform using either borland-bcc or visual-c. |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
# It shares common definitions with the unix-make in Make.spec. |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
# The bc.mak supports the following targets: |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
# bmake - compile all st-files to a classLib (dll) |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
# bmake clean - clean all temp files |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
# bmake clobber - clean all |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
# |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
# Historic Note: |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
# this used to contain only rules to make with borland |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
# (called via bmake, by "make.exe -f bc.mak") |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
# this has changed; it is now also possible to build using microsoft visual c |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
# (called via vcmake, by "make.exe -f bc.mak -DUSEVC") |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
# |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
TOP=..\..\..\.. |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
24 |
INCLUDE_TOP=$(TOP)\.. |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
25 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
27 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
28 |
!INCLUDE $(TOP)\rules\stdHeader_bc |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
29 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
30 |
!INCLUDE Make.spec |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
31 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
32 |
LIBNAME=libstx_goodies_sunit_ext_ui |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
33 |
RESFILES=ui.$(RES) |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
34 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
35 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
36 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libtool -I$(INCLUDE_TOP)\stx\libview -I$(INCLUDE_TOP)\stx\libview2 |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
38 |
LOCALDEFINES= |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
39 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
40 |
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME) |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
41 |
LOCALLIBS= |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
42 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
43 |
OBJS= $(COMMON_OBJS) $(WIN32_OBJS) |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
44 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
45 |
ALL:: classLibRule |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
46 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
47 |
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
48 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
49 |
!INCLUDE $(TOP)\rules\stdRules_bc |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
50 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
51 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
52 |
prereq: |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
53 |
pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
54 |
pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
55 |
pushd ..\..\..\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
56 |
pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
57 |
pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
58 |
pushd ..\..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
59 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
60 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
61 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
62 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
63 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
64 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
65 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
66 |
test: $(TOP)\goodies\builder\reports\NUL |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
67 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
68 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
69 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
70 |
clean:: |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
71 |
del *.$(CSUFFIX) |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
72 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
73 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
74 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
75 |
$(OUTDIR)SimpleViewInteractor.$(O) SimpleViewInteractor.$(H): SimpleViewInteractor.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
76 |
$(OUTDIR)stx_goodies_sunit_ext_ui.$(O) stx_goodies_sunit_ext_ui.$(H): stx_goodies_sunit_ext_ui.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR) |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
77 |
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\UndefinedObject.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(INCLUDE_TOP)\stx\libview\StandardSystemView.$(H) $(INCLUDE_TOP)\stx\libview\TopView.$(H) $(INCLUDE_TOP)\stx\libview\View.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(STCHDR) |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
78 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
79 |
# ENDMAKEDEPEND --- do not remove this line |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
80 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
81 |
# **Must be at end** |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
82 |
|
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
83 |
# Enforce recompilation of package definition class if Mercurial working |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
84 |
# copy state changes. Together with --guessVersion it ensures that package |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
85 |
# definition class always contains correct binary revision string. |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
86 |
!IFDEF HGROOT |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
87 |
$(OUTDIR)stx_goodies_sunit_ext_ui.$(O): $(HGROOT)\.hg\dirstate |
1a5c26f6f5b7
Added Smalltalk/X SUnit extension for UI testing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
88 |
!ENDIF |