0
|
1 |
# $Header$
|
|
2 |
#
|
|
3 |
# DO NOT EDIT
|
|
4 |
# automagically generated from the projectDefinition: stx_goodies_ston.
|
|
5 |
#
|
|
6 |
# Warning: once you modify this file, do not rerun
|
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
|
|
8 |
#
|
|
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.
|
|
11 |
# It shares common definitions with the unix-make in Make.spec.
|
|
12 |
# The bc.mak supports the following targets:
|
|
13 |
# bmake - compile all st-files to a classLib (dll)
|
|
14 |
# bmake clean - clean all temp files
|
|
15 |
# bmake clobber - clean all
|
|
16 |
#
|
|
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")
|
|
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_ston
|
|
33 |
MODULE_PATH=goodies\ston
|
|
34 |
RESFILES=stx_goodies_stonWINrc.$(RES)
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libcompat -I$(INCLUDE_TOP)\stx\libhtml -I$(INCLUDE_TOP)\stx\libview
|
|
39 |
LOCALDEFINES=
|
|
40 |
|
|
41 |
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME)
|
|
42 |
LOCALLIBS=
|
|
43 |
|
|
44 |
OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
|
|
45 |
|
|
46 |
ALL:: classLibRule
|
|
47 |
|
|
48 |
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll
|
|
49 |
|
|
50 |
!INCLUDE $(TOP)\rules\stdRules_bc
|
|
51 |
|
|
52 |
# build all mandatory prerequisite packages (containing superclasses) for this package
|
|
53 |
prereq:
|
|
54 |
pushd ..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
|
|
55 |
pushd ..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
|
|
56 |
pushd ..\..\libbasic3 & $(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 ..\..\libhtml & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
|
|
61 |
pushd ..\..\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
|
|
62 |
pushd ..\..\libcompat & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
test: $(TOP)\goodies\builder\reports
|
|
71 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT)
|
|
72 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE)
|
|
73 |
|
|
74 |
clean::
|
|
75 |
-del *.$(CSUFFIX)
|
|
76 |
|
|
77 |
|
|
78 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
|
|
79 |
$(OUTDIR)STON.$(O) STON.$(C) STON.$(H): STON.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
80 |
$(OUTDIR)STONCStyleCommentsSkipStream.$(O) STONCStyleCommentsSkipStream.$(C) STONCStyleCommentsSkipStream.$(H): STONCStyleCommentsSkipStream.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
81 |
$(OUTDIR)STONFileReference.$(O) STONFileReference.$(C) STONFileReference.$(H): STONFileReference.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libcompat\FileReference.$(H) $(STCHDR)
|
|
82 |
$(OUTDIR)STONJSON.$(O) STONJSON.$(C) STONJSON.$(H): STONJSON.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
83 |
$(OUTDIR)STONReader.$(O) STONReader.$(C) STONReader.$(H): STONReader.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
84 |
$(OUTDIR)STONReaderError.$(O) STONReaderError.$(C) STONReaderError.$(H): STONReaderError.st $(INCLUDE_TOP)\stx\libbasic\Error.$(H) $(INCLUDE_TOP)\stx\libbasic\Exception.$(H) $(INCLUDE_TOP)\stx\libbasic\GenericException.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
85 |
$(OUTDIR)STONReference.$(O) STONReference.$(C) STONReference.$(H): STONReference.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
86 |
$(OUTDIR)STONStreamWriter.$(O) STONStreamWriter.$(C) STONStreamWriter.$(H): STONStreamWriter.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
87 |
$(OUTDIR)STONWriter.$(O) STONWriter.$(C) STONWriter.$(H): STONWriter.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
88 |
$(OUTDIR)STONWriterError.$(O) STONWriterError.$(C) STONWriterError.$(H): STONWriterError.st $(INCLUDE_TOP)\stx\libbasic\Error.$(H) $(INCLUDE_TOP)\stx\libbasic\Exception.$(H) $(INCLUDE_TOP)\stx\libbasic\GenericException.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
89 |
$(OUTDIR)stx_goodies_ston.$(O) stx_goodies_ston.$(C) stx_goodies_ston.$(H): stx_goodies_ston.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR)
|
|
90 |
$(OUTDIR)STONListWriter.$(O) STONListWriter.$(C) STONListWriter.$(H): STONListWriter.st $(INCLUDE_TOP)\stx\goodies\ston\STONStreamWriter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
91 |
$(OUTDIR)STONMapWriter.$(O) STONMapWriter.$(C) STONMapWriter.$(H): STONMapWriter.st $(INCLUDE_TOP)\stx\goodies\ston\STONStreamWriter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
92 |
$(OUTDIR)STONShortListWriter.$(O) STONShortListWriter.$(C) STONShortListWriter.$(H): STONShortListWriter.st $(INCLUDE_TOP)\stx\goodies\ston\STONListWriter.$(H) $(INCLUDE_TOP)\stx\goodies\ston\STONStreamWriter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
|
|
93 |
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)\stx\libbasic\AbstractTime.$(H) $(INCLUDE_TOP)\stx\libbasic\ArithmeticValue.$(H) $(INCLUDE_TOP)\stx\libbasic\ArrayedCollection.$(H) $(INCLUDE_TOP)\stx\libbasic\Association.$(H) $(INCLUDE_TOP)\stx\libbasic\Bag.$(H) $(INCLUDE_TOP)\stx\libbasic\Behavior.$(H) $(INCLUDE_TOP)\stx\libbasic\Boolean.$(H) $(INCLUDE_TOP)\stx\libbasic\ByteArray.$(H) $(INCLUDE_TOP)\stx\libbasic\Character.$(H) $(INCLUDE_TOP)\stx\libbasic\CharacterArray.$(H) $(INCLUDE_TOP)\stx\libbasic\Class.$(H) $(INCLUDE_TOP)\stx\libbasic\ClassDescription.$(H) $(INCLUDE_TOP)\stx\libbasic\Collection.$(H) $(INCLUDE_TOP)\stx\libbasic\Date.$(H) $(INCLUDE_TOP)\stx\libbasic\Dictionary.$(H) $(INCLUDE_TOP)\stx\libbasic\Filename.$(H) $(INCLUDE_TOP)\stx\libbasic\Fraction.$(H) $(INCLUDE_TOP)\stx\libbasic\Integer.$(H) $(INCLUDE_TOP)\stx\libbasic\Interval.$(H) $(INCLUDE_TOP)\stx\libbasic\LookupKey.$(H) $(INCLUDE_TOP)\stx\libbasic\Magnitude.$(H) $(INCLUDE_TOP)\stx\libbasic\Metaclass.$(H) $(INCLUDE_TOP)\stx\libbasic\Number.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\OrderedDictionary.$(H) $(INCLUDE_TOP)\stx\libbasic\Point.$(H) $(INCLUDE_TOP)\stx\libbasic\ReadOnlySequenceableCollection.$(H) $(INCLUDE_TOP)\stx\libbasic\SequenceableCollection.$(H) $(INCLUDE_TOP)\stx\libbasic\Set.$(H) $(INCLUDE_TOP)\stx\libbasic\String.$(H) $(INCLUDE_TOP)\stx\libbasic\Symbol.$(H) $(INCLUDE_TOP)\stx\libbasic\Time.$(H) $(INCLUDE_TOP)\stx\libbasic\Timestamp.$(H) $(INCLUDE_TOP)\stx\libbasic\UndefinedObject.$(H) $(INCLUDE_TOP)\stx\libbasic\UninterpretedBytes.$(H) $(INCLUDE_TOP)\stx\libbasic2\RunArray.$(H) $(INCLUDE_TOP)\stx\libhtml\URL.$(H) $(INCLUDE_TOP)\stx\libview\Color.$(H) $(STCHDR)
|
|
94 |
|
|
95 |
# ENDMAKEDEPEND --- do not remove this line
|
|
96 |
|
|
97 |
# **Must be at end**
|
|
98 |
|
|
99 |
# Enforce recompilation of package definition class if Mercurial working
|
|
100 |
# copy state changes. Together with --guessVersion it ensures that package
|
|
101 |
# definition class always contains correct binary revision string.
|
|
102 |
!IFDEF HGROOT
|
|
103 |
$(OUTDIR)stx_goodies_ston.$(O): $(HGROOT)\.hg\dirstate
|
|
104 |
!ENDIF
|