author | Stefan Vogel <sv@exept.de> |
Fri, 01 Mar 2013 14:32:01 +0100 | |
changeset 537 | 3f1a1f9d65bc |
parent 513 | d27d563d5d60 |
child 553 | c042d015f43e |
permissions | -rw-r--r-- |
537
3f1a1f9d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
513
diff
changeset
|
1 |
# $Header: /cvs/stx/stx/goodies/sunit/Make.proto,v 1.22 2013-03-01 13:32:01 stefan Exp $ |
0 | 2 |
# |
222 | 3 |
# DO NOT EDIT |
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
4 |
# automagically generated from the projectDefinition: stx_goodies_sunit. |
0 | 5 |
# |
6 |
# Warning: once you modify this file, do not rerun |
|
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
0 | 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 |
|
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
13 |
# |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
14 |
# This file contains definitions for Unix based platforms. |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
15 |
# It shares common definitions with the win32-make in Make.spec. |
0 | 16 |
|
17 |
# |
|
18 |
# position (of this package) in directory hierarchy: |
|
19 |
# (must point to ST/X top directory, for tools and includes) |
|
20 |
TOP=../.. |
|
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
21 |
INCLUDE_TOP=$(TOP)/.. |
0 | 22 |
|
23 |
# subdirectories where targets are to be made: |
|
24 |
SUBDIRS= |
|
25 |
||
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
26 |
|
0 | 27 |
# subdirectories where Makefiles are to be made: |
28 |
# (only define if different from SUBDIRS) |
|
29 |
# ALLSUBDIRS= |
|
30 |
||
187
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
31 |
REQUIRED_SUPPORT_DIRS= |
0 | 32 |
|
222 | 33 |
# if your embedded C code requires any system includes, |
34 |
# add the path(es) here:, |
|
0 | 35 |
# ********** OPTIONAL: MODIFY the next lines *** |
36 |
# LOCALINCLUDES=-Ifoo -Ibar |
|
537
3f1a1f9d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
513
diff
changeset
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libview |
0 | 38 |
|
39 |
||
222 | 40 |
# if you need any additional defines for embedded C code, |
41 |
# add them here:, |
|
0 | 42 |
# ********** OPTIONAL: MODIFY the next lines *** |
43 |
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG |
|
44 |
LOCALDEFINES= |
|
45 |
||
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
46 |
LIBNAME=libstx_goodies_sunit |
467
14439a73fbcf
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
423
diff
changeset
|
47 |
STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=. -varPrefix=$(LIBNAME) |
0 | 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= |
|
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
53 |
LOCAL_SHARED_LIBS= |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
54 |
|
0 | 55 |
|
56 |
# ********** OPTIONAL: MODIFY the next line *** |
|
57 |
# additional C targets or libraries should be added below |
|
58 |
LOCAL_EXTRA_TARGETS= |
|
59 |
||
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
60 |
OBJS= $(COMMON_OBJS) $(UNIX_OBJS) |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
61 |
|
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
62 |
|
0 | 63 |
|
64 |
all:: preMake classLibRule postMake |
|
65 |
||
222 | 66 |
pre_objs:: update-svn-revision |
67 |
||
68 |
||
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
69 |
|
222 | 70 |
update-svn-revision: |
226
37555225b657
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
222
diff
changeset
|
71 |
if [ ! -r .svnversion -o "$(shell svnversion -n)" != "$(shell cat .svnversion)" ]; then \ |
37555225b657
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
222
diff
changeset
|
72 |
svnversion -n > .svnversion; \ |
37555225b657
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
222
diff
changeset
|
73 |
sed -i -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"'$(shell svnversion -n)'\"\$$\"/g" \ |
37555225b657
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
222
diff
changeset
|
74 |
stx_goodies_sunit.st; \ |
37555225b657
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
222
diff
changeset
|
75 |
fi |
222 | 76 |
.PHONY: update-svn-revision |
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
77 |
|
0 | 78 |
|
467
14439a73fbcf
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
423
diff
changeset
|
79 |
|
14439a73fbcf
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
423
diff
changeset
|
80 |
|
0 | 81 |
# add more install actions here |
82 |
install:: |
|
83 |
||
84 |
# add more install actions for aux-files (resources) here |
|
85 |
installAux:: |
|
86 |
||
87 |
# add more preMake actions here |
|
88 |
preMake:: |
|
89 |
||
90 |
# add more postMake actions here |
|
91 |
postMake:: cleanjunk |
|
92 |
||
187
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
93 |
prereq: $(REQUIRED_SUPPORT_DIRS) |
222 | 94 |
cd ../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
95 |
cd ../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
96 |
cd ../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
97 |
cd ../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
187
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
98 |
|
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
99 |
|
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
100 |
|
0 | 101 |
cleanjunk:: |
467
14439a73fbcf
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
423
diff
changeset
|
102 |
-rm -f *.s *.s2 |
0 | 103 |
|
104 |
clean:: |
|
105 |
-rm -f *.o *.H |
|
106 |
||
187
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
107 |
clobber:: clean |
0 | 108 |
-rm -f *.so *.dll |
109 |
||
110 |
||
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
111 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
513
d27d563d5d60
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
467
diff
changeset
|
112 |
$(OUTDIR)MetricsReporter.$(O) MetricsReporter.$(H): MetricsReporter.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
113 |
$(OUTDIR)SUnitDelay.$(O) SUnitDelay.$(H): SUnitDelay.st $(INCLUDE_TOP)/stx/libbasic/Delay.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
114 |
$(OUTDIR)SUnitNameResolver.$(O) SUnitNameResolver.$(H): SUnitNameResolver.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
222 | 115 |
$(OUTDIR)TestAsserter.$(O) TestAsserter.$(H): TestAsserter.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
362 | 116 |
$(OUTDIR)TestCaseOutcome.$(O) TestCaseOutcome.$(H): TestCaseOutcome.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
513
d27d563d5d60
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
467
diff
changeset
|
117 |
$(OUTDIR)TestCoverageReporter.$(O) TestCoverageReporter.$(H): TestCoverageReporter.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
118 |
$(OUTDIR)TestFailure.$(O) TestFailure.$(H): TestFailure.st $(INCLUDE_TOP)/stx/libbasic/Exception.$(H) $(INCLUDE_TOP)/stx/libbasic/GenericException.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
119 |
$(OUTDIR)TestResult.$(O) TestResult.$(H): TestResult.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
467
14439a73fbcf
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
423
diff
changeset
|
120 |
$(OUTDIR)TestResultReporter.$(O) TestResultReporter.$(H): TestResultReporter.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
121 |
$(OUTDIR)TestRunner.$(O) TestRunner.$(H): TestRunner.st $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
122 |
$(OUTDIR)TestSuite.$(O) TestSuite.$(H): TestSuite.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
123 |
$(OUTDIR)TestSuitesScripter.$(O) TestSuitesScripter.$(H): TestSuitesScripter.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
124 |
$(OUTDIR)stx_goodies_sunit.$(O) stx_goodies_sunit.$(H): stx_goodies_sunit.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
125 |
$(OUTDIR)ResumableTestFailure.$(O) ResumableTestFailure.$(H): ResumableTestFailure.st $(INCLUDE_TOP)/stx/goodies/sunit/TestFailure.$(H) $(INCLUDE_TOP)/stx/libbasic/Exception.$(H) $(INCLUDE_TOP)/stx/libbasic/GenericException.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
222 | 126 |
$(OUTDIR)TestCase.$(O) TestCase.$(H): TestCase.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
127 |
$(OUTDIR)TestResource.$(O) TestResource.$(H): TestResource.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
370
22cb88d23779
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
362
diff
changeset
|
128 |
$(OUTDIR)TestResultStX.$(O) TestResultStX.$(H): TestResultStX.st $(INCLUDE_TOP)/stx/goodies/sunit/TestResult.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
399 | 129 |
$(OUTDIR)TestCaseWithArguments.$(O) TestCaseWithArguments.$(H): TestCaseWithArguments.st $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
410 | 130 |
$(OUTDIR)TestResultForRunWithDebug.$(O) TestResultForRunWithDebug.$(H): TestResultForRunWithDebug.st $(INCLUDE_TOP)/stx/goodies/sunit/TestResultStX.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestResult.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
467
14439a73fbcf
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
423
diff
changeset
|
131 |
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)/stx/libbasic/Block.$(H) $(INCLUDE_TOP)/stx/libbasic/CompiledCode.$(H) $(INCLUDE_TOP)/stx/libbasic/ExecutableFunction.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/GenericException.$(H) $(INCLUDE_TOP)/stx/libbasic/String.$(H) $(INCLUDE_TOP)/stx/libbasic/CharacterArray.$(H) $(INCLUDE_TOP)/stx/libbasic/UninterpretedBytes.$(H) $(INCLUDE_TOP)/stx/libbasic/ArrayedCollection.$(H) $(INCLUDE_TOP)/stx/libbasic/SequenceableCollection.$(H) $(INCLUDE_TOP)/stx/libbasic/Collection.$(H) $(INCLUDE_TOP)/stx/libbasic/Symbol.$(H) $(STCHDR) |
0 | 132 |
|
133 |
# ENDMAKEDEPEND --- do not remove this line |
|
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
134 |