author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 28 Aug 2017 21:05:24 +0100 | |
branch | jv |
changeset 1954 | f868e5f2043f |
parent 1567 | e17701a073f9 |
child 2078 | 9d76442a61bb |
permissions | -rw-r--r-- |
193 | 1 |
# $Header$ |
2 |
# |
|
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
3 |
# DO NOT EDIT |
1449 | 4 |
# automagically generated from the projectDefinition: stx_goodies_regression. |
193 | 5 |
# |
6 |
# Warning: once you modify this file, do not rerun |
|
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
193 | 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 |
|
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
13 |
# |
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
14 |
# This file contains definitions for Unix based platforms. |
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
15 |
# It shares common definitions with the win32-make in Make.spec. |
193 | 16 |
|
17 |
# |
|
18 |
# position (of this package) in directory hierarchy: |
|
19 |
# (must point to ST/X top directory, for tools and includes) |
|
1567
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
20 |
TOP=../.. |
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
21 |
INCLUDE_TOP=$(TOP)/.. |
193 | 22 |
|
23 |
# subdirectories where targets are to be made: |
|
24 |
SUBDIRS= |
|
25 |
||
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
26 |
|
193 | 27 |
# subdirectories where Makefiles are to be made: |
28 |
# (only define if different from SUBDIRS) |
|
29 |
# ALLSUBDIRS= |
|
30 |
||
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
31 |
REQUIRED_SUPPORT_DIRS= |
193 | 32 |
|
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
33 |
# if your embedded C code requires any system includes, |
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
34 |
# add the path(es) here:, |
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
35 |
# ********** OPTIONAL: MODIFY the next lines *** |
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
36 |
# LOCALINCLUDES=-Ifoo -Ibar |
1567
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/communication -I$(INCLUDE_TOP)/stx/goodies/sunit -I$(INCLUDE_TOP)/stx/goodies/xml/stx -I$(INCLUDE_TOP)/stx/goodies/xml/vw -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libbasic3 -I$(INCLUDE_TOP)/stx/libboss -I$(INCLUDE_TOP)/stx/libcomp -I$(INCLUDE_TOP)/stx/libhtml -I$(INCLUDE_TOP)/stx/libjava -I$(INCLUDE_TOP)/stx/libjavascript -I$(INCLUDE_TOP)/stx/libtool -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/libwidg2 |
193 | 38 |
|
39 |
||
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
40 |
# if you need any additional defines for embedded C code, |
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
41 |
# add them here:, |
193 | 42 |
# ********** OPTIONAL: MODIFY the next lines *** |
43 |
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG |
|
44 |
LOCALDEFINES= |
|
45 |
||
1449 | 46 |
LIBNAME=libstx_goodies_regression |
707
4ff43580f1d6
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
594
diff
changeset
|
47 |
STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=. -varPrefix=$(LIBNAME) |
193 | 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= |
|
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
53 |
LOCAL_SHARED_LIBS= |
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
54 |
|
193 | 55 |
|
56 |
# ********** OPTIONAL: MODIFY the next line *** |
|
57 |
# additional C targets or libraries should be added below |
|
58 |
LOCAL_EXTRA_TARGETS= |
|
59 |
||
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
60 |
OBJS= $(COMMON_OBJS) $(UNIX_OBJS) |
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
61 |
|
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
62 |
|
193 | 63 |
|
64 |
all:: preMake classLibRule postMake |
|
65 |
||
1567
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
66 |
pre_objs:: |
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
67 |
|
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
68 |
|
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
69 |
|
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
70 |
|
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
71 |
|
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
72 |
|
1567
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
73 |
# Enforce recompilation of package definition class if Mercurial working |
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
74 |
# copy state changes. Together with --guessVersion it ensures that package |
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
75 |
# definition class always contains correct binary revision string. |
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
76 |
ifneq (**NOHG**, $(shell hg root 2> /dev/null || echo -n '**NOHG**')) |
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
77 |
stx_goodies_regression.$(O): $(shell hg root)/.hg/dirstate |
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
78 |
endif |
880
e10235f5924f
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
867
diff
changeset
|
79 |
|
707
4ff43580f1d6
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
594
diff
changeset
|
80 |
|
1091 | 81 |
|
82 |
||
83 |
# run default testsuite for this package |
|
84 |
test: $(TOP)/goodies/builder/reports |
|
1118
fce9d02319c3
Added some elementary tests for TSTree and TSMultiTree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1091
diff
changeset
|
85 |
$(MAKE) -C $(TOP)/goodies/builder/reports -f Makefile.init |
1091 | 86 |
$(TOP)/goodies/builder/reports/report-runner.sh -D . -r Builder::TestReport -p $(PACKAGE) |
87 |
||
88 |
||
89 |
||
193 | 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 |
||
826
ce0e19cb47ca
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
813
diff
changeset
|
102 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
ce0e19cb47ca
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
813
diff
changeset
|
103 |
prereq: |
1567
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
104 |
cd ../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
105 |
cd ../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
106 |
cd ../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
107 |
cd ../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
108 |
cd ../sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
109 |
|
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
110 |
|
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
111 |
|
826
ce0e19cb47ca
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
813
diff
changeset
|
112 |
# build all packages containing referenced classes for this package |
1567
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
113 |
# they are not needed to compile the package (but later, to load it) |
826
ce0e19cb47ca
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
813
diff
changeset
|
114 |
references: |
ce0e19cb47ca
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
813
diff
changeset
|
115 |
|
ce0e19cb47ca
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
813
diff
changeset
|
116 |
|
193 | 117 |
cleanjunk:: |
707
4ff43580f1d6
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
594
diff
changeset
|
118 |
-rm -f *.s *.s2 |
193 | 119 |
|
120 |
clean:: |
|
121 |
-rm -f *.o *.H |
|
122 |
||
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
123 |
clobber:: clean |
193 | 124 |
-rm -f *.so *.dll |
125 |
||
126 |
||
127 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
1567
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
128 |
$(OUTDIR)stx_goodies_regression.$(O) stx_goodies_regression.$(C) stx_goodies_regression.$(H): stx_goodies_regression.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(STCHDR) |
594
f47f274506a4
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
280
diff
changeset
|
129 |
|
193 | 130 |
# ENDMAKEDEPEND --- do not remove this line |
1567
e17701a073f9
Added abstract VMSpawningTestCase
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1500
diff
changeset
|
131 |