10
|
1 |
# $Header$
|
|
2 |
#
|
|
3 |
# DO NOT EDIT
|
97
|
4 |
# automagically generated from the projectDefinition: stx_goodies_xtreams_transforms at 2012-02-01 00:34:32.532.
|
10
|
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
|
97
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/goodies/xtreams/core -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/goodies/xtreams/support -I$(INCLUDE_TOP)/stx/goodies/xtreams/terminals
|
10
|
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_xtreams_transforms
|
97
|
47 |
STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=. -varPrefix=$(LIBNAME)
|
10
|
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:
|
97
|
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_xtreams_transforms.st; \
|
|
78 |
fi \
|
10
|
79 |
fi
|
|
80 |
.PHONY: update-svn-revision
|
|
81 |
|
|
82 |
|
97
|
83 |
|
|
84 |
|
10
|
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)"
|
97
|
99 |
cd ../../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
10
|
100 |
cd ../core && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
101 |
cd ../../../libcomp && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
97
|
102 |
cd ../support && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
103 |
cd $(TOP)/../exept/ctypes && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
10
|
104 |
cd ../terminals && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
105 |
cd ../../../librun && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
cleanjunk::
|
97
|
110 |
-rm -f *.s *.s2
|
10
|
111 |
|
|
112 |
clean::
|
|
113 |
-rm -f *.o *.H
|
|
114 |
|
|
115 |
clobber:: clean
|
|
116 |
-rm -f *.so *.dll
|
|
117 |
|
|
118 |
|
|
119 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
|
|
120 |
$(OUTDIR)Xtreams__ASCIIEncoder.$(O) Xtreams__ASCIIEncoder.$(H): Xtreams__ASCIIEncoder.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__Encoder.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
97
|
121 |
$(OUTDIR)Xtreams__CollectReadStream.$(O) Xtreams__CollectReadStream.$(H): Xtreams__CollectReadStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__XtreamsPool.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
122 |
$(OUTDIR)Xtreams__CollectWriteStream.$(O) Xtreams__CollectWriteStream.$(H): Xtreams__CollectWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__XtreamsPool.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
10
|
123 |
$(OUTDIR)Xtreams__DuplicateReadStream.$(O) Xtreams__DuplicateReadStream.$(H): Xtreams__DuplicateReadStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
124 |
$(OUTDIR)Xtreams__DuplicateWriteStream.$(O) Xtreams__DuplicateWriteStream.$(H): Xtreams__DuplicateWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
97
|
125 |
$(OUTDIR)Xtreams__EncodeReadStream.$(O) Xtreams__EncodeReadStream.$(H): Xtreams__EncodeReadStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__XtreamsPool.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
126 |
$(OUTDIR)Xtreams__EncodeWriteStream.$(O) Xtreams__EncodeWriteStream.$(H): Xtreams__EncodeWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__XtreamsPool.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
10
|
127 |
$(OUTDIR)Xtreams__ISO8859L1Encoder.$(O) Xtreams__ISO8859L1Encoder.$(H): Xtreams__ISO8859L1Encoder.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__Encoder.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
97
|
128 |
$(OUTDIR)Xtreams__InterpretedReadStream.$(O) Xtreams__InterpretedReadStream.$(H): Xtreams__InterpretedReadStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__XtreamsPool.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
129 |
$(OUTDIR)Xtreams__InterpretedWriteStream.$(O) Xtreams__InterpretedWriteStream.$(H): Xtreams__InterpretedWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__XtreamsPool.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
130 |
$(OUTDIR)Xtreams__MessagePackMarshaler.$(O) Xtreams__MessagePackMarshaler.$(H): Xtreams__MessagePackMarshaler.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__XtreamsPool.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
10
|
131 |
$(OUTDIR)Xtreams__ObjectAnalyseStream.$(O) Xtreams__ObjectAnalyseStream.$(H): Xtreams__ObjectAnalyseStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
97
|
132 |
$(OUTDIR)Xtreams__ObjectMarshaler.$(O) Xtreams__ObjectMarshaler.$(H): Xtreams__ObjectMarshaler.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__XtreamsPool.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
10
|
133 |
$(OUTDIR)Xtreams__ObjectReadStream.$(O) Xtreams__ObjectReadStream.$(H): Xtreams__ObjectReadStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
134 |
$(OUTDIR)Xtreams__ObjectWriteStream.$(O) Xtreams__ObjectWriteStream.$(H): Xtreams__ObjectWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
97
|
135 |
$(OUTDIR)Xtreams__TransformReadStream.$(O) Xtreams__TransformReadStream.$(H): Xtreams__TransformReadStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__XtreamsPool.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
136 |
$(OUTDIR)Xtreams__TransformWriteStream.$(O) Xtreams__TransformWriteStream.$(H): Xtreams__TransformWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/support/Xtreams__XtreamsPool.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
10
|
137 |
$(OUTDIR)stx_goodies_xtreams_transforms.$(O) stx_goodies_xtreams_transforms.$(H): stx_goodies_xtreams_transforms.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
138 |
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(STCHDR)
|
|
139 |
|
|
140 |
# ENDMAKEDEPEND --- do not remove this line
|
|
141 |
|