gui/bc.mak
author Claus Gittinger <cg@exept.de>
Tue, 04 Mar 2014 22:20:23 +0100
changeset 352 4bc0d659bad5
permissions -rw-r--r--
initial checkin
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
352
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
# $Header: /cvs/stx/stx/goodies/petitparser/gui/bc.mak,v 1.1 2014-03-04 21:20:23 cg Exp $
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
#
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
# DO NOT EDIT
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
# automagically generated from the projectDefinition: stx_goodies_petitparser_gui.
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
#
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
# Warning: once you modify this file, do not rerun
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
#
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
# Notice, that the name bc.mak is historical (from times, when only borland c was supported).
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
# This file contains make rules for the win32 platform using either borland-bcc or visual-c.
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
# It shares common definitions with the unix-make in Make.spec.
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
# The bc.mak supports the following targets:
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
#    bmake         - compile all st-files to a classLib (dll)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
#    bmake clean   - clean all temp files
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
#    bmake clobber - clean all
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
#
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
# Historic Note:
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
#  this used to contain only rules to make with borland
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
#    (called via bmake, by "make.exe -f bc.mak")
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
#  this has changed; it is now also possible to build using microsoft visual c
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
#    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
#
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
TOP=..\..\..
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
INCLUDE_TOP=$(TOP)\..
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
!INCLUDE $(TOP)\rules\stdHeader_bc
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
!INCLUDE Make.spec
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
LIBNAME=libstx_goodies_petitparser_gui
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
RESFILES=gui.$(RES)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\petitparser -I$(INCLUDE_TOP)\stx\goodies\refactoryBrowser\refactoring -I$(INCLUDE_TOP)\stx\libbasic
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
LOCALDEFINES=
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES)  -varPrefix=$(LIBNAME)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
LOCALLIBS=
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
ALL::  classLibRule
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
!INCLUDE $(TOP)\rules\stdRules_bc
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
# build all mandatory prerequisite packages (containing superclasses) for this package
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
prereq:
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
	pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
	pushd ..\..\refactoryBrowser\refactoring & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
	pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
	pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
	pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
	pushd ..\..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
	pushd .. & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
test: $(TOP)\goodies\builder\reports\NUL
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
	pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
	$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
        
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
clean::
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
	del *.$(CSUFFIX)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
$(OUTDIR)GLMCompositePresentation.$(O) GLMCompositePresentation.$(H): GLMCompositePresentation.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
$(OUTDIR)PPAddParserRefactoring.$(O) PPAddParserRefactoring.$(H): PPAddParserRefactoring.st $(INCLUDE_TOP)\stx\goodies\refactoryBrowser\refactoring\Refactoring.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
$(OUTDIR)PPBrowserStream.$(O) PPBrowserStream.$(H): PPBrowserStream.st $(INCLUDE_TOP)\stx\goodies\petitparser\PPStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\PeekableStream.$(H) $(INCLUDE_TOP)\stx\libbasic\PositionableStream.$(H) $(INCLUDE_TOP)\stx\libbasic\ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Stream.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
$(OUTDIR)PPDefineProdcutionRefactoring.$(O) PPDefineProdcutionRefactoring.$(H): PPDefineProdcutionRefactoring.st $(INCLUDE_TOP)\stx\goodies\refactoryBrowser\refactoring\Refactoring.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
$(OUTDIR)PPDrabBrowser.$(O) PPDrabBrowser.$(H): PPDrabBrowser.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
$(OUTDIR)PPExtractProdcutionRefactoring.$(O) PPExtractProdcutionRefactoring.$(H): PPExtractProdcutionRefactoring.st $(INCLUDE_TOP)\stx\goodies\refactoryBrowser\refactoring\ExtractMethodRefactoring.$(H) $(INCLUDE_TOP)\stx\goodies\refactoryBrowser\refactoring\MethodRefactoring.$(H) $(INCLUDE_TOP)\stx\goodies\refactoryBrowser\refactoring\Refactoring.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
$(OUTDIR)PPParserDebuggerResult.$(O) PPParserDebuggerResult.$(H): PPParserDebuggerResult.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
$(OUTDIR)PPRefactoringUtils.$(O) PPRefactoringUtils.$(H): PPRefactoringUtils.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
$(OUTDIR)PPRemoveParserRefactoring.$(O) PPRemoveParserRefactoring.$(H): PPRemoveParserRefactoring.st $(INCLUDE_TOP)\stx\goodies\refactoryBrowser\refactoring\Refactoring.$(H) $(INCLUDE_TOP)\stx\goodies\refactoryBrowser\refactoring\RemoveClassRefactoring.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
$(OUTDIR)PPRenameProdcutionRefactoring.$(O) PPRenameProdcutionRefactoring.$(H): PPRenameProdcutionRefactoring.st $(INCLUDE_TOP)\stx\goodies\refactoryBrowser\refactoring\Refactoring.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
$(OUTDIR)PPTextHighlighter.$(O) PPTextHighlighter.$(H): PPTextHighlighter.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
$(OUTDIR)RBRefactoring.$(O) RBRefactoring.$(H): RBRefactoring.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
$(OUTDIR)RBRemoveClassRefactoring.$(O) RBRemoveClassRefactoring.$(H): RBRemoveClassRefactoring.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
$(OUTDIR)stx_goodies_petitparser_gui.$(O) stx_goodies_petitparser_gui.$(H): stx_goodies_petitparser_gui.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    90
$(OUTDIR)PPBrowser.$(O) PPBrowser.$(H): PPBrowser.st $(INCLUDE_TOP)\stx\goodies\petitparser\gui\GLMCompositePresentation.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
$(OUTDIR)PPParserBrowser.$(O) PPParserBrowser.$(H): PPParserBrowser.st $(INCLUDE_TOP)\stx\goodies\petitparser\gui\GLMCompositePresentation.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
$(OUTDIR)PPParserInspector.$(O) PPParserInspector.$(H): PPParserInspector.st $(INCLUDE_TOP)\stx\goodies\petitparser\gui\GLMCompositePresentation.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    93
$(OUTDIR)PPRemoveProdcutionRefactoring.$(O) PPRemoveProdcutionRefactoring.$(H): PPRemoveProdcutionRefactoring.st $(INCLUDE_TOP)\stx\goodies\petitparser\gui\RBRefactoring.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    94
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)\stx\goodies\petitparser\PPAndParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPChoiceParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPDelegateParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPEndOfInputParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPEpsilonParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPFailingParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPListParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPLiteralParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPLiteralSequenceParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPNotParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPPluggableParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPPredicateParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPRepeatingParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPSequenceParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPTrimmingParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPUnresolvedParser.$(H) $(INCLUDE_TOP)\stx\goodies\refactoryBrowser\refactoring\Refactoring.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
4bc0d659bad5 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
# ENDMAKEDEPEND --- do not remove this line