author | Claus Gittinger <cg@exept.de> |
Fri, 31 Oct 2008 13:49:05 +0100 | |
changeset 187 | f5f3994a3608 |
parent 165 | bb008e9b01e7 |
child 222 | 8e6f482297fa |
permissions | -rw-r--r-- |
187
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
1 |
# $Header: /cvs/stx/stx/goodies/sunit/Make.proto,v 1.6 2008-10-31 12:49:05 cg Exp $ |
0 | 2 |
# |
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
3 |
# DO NOT EDIT |
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 |
|
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 |
|
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libbasic |
0 | 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 |
||
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 |
||
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
66 |
pre_objs:: |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
67 |
|
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
68 |
|
0 | 69 |
|
70 |
# add more install actions here |
|
71 |
install:: |
|
72 |
||
73 |
# add more install actions for aux-files (resources) here |
|
74 |
installAux:: |
|
75 |
||
76 |
# add more preMake actions here |
|
77 |
preMake:: |
|
78 |
||
79 |
# add more postMake actions here |
|
80 |
postMake:: cleanjunk |
|
81 |
||
187
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
82 |
prereq: $(REQUIRED_SUPPORT_DIRS) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
83 |
(cd ../../libbasic ; $(MAKE)) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
84 |
(cd ../../libbasic2 ; $(MAKE)) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
85 |
(cd ../../libcomp ; $(MAKE)) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
86 |
(cd ../../libview ; $(MAKE)) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
87 |
(cd ../../libbasic3 ; $(MAKE)) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
88 |
(cd ../../libview2 ; $(MAKE)) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
89 |
(cd ../../libui ; $(MAKE)) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
90 |
(cd ../../libwidg ; $(MAKE)) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
91 |
(cd ../../libwidg2 ; $(MAKE)) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
92 |
(cd ../../libtool ; $(MAKE)) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
93 |
(cd ../../librun ; $(MAKE)) |
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
94 |
|
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
95 |
|
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
96 |
|
0 | 97 |
cleanjunk:: |
98 |
||
99 |
clean:: |
|
100 |
-rm -f *.o *.H |
|
101 |
||
187
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
102 |
clobber:: clean |
0 | 103 |
-rm -f *.so *.dll |
104 |
||
105 |
||
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
106 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
107 |
$(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
|
108 |
$(OUTDIR)SUnitNameResolver.$(O) SUnitNameResolver.$(H): SUnitNameResolver.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
109 |
$(OUTDIR)TestCase.$(O) TestCase.$(H): TestCase.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
110 |
$(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
|
111 |
$(OUTDIR)TestResource.$(O) TestResource.$(H): TestResource.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
112 |
$(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
|
113 |
$(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
|
114 |
$(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
|
115 |
$(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
|
116 |
$(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
|
117 |
$(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) |
187
f5f3994a3608
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
165
diff
changeset
|
118 |
$(OUTDIR)TestCaseWithArguments.$(O) TestCaseWithArguments.$(H): TestCaseWithArguments.st $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
0 | 119 |
|
120 |
# ENDMAKEDEPEND --- do not remove this line |
|
141
0482157d65bc
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
133
diff
changeset
|
121 |