57
|
1 |
# $Header$
|
|
2 |
#
|
|
3 |
# DO NOT EDIT
|
|
4 |
# automagically generated from the projectDefinition: stx_goodies_builder_reports at 2012-01-12 18:17:28.818.
|
|
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
|
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libui -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/browser -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/lint -I$(INCLUDE_TOP)/stx/goodies/sunit -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libwidg2 -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libcomp -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/helpers
|
|
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_builder_reports
|
|
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:: update-svn-revision
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
update-svn-revision:
|
|
71 |
if [ -d .svn ]; then \
|
|
72 |
rev=$(shell svnversion -n); \
|
|
73 |
if [ ! -r .svnversion -o "$$rev" != "$$(cat .svnversion)" ]; then \
|
|
74 |
echo -n $$rev > .svnversion; \
|
|
75 |
rev2=$$(printf "%15s" \'$$rev\'); \
|
|
76 |
sed -i -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"$$rev2\"\$$\"/g" \
|
|
77 |
stx_goodies_builder_reports.st; \
|
|
78 |
fi \
|
|
79 |
fi
|
|
80 |
.PHONY: update-svn-revision
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
# add more install actions here
|
|
86 |
install::
|
|
87 |
|
|
88 |
# add more install actions for aux-files (resources) here
|
|
89 |
installAux::
|
|
90 |
|
|
91 |
# add more preMake actions here
|
|
92 |
preMake::
|
|
93 |
|
|
94 |
# add more postMake actions here
|
|
95 |
postMake:: cleanjunk
|
|
96 |
|
|
97 |
prereq: $(REQUIRED_SUPPORT_DIRS)
|
|
98 |
cd ../../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
99 |
cd ../../refactoryBrowser/helpers && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
100 |
cd ../../refactoryBrowser/parser && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
101 |
cd ../../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
102 |
cd ../../../libcomp && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
103 |
cd ../../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
104 |
cd ../../../libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
105 |
cd ../../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
106 |
cd ../../../libboss && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
107 |
cd ../../refactoryBrowser/changes && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
108 |
cd ../../sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
109 |
cd ../../../libui && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
110 |
cd ../../../libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
111 |
cd ../../../libwidg2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
112 |
cd ../../../libwidg3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
113 |
cd ../../../libtool && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
114 |
cd ../../../libcompat && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
115 |
cd ../../refactoryBrowser/refactoring && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
116 |
cd ../../refactoryBrowser/browser && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
117 |
cd ../../refactoryBrowser/lint && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
118 |
cd ../../../librun && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
cleanjunk::
|
|
123 |
-rm -f *.s *.s2
|
|
124 |
|
|
125 |
clean::
|
|
126 |
-rm -f *.o *.H
|
|
127 |
|
|
128 |
clobber:: clean
|
|
129 |
-rm -f *.so *.dll
|
|
130 |
|
|
131 |
|
|
132 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
|
|
133 |
$(OUTDIR)Builder__Report.$(O) Builder__Report.$(H): Builder__Report.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
134 |
$(OUTDIR)Builder__ReportFormat.$(O) Builder__ReportFormat.$(H): Builder__ReportFormat.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
135 |
$(OUTDIR)Builder__ReportRunner.$(O) Builder__ReportRunner.$(H): Builder__ReportRunner.st $(INCLUDE_TOP)/stx/libbasic/StandaloneStartup.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
136 |
$(OUTDIR)stx_goodies_builder_reports.$(O) stx_goodies_builder_reports.$(H): stx_goodies_builder_reports.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
137 |
$(OUTDIR)Builder__ChangeReport.$(O) Builder__ChangeReport.$(H): Builder__ChangeReport.st $(INCLUDE_TOP)/stx/goodies/builder/reports/Builder__Report.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
138 |
$(OUTDIR)Builder__LintReport.$(O) Builder__LintReport.$(H): Builder__LintReport.st $(INCLUDE_TOP)/stx/goodies/builder/reports/Builder__Report.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
139 |
$(OUTDIR)Builder__LintReportFormat.$(O) Builder__LintReportFormat.$(H): Builder__LintReportFormat.st $(INCLUDE_TOP)/stx/goodies/builder/reports/Builder__ReportFormat.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
140 |
$(OUTDIR)Builder__TestReport.$(O) Builder__TestReport.$(H): Builder__TestReport.st $(INCLUDE_TOP)/stx/goodies/builder/reports/Builder__Report.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestResult.$(H) $(STCHDR)
|
|
141 |
$(OUTDIR)Builder__TestReportFormat.$(O) Builder__TestReportFormat.$(H): Builder__TestReportFormat.st $(INCLUDE_TOP)/stx/goodies/builder/reports/Builder__ReportFormat.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
142 |
$(OUTDIR)Builder__CoverageReport.$(O) Builder__CoverageReport.$(H): Builder__CoverageReport.st $(INCLUDE_TOP)/stx/goodies/builder/reports/Builder__TestReport.$(H) $(INCLUDE_TOP)/stx/goodies/builder/reports/Builder__Report.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
143 |
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
144 |
|
|
145 |
# ENDMAKEDEPEND --- do not remove this line
|
|
146 |
|