author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Sat, 31 May 2014 00:42:30 +0100 | |
changeset 3 | 29ea333a1811 |
parent 2 | a96eb336dbd3 |
child 4 | 62366cc0fd95 |
permissions | -rw-r--r-- |
0 | 1 |
# $Header$ |
2 |
# |
|
3 |
# DO NOT EDIT |
|
4 |
# automagically generated from the projectDefinition: jv_libgdbs. |
|
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=..\..\stx |
|
24 |
INCLUDE_TOP=$(TOP)\.. |
|
25 |
||
26 |
||
27 |
||
28 |
!INCLUDE $(TOP)\rules\stdHeader_bc |
|
29 |
||
30 |
!INCLUDE Make.spec |
|
31 |
||
32 |
LIBNAME=libjv_libgdbs |
|
33 |
RESFILES=libgdbs.$(RES) |
|
34 |
||
35 |
||
36 |
||
3
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\announcements -I$(INCLUDE_TOP)\stx\libbasic |
0 | 38 |
LOCALDEFINES= |
39 |
||
40 |
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME) |
|
41 |
LOCALLIBS= |
|
42 |
||
43 |
OBJS= $(COMMON_OBJS) $(WIN32_OBJS) |
|
44 |
||
45 |
ALL:: classLibRule |
|
46 |
||
47 |
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll |
|
48 |
||
49 |
!INCLUDE $(TOP)\rules\stdRules_bc |
|
50 |
||
51 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
|
52 |
prereq: |
|
53 |
pushd ..\..\stx\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
3
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
54 |
pushd ..\..\stx\goodies\announcements & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
0 | 55 |
|
56 |
||
57 |
||
58 |
||
59 |
||
60 |
||
61 |
||
62 |
test: $(TOP)\goodies\builder\reports\NUL |
|
63 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
|
64 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
|
65 |
||
66 |
clean:: |
|
67 |
del *.$(CSUFFIX) |
|
68 |
||
69 |
||
70 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
71 |
$(OUTDIR)GDB.$(O) GDB.$(H): GDB.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
72 |
$(OUTDIR)GDBLauncher.$(O) GDBLauncher.$(H): GDBLauncher.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
3
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
73 |
$(OUTDIR)GDBMICommand.$(O) GDBMICommand.$(H): GDBMICommand.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
74 |
$(OUTDIR)GDBMICommandResult.$(O) GDBMICommandResult.$(H): GDBMICommandResult.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
75 |
$(OUTDIR)GDBMICommandStatus.$(O) GDBMICommandStatus.$(H): GDBMICommandStatus.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
2
a96eb336dbd3
More work reading.writing GDB events/commands
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
0
diff
changeset
|
76 |
$(OUTDIR)GDBMIDriver.$(O) GDBMIDriver.$(H): GDBMIDriver.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
3
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
77 |
$(OUTDIR)GDBMIEvent.$(O) GDBMIEvent.$(H): GDBMIEvent.st $(INCLUDE_TOP)\stx\goodies\announcements\Announcement.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
78 |
$(OUTDIR)GDBMIEventSet.$(O) GDBMIEventSet.$(H): GDBMIEventSet.st $(INCLUDE_TOP)\stx\libbasic\Collection.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\OrderedCollection.$(H) $(INCLUDE_TOP)\stx\libbasic\SequenceableCollection.$(H) $(STCHDR) |
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
79 |
$(OUTDIR)GDBObject.$(O) GDBObject.$(H): GDBObject.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
0 | 80 |
$(OUTDIR)jv_libgdbs.$(O) jv_libgdbs.$(H): jv_libgdbs.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR) |
3
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
81 |
$(OUTDIR)GDBMICommandResultEvent.$(O) GDBMICommandResultEvent.$(H): GDBMICommandResultEvent.st $(INCLUDE_TOP)\jv\libgdbs\GDBMIEvent.$(H) $(INCLUDE_TOP)\stx\goodies\announcements\Announcement.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
82 |
$(OUTDIR)GDBMIParser.$(O) GDBMIParser.$(H): GDBMIParser.st $(INCLUDE_TOP)\jv\libgdbs\GDBMICommandStatus.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
83 |
$(OUTDIR)GDBTuple.$(O) GDBTuple.$(H): GDBTuple.st $(INCLUDE_TOP)\jv\libgdbs\GDBObject.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
0 | 84 |
|
85 |
# ENDMAKEDEPEND --- do not remove this line |
|
86 |
||
87 |
# **Must be at end** |
|
88 |
||
89 |
# Enforce recompilation of package definition class if Mercurial working |
|
90 |
# copy state changes. Together with --guessVersion it ensures that package |
|
91 |
# definition class always contains correct binary revision string. |
|
92 |
!IFDEF HGROOT |
|
93 |
$(OUTDIR)jv_libgdbs.$(O): $(HGROOT)\.hg\dirstate |
|
94 |
!ENDIF |