author | Claus Gittinger <cg@exept.de> |
Sun, 21 Aug 2011 17:28:10 +0200 | |
changeset 423 | b9b2a57e088d |
parent 410 | 68c11e4def0d |
child 467 | 14439a73fbcf |
permissions | -rw-r--r-- |
423
b9b2a57e088d
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
410
diff
changeset
|
1 |
# $Header: /cvs/stx/stx/goodies/sunit/Make.proto,v 1.19 2011-08-21 15:28:10 cg 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 |
|
222 | 37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libbasic |
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 |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
47 |
STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -H. -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 |
|
79 |
# add more install actions here |
|
80 |
install:: |
|
81 |
||
82 |
# add more install actions for aux-files (resources) here |
|
83 |
installAux:: |
|
84 |
||
85 |
# add more preMake actions here |
|
86 |
preMake:: |
|
87 |
||
88 |
# add more postMake actions here |
|
89 |
postMake:: cleanjunk |
|
90 |
||
187
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
91 |
prereq: $(REQUIRED_SUPPORT_DIRS) |
222 | 92 |
cd ../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
93 |
cd ../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
94 |
cd ../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
95 |
cd ../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
96 |
cd ../../librun && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
187
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
97 |
|
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 |
|
0 | 100 |
cleanjunk:: |
101 |
||
102 |
clean:: |
|
103 |
-rm -f *.o *.H |
|
104 |
||
187
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
105 |
clobber:: clean |
0 | 106 |
-rm -f *.so *.dll |
107 |
||
108 |
||
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
109 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
110 |
$(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
|
111 |
$(OUTDIR)SUnitNameResolver.$(O) SUnitNameResolver.$(H): SUnitNameResolver.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
222 | 112 |
$(OUTDIR)TestAsserter.$(O) TestAsserter.$(H): TestAsserter.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
362 | 113 |
$(OUTDIR)TestCaseOutcome.$(O) TestCaseOutcome.$(H): TestCaseOutcome.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
114 |
$(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
|
115 |
$(OUTDIR)TestResult.$(O) TestResult.$(H): TestResult.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
116 |
$(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
|
117 |
$(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
|
118 |
$(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
|
119 |
$(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
|
120 |
$(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 | 121 |
$(OUTDIR)TestCase.$(O) TestCase.$(H): TestCase.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
122 |
$(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
|
123 |
$(OUTDIR)TestResultStX.$(O) TestResultStX.$(H): TestResultStX.st $(INCLUDE_TOP)/stx/goodies/sunit/TestResult.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
399 | 124 |
$(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 | 125 |
$(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) |
423
b9b2a57e088d
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
410
diff
changeset
|
126 |
$(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/ByteArray.$(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 | 127 |
|
128 |
# ENDMAKEDEPEND --- do not remove this line |
|
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
129 |