author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Sat, 01 Nov 2014 00:30:28 +0000 | |
changeset 403 | 7063d523b064 |
parent 377 | 6112a403a52d |
child 404 | 8da796db7f95 |
permissions | -rw-r--r-- |
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
320
diff
changeset
|
1 |
# $Header$ |
246 | 2 |
# |
3 |
# DO NOT EDIT |
|
4 |
# automagically generated from the projectDefinition: stx_goodies_petitparser_tests. |
|
5 |
# |
|
6 |
# Warning: once you modify this file, do not rerun |
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
|
8 |
# |
|
9 |
# The Makefile as generated by this Make.proto supports the following targets: |
|
10 |
# make - compile all st-files to a classLib |
|
11 |
# make clean - clean all temp files |
|
12 |
# make clobber - clean all |
|
13 |
# |
|
14 |
# This file contains definitions for Unix based platforms. |
|
15 |
# It shares common definitions with the win32-make in Make.spec. |
|
16 |
||
17 |
# |
|
18 |
# position (of this package) in directory hierarchy: |
|
19 |
# (must point to ST/X top directory, for tools and includes) |
|
20 |
TOP=../../.. |
|
21 |
INCLUDE_TOP=$(TOP)/.. |
|
22 |
||
23 |
# subdirectories where targets are to be made: |
|
24 |
SUBDIRS= |
|
25 |
||
26 |
||
27 |
# subdirectories where Makefiles are to be made: |
|
28 |
# (only define if different from SUBDIRS) |
|
29 |
# ALLSUBDIRS= |
|
30 |
||
31 |
REQUIRED_SUPPORT_DIRS= |
|
32 |
||
33 |
# if your embedded C code requires any system includes, |
|
34 |
# add the path(es) here:, |
|
35 |
# ********** OPTIONAL: MODIFY the next lines *** |
|
36 |
# LOCALINCLUDES=-Ifoo -Ibar |
|
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
320
diff
changeset
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/petitparser -I$(INCLUDE_TOP)/stx/goodies/sunit -I$(INCLUDE_TOP)/stx/libbasic |
246 | 38 |
|
39 |
||
40 |
# if you need any additional defines for embedded C code, |
|
41 |
# add them here:, |
|
42 |
# ********** OPTIONAL: MODIFY the next lines *** |
|
43 |
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG |
|
44 |
LOCALDEFINES= |
|
45 |
||
46 |
LIBNAME=libstx_goodies_petitparser_tests |
|
47 |
STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=. -varPrefix=$(LIBNAME) |
|
48 |
||
49 |
||
50 |
# ********** OPTIONAL: MODIFY the next line *** |
|
51 |
# additional C-libraries that should be pre-linked with the class-objects |
|
52 |
LD_OBJ_LIBS= |
|
53 |
LOCAL_SHARED_LIBS= |
|
54 |
||
55 |
||
56 |
# ********** OPTIONAL: MODIFY the next line *** |
|
57 |
# additional C targets or libraries should be added below |
|
58 |
LOCAL_EXTRA_TARGETS= |
|
59 |
||
60 |
OBJS= $(COMMON_OBJS) $(UNIX_OBJS) |
|
61 |
||
62 |
||
63 |
||
64 |
all:: preMake classLibRule postMake |
|
65 |
||
66 |
pre_objs:: |
|
67 |
||
68 |
||
69 |
||
70 |
||
71 |
||
72 |
||
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
320
diff
changeset
|
73 |
# Enforce recompilation of package definition class if Mercurial working |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
320
diff
changeset
|
74 |
# copy state changes. Together with --guessVersion it ensures that package |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
320
diff
changeset
|
75 |
# definition class always contains correct binary revision string. |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
320
diff
changeset
|
76 |
ifneq (**NOHG**, $(shell hg root 2> /dev/null || echo -n '**NOHG**')) |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
320
diff
changeset
|
77 |
stx_goodies_petitparser_tests.$(O): $(shell hg root)/.hg/dirstate |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
320
diff
changeset
|
78 |
endif |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
320
diff
changeset
|
79 |
|
246 | 80 |
|
81 |
||
82 |
||
83 |
# run default testsuite for this package |
|
84 |
test: $(TOP)/goodies/builder/reports |
|
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
320
diff
changeset
|
85 |
$(MAKE) -C $(TOP)/goodies/builder/reports -f Makefile.init |
246 | 86 |
$(TOP)/goodies/builder/reports/report-runner.sh -D . -r Builder::TestReport -p $(PACKAGE) |
87 |
||
88 |
||
89 |
||
90 |
# add more install actions here |
|
91 |
install:: |
|
92 |
||
93 |
# add more install actions for aux-files (resources) here |
|
94 |
installAux:: |
|
95 |
||
96 |
# add more preMake actions here |
|
97 |
preMake:: |
|
98 |
||
99 |
# add more postMake actions here |
|
100 |
postMake:: cleanjunk |
|
101 |
||
102 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
|
103 |
prereq: |
|
104 |
cd ../../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
105 |
cd ../../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
320
diff
changeset
|
106 |
cd ../../../libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
246 | 107 |
cd ../../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
108 |
cd ../ && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
246 | 109 |
cd ../../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
110 |
cd ../../sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
111 |
||
112 |
||
113 |
||
114 |
# build all packages containing referenced classes for this package |
|
115 |
# they are nor needed to compile the package |
|
116 |
references: |
|
117 |
||
118 |
||
119 |
cleanjunk:: |
|
120 |
-rm -f *.s *.s2 |
|
121 |
||
122 |
clean:: |
|
123 |
-rm -f *.o *.H |
|
124 |
||
125 |
clobber:: clean |
|
126 |
-rm -f *.so *.dll |
|
127 |
||
128 |
||
129 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
130 |
$(OUTDIR)PPAbstractParseTest.$(O) PPAbstractParseTest.$(H): PPAbstractParseTest.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
131 |
$(OUTDIR)PPAbstractParserTest.$(O) PPAbstractParserTest.$(H): PPAbstractParserTest.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
132 |
$(OUTDIR)PPArithmeticParser.$(O) PPArithmeticParser.$(H): PPArithmeticParser.st $(INCLUDE_TOP)/stx/goodies/petitparser/PPCompositeParser.$(H) $(INCLUDE_TOP)/stx/goodies/petitparser/PPDelegateParser.$(H) $(INCLUDE_TOP)/stx/goodies/petitparser/PPParser.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
133 |
$(OUTDIR)PPContextMementoTest.$(O) PPContextMementoTest.$(H): PPContextMementoTest.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
134 |
$(OUTDIR)PPContextTest.$(O) PPContextTest.$(H): PPContextTest.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
135 |
$(OUTDIR)PPLambdaParser.$(O) PPLambdaParser.$(H): PPLambdaParser.st $(INCLUDE_TOP)/stx/goodies/petitparser/PPCompositeParser.$(H) $(INCLUDE_TOP)/stx/goodies/petitparser/PPDelegateParser.$(H) $(INCLUDE_TOP)/stx/goodies/petitparser/PPParser.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
136 |
$(OUTDIR)PPParserResource.$(O) PPParserResource.$(H): PPParserResource.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestResource.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
246 | 137 |
$(OUTDIR)stx_goodies_petitparser_tests.$(O) stx_goodies_petitparser_tests.$(H): stx_goodies_petitparser_tests.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(STCHDR) |
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
138 |
$(OUTDIR)PPComposedTest.$(O) PPComposedTest.$(H): PPComposedTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
139 |
$(OUTDIR)PPCompositeParserTest.$(O) PPCompositeParserTest.$(H): PPCompositeParserTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
140 |
$(OUTDIR)PPExtensionTest.$(O) PPExtensionTest.$(H): PPExtensionTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
141 |
$(OUTDIR)PPMappingTest.$(O) PPMappingTest.$(H): PPMappingTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParseTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
142 |
$(OUTDIR)PPObjectTest.$(O) PPObjectTest.$(H): PPObjectTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
143 |
$(OUTDIR)PPParserTest.$(O) PPParserTest.$(H): PPParserTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
144 |
$(OUTDIR)PPPredicateTest.$(O) PPPredicateTest.$(H): PPPredicateTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
145 |
$(OUTDIR)PPScriptingTest.$(O) PPScriptingTest.$(H): PPScriptingTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
146 |
$(OUTDIR)PPTokenTest.$(O) PPTokenTest.$(H): PPTokenTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
147 |
$(OUTDIR)PPArithmeticParserTest.$(O) PPArithmeticParserTest.$(H): PPArithmeticParserTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPCompositeParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
148 |
$(OUTDIR)PPLambdaParserTest.$(O) PPLambdaParserTest.$(H): PPLambdaParserTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPCompositeParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
149 |
$(OUTDIR)PPExpressionParserTest.$(O) PPExpressionParserTest.$(H): PPExpressionParserTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPArithmeticParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPCompositeParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
246 | 150 |
|
151 |
# ENDMAKEDEPEND --- do not remove this line |
|
152 |