author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 02 Feb 2016 21:49:24 +0000 | |
changeset 300 | b6d834208d33 |
parent 297 | 494d4dfca187 |
permissions | -rw-r--r-- |
173 | 1 |
# $Header$ |
2 |
# |
|
3 |
# DO NOT EDIT |
|
4 |
# automagically generated from the projectDefinition: stx_goodies_xmlsuite_xmlreaderimpl. |
|
5 |
# |
|
6 |
# Warning: once you modify this file, do not rerun |
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
|
8 |
# |
|
288 | 9 |
# Notice, that the name bc.mak is historical (from times, when only borland c was supported). |
10 |
# This file contains make rules for the win32 platform using either borland-bcc or visual-c. |
|
173 | 11 |
# It shares common definitions with the unix-make in Make.spec. |
288 | 12 |
# The bc.mak supports the following targets: |
173 | 13 |
# bmake - compile all st-files to a classLib (dll) |
14 |
# bmake clean - clean all temp files |
|
15 |
# bmake clobber - clean all |
|
16 |
# |
|
288 | 17 |
# Historic Note: |
18 |
# this used to contain only rules to make with borland |
|
19 |
# (called via bmake, by "make.exe -f bc.mak") |
|
20 |
# this has changed; it is now also possible to build using microsoft visual c |
|
21 |
# (called via vcmake, by "make.exe -f bc.mak -DUSEVC") |
|
173 | 22 |
# |
23 |
TOP=..\..\.. |
|
24 |
INCLUDE_TOP=$(TOP)\.. |
|
25 |
||
26 |
||
27 |
||
28 |
!INCLUDE $(TOP)\rules\stdHeader_bc |
|
29 |
||
30 |
!INCLUDE Make.spec |
|
31 |
||
32 |
LIBNAME=libstx_goodies_xmlsuite_xmlreaderimpl |
|
297
494d4dfca187
Win / x86_64 build fix: build expat using either BCC or MINGW, depending on toolchain used
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
296
diff
changeset
|
33 |
MODULE_PATH=goodies\xmlsuite\xmlreaderimpl |
288 | 34 |
RESFILES=xmlreaderimpl.$(RES) |
173 | 35 |
|
36 |
||
37 |
||
300
b6d834208d33
ExpatXMLReader and DOM3XMLReader moved to xmlsuite/core package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
297
diff
changeset
|
38 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\xml\vw -I$(INCLUDE_TOP)\stx\goodies\xmlsuite\core -I$(INCLUDE_TOP)\stx\libbasic |
173 | 39 |
LOCALDEFINES= |
40 |
||
288 | 41 |
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME) |
300
b6d834208d33
ExpatXMLReader and DOM3XMLReader moved to xmlsuite/core package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
297
diff
changeset
|
42 |
LOCALLIBS= |
173 | 43 |
|
44 |
OBJS= $(COMMON_OBJS) $(WIN32_OBJS) |
|
45 |
||
300
b6d834208d33
ExpatXMLReader and DOM3XMLReader moved to xmlsuite/core package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
297
diff
changeset
|
46 |
ALL:: classLibRule |
173 | 47 |
|
48 |
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll |
|
49 |
||
50 |
!INCLUDE $(TOP)\rules\stdRules_bc |
|
51 |
||
288 | 52 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
173 | 53 |
prereq: |
54 |
pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
300
b6d834208d33
ExpatXMLReader and DOM3XMLReader moved to xmlsuite/core package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
297
diff
changeset
|
55 |
pushd ..\..\xml\vw & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
173 | 56 |
pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
57 |
pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
58 |
pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
59 |
pushd ..\..\..\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
60 |
pushd ..\..\..\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
61 |
pushd ..\core & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
288 | 62 |
|
173 | 63 |
|
64 |
||
65 |
||
66 |
||
288 | 67 |
|
68 |
||
69 |
test: $(TOP)\goodies\builder\reports\NUL |
|
70 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
|
71 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
|
72 |
||
73 |
clean:: |
|
74 |
del *.$(CSUFFIX) |
|
75 |
||
76 |
||
173 | 77 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
300
b6d834208d33
ExpatXMLReader and DOM3XMLReader moved to xmlsuite/core package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
297
diff
changeset
|
78 |
$(OUTDIR)XMLv2__VWSAXBuilder.$(O) XMLv2__VWSAXBuilder.$(H): XMLv2__VWSAXBuilder.st $(INCLUDE_TOP)\stx\goodies\xml\vw\NodeBuilder.$(H) $(INCLUDE_TOP)\stx\goodies\xml\vw\SAXBuilder.$(H) $(INCLUDE_TOP)\stx\goodies\xml\vw\XMLNodeBuilder.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
b6d834208d33
ExpatXMLReader and DOM3XMLReader moved to xmlsuite/core package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
297
diff
changeset
|
79 |
$(OUTDIR)XMLv2__VWXMLReader.$(O) XMLv2__VWXMLReader.$(H): XMLv2__VWXMLReader.st $(INCLUDE_TOP)\stx\goodies\xml\vw\StreamWrapper.$(H) $(INCLUDE_TOP)\stx\goodies\xml\vw\XMLParser.$(H) $(INCLUDE_TOP)\stx\goodies\xml\vw\XMLParserStX.$(H) $(INCLUDE_TOP)\stx\goodies\xmlsuite\core\XMLv2__XMLReader.$(H) $(INCLUDE_TOP)\stx\libbasic\Link.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
297
494d4dfca187
Win / x86_64 build fix: build expat using either BCC or MINGW, depending on toolchain used
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
296
diff
changeset
|
80 |
$(OUTDIR)stx_goodies_xmlsuite_xmlreaderimpl.$(O) stx_goodies_xmlsuite_xmlreaderimpl.$(H): stx_goodies_xmlsuite_xmlreaderimpl.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR) |
173 | 81 |
|
82 |
# ENDMAKEDEPEND --- do not remove this line |
|
297
494d4dfca187
Win / x86_64 build fix: build expat using either BCC or MINGW, depending on toolchain used
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
296
diff
changeset
|
83 |
|
494d4dfca187
Win / x86_64 build fix: build expat using either BCC or MINGW, depending on toolchain used
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
296
diff
changeset
|
84 |
# **Must be at end** |
494d4dfca187
Win / x86_64 build fix: build expat using either BCC or MINGW, depending on toolchain used
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
296
diff
changeset
|
85 |
|
494d4dfca187
Win / x86_64 build fix: build expat using either BCC or MINGW, depending on toolchain used
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
296
diff
changeset
|
86 |
# Enforce recompilation of package definition class if Mercurial working |
494d4dfca187
Win / x86_64 build fix: build expat using either BCC or MINGW, depending on toolchain used
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
296
diff
changeset
|
87 |
# copy state changes. Together with --guessVersion it ensures that package |
494d4dfca187
Win / x86_64 build fix: build expat using either BCC or MINGW, depending on toolchain used
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
296
diff
changeset
|
88 |
# definition class always contains correct binary revision string. |
494d4dfca187
Win / x86_64 build fix: build expat using either BCC or MINGW, depending on toolchain used
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
296
diff
changeset
|
89 |
!IFDEF HGROOT |
494d4dfca187
Win / x86_64 build fix: build expat using either BCC or MINGW, depending on toolchain used
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
296
diff
changeset
|
90 |
$(OUTDIR)stx_goodies_xmlsuite_xmlreaderimpl.$(O): $(HGROOT)\.hg\dirstate |
494d4dfca187
Win / x86_64 build fix: build expat using either BCC or MINGW, depending on toolchain used
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
296
diff
changeset
|
91 |
!ENDIF |