author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Sun, 26 Jan 2014 23:47:27 +0000 | |
changeset 506 | b611cc119554 |
parent 505 | 1d7cab1946db |
child 510 | a5f57fac79ee |
permissions | -rw-r--r-- |
464 | 1 |
# $Header$ |
2 |
# |
|
3 |
# DO NOT EDIT |
|
4 |
# automagically generated from the projectDefinition: jn_refactoring_custom. |
|
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=libjn_refactoring_custom |
|
33 |
RESFILES=refactoring_custom.$(RES) |
|
34 |
||
35 |
||
36 |
||
506
b611cc119554
Added support for custom menu building and injecting into class browser's menus.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
505
diff
changeset
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libtool -I$(INCLUDE_TOP)\stx\libview2 |
464 | 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) " |
|
500
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
54 |
pushd ..\..\stx\goodies\refactoryBrowser\parser & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
468 | 55 |
pushd ..\..\stx\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
500
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
56 |
pushd ..\..\stx\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
57 |
pushd ..\..\stx\libcomp & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
58 |
pushd ..\..\stx\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
468 | 59 |
pushd ..\..\stx\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
60 |
pushd ..\..\stx\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
61 |
pushd ..\..\stx\goodies\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
500
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
62 |
pushd ..\..\stx\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
63 |
pushd ..\..\stx\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
64 |
pushd ..\..\stx\libtool & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
464 | 65 |
|
66 |
||
67 |
||
68 |
||
69 |
||
70 |
||
71 |
||
72 |
test: $(TOP)\goodies\builder\reports\NUL |
|
73 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
|
74 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
|
75 |
||
76 |
clean:: |
|
77 |
del *.$(CSUFFIX) |
|
78 |
||
79 |
||
80 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
500
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
81 |
$(OUTDIR)CustomCodeGeneratorOrRefactoring.$(O) CustomCodeGeneratorOrRefactoring.$(H): CustomCodeGeneratorOrRefactoring.st $(INCLUDE_TOP)\stx\libtool\CodeGeneratorTool.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
82 |
$(OUTDIR)CustomContext.$(O) CustomContext.$(H): CustomContext.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
506
b611cc119554
Added support for custom menu building and injecting into class browser's menus.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
505
diff
changeset
|
83 |
$(OUTDIR)CustomManager.$(O) CustomManager.$(H): CustomManager.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
b611cc119554
Added support for custom menu building and injecting into class browser's menus.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
505
diff
changeset
|
84 |
$(OUTDIR)CustomMenuBuilder.$(O) CustomMenuBuilder.$(H): CustomMenuBuilder.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
b611cc119554
Added support for custom menu building and injecting into class browser's menus.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
505
diff
changeset
|
85 |
$(OUTDIR)CustomPerspective.$(O) CustomPerspective.$(H): CustomPerspective.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
464 | 86 |
$(OUTDIR)jn_refactoring_custom.$(O) jn_refactoring_custom.$(H): jn_refactoring_custom.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
500
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
87 |
$(OUTDIR)CustomCodeGenerator.$(O) CustomCodeGenerator.$(H): CustomCodeGenerator.st $(INCLUDE_TOP)\jn\refactoring_custom\CustomCodeGeneratorOrRefactoring.$(H) $(INCLUDE_TOP)\stx\libtool\CodeGeneratorTool.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
88 |
$(OUTDIR)CustomRefactoring.$(O) CustomRefactoring.$(H): CustomRefactoring.st $(INCLUDE_TOP)\jn\refactoring_custom\CustomCodeGeneratorOrRefactoring.$(H) $(INCLUDE_TOP)\stx\libtool\CodeGeneratorTool.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
504
3525d97ae194
- added interface canGenerate, generate to CustomCodeGenrator with context object instead of a class
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
500
diff
changeset
|
89 |
$(OUTDIR)MockCustomContext.$(O) MockCustomContext.$(H): MockCustomContext.st $(INCLUDE_TOP)\jn\refactoring_custom\CustomContext.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
506
b611cc119554
Added support for custom menu building and injecting into class browser's menus.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
505
diff
changeset
|
90 |
$(OUTDIR)CustomFooBarBazCodeGenerator.$(O) CustomFooBarBazCodeGenerator.$(H): CustomFooBarBazCodeGenerator.st $(INCLUDE_TOP)\jn\refactoring_custom\CustomCodeGenerator.$(H) $(INCLUDE_TOP)\jn\refactoring_custom\CustomCodeGeneratorOrRefactoring.$(H) $(INCLUDE_TOP)\stx\libtool\CodeGeneratorTool.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
500
8c2b58d6b2d5
Code reogranization, Defined CustomContext & basic API.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
495
diff
changeset
|
91 |
$(OUTDIR)CustomVisitorCodeGenerator.$(O) CustomVisitorCodeGenerator.$(H): CustomVisitorCodeGenerator.st $(INCLUDE_TOP)\jn\refactoring_custom\CustomCodeGenerator.$(H) $(INCLUDE_TOP)\jn\refactoring_custom\CustomCodeGeneratorOrRefactoring.$(H) $(INCLUDE_TOP)\stx\libtool\CodeGeneratorTool.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
506
b611cc119554
Added support for custom menu building and injecting into class browser's menus.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
505
diff
changeset
|
92 |
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)\stx\libtool\Tools__NewSystemBrowser.$(H) $(INCLUDE_TOP)\stx\libtool\SystemBrowser.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
464 | 93 |
|
94 |
# ENDMAKEDEPEND --- do not remove this line |
|
95 |
||
96 |
# **Must be at end** |
|
97 |
||
98 |
# Enforce recompilation of package definition class if Mercurial working |
|
99 |
# copy state changes. Together with --guessVersion it ensures that package |
|
100 |
# definition class always contains correct binary revision string. |
|
101 |
!IFDEF HGROOT |
|
102 |
$(OUTDIR)jn_refactoring_custom.$(O): $(HGROOT)\.hg\dirstate |
|
103 |
!ENDIF |