bc.mak
author "Patrik Svestka <patrik.svestka@gmail.com>"
Fri, 16 Dec 2022 10:44:49 +0100
branchjv
changeset 2608 b77fda6a2e98
parent 2078 9d76442a61bb
permissions -rwxr-xr-x
Merge - commit more robust tests - commit fixes random test fails when creating a process
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2078
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
     1
# $Header$
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
     2
#
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
     3
# DO NOT EDIT
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
     4
# automagically generated from the projectDefinition: stx_goodies_regression.
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
     5
#
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
     6
# Warning: once you modify this file, do not rerun
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
     7
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
     8
#
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
     9
# Notice, that the name bc.mak is historical (from times, when only borland c was supported).
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    10
# This file contains make rules for the win32 platform using either borland-bcc or visual-c.
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    11
# It shares common definitions with the unix-make in Make.spec.
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    12
# The bc.mak supports the following targets:
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    13
#    bmake         - compile all st-files to a classLib (dll)
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    14
#    bmake clean   - clean all temp files
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    15
#    bmake clobber - clean all
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    16
#
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    17
# Historic Note:
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    18
#  this used to contain only rules to make with borland
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    19
#    (called via bmake, by "make.exe -f bc.mak")
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    20
#  this has changed; it is now also possible to build using microsoft visual c
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    21
#    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    22
#
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    23
TOP=..\..
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    24
INCLUDE_TOP=$(TOP)\..
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    25
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    26
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    27
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    28
!INCLUDE $(TOP)\rules\stdHeader_bc
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    29
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    30
!INCLUDE Make.spec
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    31
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    32
LIBNAME=libstx_goodies_regression
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    33
MODULE_PATH=goodies\regression
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    34
RESFILES=stx_goodies_regressionWINrc.$(RES)
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    35
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    36
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    37
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    38
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\communication -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\goodies\xml\stx -I$(INCLUDE_TOP)\stx\goodies\xml\vw -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libbasic3 -I$(INCLUDE_TOP)\stx\libboss -I$(INCLUDE_TOP)\stx\libcomp -I$(INCLUDE_TOP)\stx\libhtml -I$(INCLUDE_TOP)\stx\libjava -I$(INCLUDE_TOP)\stx\libjavascript -I$(INCLUDE_TOP)\stx\libtool -I$(INCLUDE_TOP)\stx\libview -I$(INCLUDE_TOP)\stx\libview2 -I$(INCLUDE_TOP)\stx\libwidg -I$(INCLUDE_TOP)\stx\libwidg2
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    39
LOCALDEFINES=
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    40
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    41
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES)  -varPrefix=$(LIBNAME)
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    42
LOCALLIBS=
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    43
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    44
OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    45
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    46
ALL::  classLibRule
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    47
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    48
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    49
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    50
!INCLUDE $(TOP)\rules\stdRules_bc
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    51
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    52
# build all mandatory prerequisite packages (containing superclasses) for this package
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    53
prereq:
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    54
	pushd ..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    55
	pushd ..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    56
	pushd ..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    57
	pushd ..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    58
	pushd ..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    59
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    60
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    61
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    62
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    63
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    64
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    65
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    66
test: $(TOP)\goodies\builder\reports
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    67
	pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT)
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    68
	$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE)
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    69
        
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    70
clean::
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    71
	-del *.$(CSUFFIX)
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    72
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    73
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    74
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    75
$(OUTDIR)stx_goodies_regression.$(O) stx_goodies_regression.$(C) stx_goodies_regression.$(H): stx_goodies_regression.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR)
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    76
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    77
# ENDMAKEDEPEND --- do not remove this line
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    78
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    79
# **Must be at end**
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    80
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    81
# Enforce recompilation of package definition class if Mercurial working
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    82
# copy state changes. Together with --guessVersion it ensures that package
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    83
# definition class always contains correct binary revision string.
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    84
!IFDEF HGROOT
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    85
$(OUTDIR)stx_goodies_regression.$(O): $(HGROOT)\.hg\dirstate
9d76442a61bb Issue #250: Tests for Unicode read: with and without enumeration, remote registry, empty data values, non-string names
Patrik Svestka <patrik.svestka@gmail.com>
parents: 1567
diff changeset
    86
!ENDIF