tests/bc.mak
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 05 Apr 2016 10:00:57 +0100
changeset 77 cdf856e78998
parent 73 ad44e7d3a06d
child 84 f60861ccb4a3
permissions -rw-r--r--
CairoGraphicsContext: Fixed paint setting Even though methods like #foreground: / #foreground:background: method are marked obsolete for quite some time, a lot of core widgets are still using them (!). Therefore CairoGraphicsContext must implement them to correctly update Cairo context. This fixes issues with EditField.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
61
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
# $Header$
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
#
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
# DO NOT EDIT
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
# automagically generated from the projectDefinition: stx_goodies_libcairo_tests.
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
#
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
# Warning: once you modify this file, do not rerun
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     8
#
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
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).
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
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.
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    11
# It shares common definitions with the unix-make in Make.spec.
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    12
# The bc.mak supports the following targets:
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    13
#    bmake         - compile all st-files to a classLib (dll)
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    14
#    bmake clean   - clean all temp files
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    15
#    bmake clobber - clean all
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    16
#
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    17
# Historic Note:
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    18
#  this used to contain only rules to make with borland
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    19
#    (called via bmake, by "make.exe -f bc.mak")
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
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
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    21
#    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    22
#
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    23
TOP=..\..\..
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    24
INCLUDE_TOP=$(TOP)\..
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    25
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    26
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    27
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    28
!INCLUDE $(TOP)\rules\stdHeader_bc
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    29
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    30
!INCLUDE Make.spec
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    31
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    32
LIBNAME=libstx_goodies_libcairo_tests
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    33
MODULE_PATH=goodies\libcairo\tests
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    34
RESFILES=tests.$(RES)
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    35
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    36
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    37
73
ad44e7d3a06d Moved CairoGraphicsContextTests to Smalltalk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 71
diff changeset
    38
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\libcairo -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libview -I$(INCLUDE_TOP)\stx\libview2
61
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    39
LOCALDEFINES=
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    40
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    41
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES)  -varPrefix=$(LIBNAME)
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    42
LOCALLIBS=
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    43
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    44
OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    45
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    46
ALL::  classLibRule
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    47
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    48
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    49
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    50
!INCLUDE $(TOP)\rules\stdRules_bc
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    51
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    52
# build all mandatory prerequisite packages (containing superclasses) for this package
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    53
prereq:
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    54
	pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    55
	pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    56
	pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
63
054f0513ea65 Initial support for Cairo::Pattern
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 61
diff changeset
    57
	pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
61
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    58
	pushd .. & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    59
	pushd ..\..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    60
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    61
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    62
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    63
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    64
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    65
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    66
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    67
test: $(TOP)\goodies\builder\reports\NUL
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    68
	pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT)
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    69
	$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE)
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    70
        
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    71
clean::
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    72
	del *.$(CSUFFIX)
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    73
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    74
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    75
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    76
$(OUTDIR)Cairo__GraphicsContextTests.$(O) Cairo__GraphicsContextTests.$(H): Cairo__GraphicsContextTests.st $(INCLUDE_TOP)\stx\goodies\libcairo\Cairo__FontSlant.$(H) $(INCLUDE_TOP)\stx\goodies\libcairo\Cairo__FontWeight.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
63
054f0513ea65 Initial support for Cairo::Pattern
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 61
diff changeset
    77
$(OUTDIR)Cairo__PatternTests.$(O) Cairo__PatternTests.$(H): Cairo__PatternTests.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
73
ad44e7d3a06d Moved CairoGraphicsContextTests to Smalltalk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 71
diff changeset
    78
$(OUTDIR)CairoGraphicsContextTests.$(O) CairoGraphicsContextTests.$(H): CairoGraphicsContextTests.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
61
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    79
$(OUTDIR)stx_goodies_libcairo_tests.$(O) stx_goodies_libcairo_tests.$(H): stx_goodies_libcairo_tests.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR)
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    80
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    81
# ENDMAKEDEPEND --- do not remove this line
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    82
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    83
# **Must be at end**
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    84
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    85
# Enforce recompilation of package definition class if Mercurial working
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    86
# copy state changes. Together with --guessVersion it ensures that package
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    87
# definition class always contains correct binary revision string.
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    88
!IFDEF HGROOT
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    89
$(OUTDIR)stx_goodies_libcairo_tests.$(O): $(HGROOT)\.hg\dirstate
f25d922632f7 Tests: added subpackage with tests - stx:goodies/libcairo/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    90
!ENDIF