devtools/bc.mak
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 10 Jan 2013 14:24:24 +0100
changeset 106 20e4beb3bac4
parent 97 85169703004e
child 119 f36143f468f7
permissions -rw-r--r--
automatically generated by browser
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
106
20e4beb3bac4 automatically generated by browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 97
diff changeset
     1
# $Header: /cvs/stx/stx/goodies/petitparser/devtools/bc.mak,v 1.3 2013-01-10 13:24:24 vrany Exp $
79
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
#
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
# DO NOT EDIT
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
# automagically generated from the projectDefinition: stx_goodies_petitparser_devtools.
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
#
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
# Warning: once you modify this file, do not rerun
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     8
#
f93ff97084bd initial checkin
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).
f93ff97084bd initial checkin
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.
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    11
# It shares common definitions with the unix-make in Make.spec.
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    12
# The bc.mak supports the following targets:
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    13
#    bmake         - compile all st-files to a classLib (dll)
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    14
#    bmake clean   - clean all temp files
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    15
#    bmake clobber - clean all
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    16
#
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    17
# Historic Note:
97
85169703004e librun no longer in prereq
Claus Gittinger <cg@exept.de>
parents: 79
diff changeset
    18
#  this used to contain only rules to make with borland
79
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    19
#    (called via bmake, by "make.exe -f bc.mak")
f93ff97084bd initial checkin
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
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    21
#    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    22
#
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    23
TOP=..\..\..
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    24
INCLUDE_TOP=$(TOP)\..
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    25
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    26
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    27
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    28
!INCLUDE $(TOP)\rules\stdHeader_bc
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    29
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    30
!INCLUDE Make.spec
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    31
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    32
LIBNAME=libstx_goodies_petitparser_devtools
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    33
RESFILES=devtools.res
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    34
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    35
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    36
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    37
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\goodies\petitparser
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    38
LOCALDEFINES=
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    39
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    40
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES)  -varPrefix=$(LIBNAME)
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    41
LOCALLIBS=
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    42
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    43
OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    44
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    45
ALL::  classLibRule
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    46
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    47
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    48
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    49
!INCLUDE $(TOP)\rules\stdRules_bc
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    50
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    51
# build all prerequisite packages for this package
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    52
prereq:
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    53
	pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    54
	pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    55
	pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    56
	pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    57
	pushd ..\..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    58
	pushd .. & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
106
20e4beb3bac4 automatically generated by browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 97
diff changeset
    59
	pushd ..\..\..\librun & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
20e4beb3bac4 automatically generated by browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 97
diff changeset
    60
79
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    61
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    62
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    63
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    64
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    65
106
20e4beb3bac4 automatically generated by browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 97
diff changeset
    66
test: $(TOP)\goodies\builder\reports\NUL
20e4beb3bac4 automatically generated by browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 97
diff changeset
    67
	pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT)
20e4beb3bac4 automatically generated by browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 97
diff changeset
    68
	$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE)
20e4beb3bac4 automatically generated by browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 97
diff changeset
    69
79
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    70
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    71
$(OUTDIR)PPDebugger.$(O) PPDebugger.$(H): PPDebugger.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    72
$(OUTDIR)PPDebuggingParser.$(O) PPDebuggingParser.$(H): PPDebuggingParser.st $(INCLUDE_TOP)\stx\goodies\petitparser\PPParser.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
106
20e4beb3bac4 automatically generated by browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 97
diff changeset
    73
$(OUTDIR)XBGFParser.$(O) XBGFParser.$(H): XBGFParser.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
79
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    74
$(OUTDIR)stx_goodies_petitparser_devtools.$(O) stx_goodies_petitparser_devtools.$(H): stx_goodies_petitparser_devtools.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    75
f93ff97084bd initial checkin
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    76
# ENDMAKEDEPEND --- do not remove this line