author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Wed, 01 Feb 2012 00:56:17 +0000 | |
changeset 103 | 726bf2ca0b99 |
parent 96 | 85e395d8e3d7 |
child 108 | 86d4f33280aa |
permissions | -rw-r--r-- |
9 | 1 |
# $Header$ |
2 |
# |
|
3 |
# DO NOT EDIT |
|
103
726bf2ca0b99
Removed methods from FileHandle to make it compilable.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
96
diff
changeset
|
4 |
# automagically generated from the projectDefinition: stx_goodies_xtreams_terminals at 2012-02-01 00:55:32.005. |
9 | 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 |
|
96 | 37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/goodies/xtreams/core -I$(INCLUDE_TOP)/exept/ctypes -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/goodies/xtreams/support |
9 | 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_terminals |
|
96 | 47 |
STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=. -varPrefix=$(LIBNAME) |
9 | 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: |
|
96 | 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_terminals.st; \ |
|
78 |
fi \ |
|
9 | 79 |
fi |
80 |
.PHONY: update-svn-revision |
|
81 |
||
82 |
||
96 | 83 |
|
84 |
||
9 | 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)" |
|
96 | 99 |
cd ../../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
9 | 100 |
cd ../core && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
101 |
cd ../../../libcomp && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
96 | 102 |
cd $(TOP)/../exept/ctypes && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
9 | 103 |
cd ../../../librun && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
104 |
||
105 |
||
106 |
||
107 |
cleanjunk:: |
|
96 | 108 |
-rm -f *.s *.s2 |
9 | 109 |
|
110 |
clean:: |
|
111 |
-rm -f *.o *.H |
|
112 |
||
113 |
clobber:: clean |
|
114 |
-rm -f *.so *.dll |
|
115 |
||
116 |
||
117 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
118 |
$(OUTDIR)Xtreams__BlockClosureGenerateStream.$(O) Xtreams__BlockClosureGenerateStream.$(H): Xtreams__BlockClosureGenerateStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
119 |
$(OUTDIR)Xtreams__BlockClosureReadStream.$(O) Xtreams__BlockClosureReadStream.$(H): Xtreams__BlockClosureReadStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
120 |
$(OUTDIR)Xtreams__BlockClosureWriteStream.$(O) Xtreams__BlockClosureWriteStream.$(H): Xtreams__BlockClosureWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
121 |
$(OUTDIR)Xtreams__BufferReadStream.$(O) Xtreams__BufferReadStream.$(H): Xtreams__BufferReadStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
122 |
$(OUTDIR)Xtreams__BufferWriteStream.$(O) Xtreams__BufferWriteStream.$(H): Xtreams__BufferWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
123 |
$(OUTDIR)Xtreams__BufferedWriteStream.$(O) Xtreams__BufferedWriteStream.$(H): Xtreams__BufferedWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
124 |
$(OUTDIR)Xtreams__CollectionWriteStream.$(O) Xtreams__CollectionWriteStream.$(H): Xtreams__CollectionWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
96 | 125 |
$(OUTDIR)Xtreams__ExternalReadStream.$(O) Xtreams__ExternalReadStream.$(H): Xtreams__ExternalReadStream.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) |
9 | 126 |
$(OUTDIR)Xtreams__ExternalWriteStream.$(O) Xtreams__ExternalWriteStream.$(H): Xtreams__ExternalWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
127 |
$(OUTDIR)Xtreams__FileWriteStream.$(O) Xtreams__FileWriteStream.$(H): Xtreams__FileWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
128 |
$(OUTDIR)Xtreams__NullWriteStream.$(O) Xtreams__NullWriteStream.$(H): Xtreams__NullWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
96 | 129 |
$(OUTDIR)Xtreams__PointerReadStream.$(O) Xtreams__PointerReadStream.$(H): Xtreams__PointerReadStream.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) |
130 |
$(OUTDIR)Xtreams__PointerWriteStream.$(O) Xtreams__PointerWriteStream.$(H): Xtreams__PointerWriteStream.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) |
|
9 | 131 |
$(OUTDIR)Xtreams__SequenceableCollectionReadStream.$(O) Xtreams__SequenceableCollectionReadStream.$(H): Xtreams__SequenceableCollectionReadStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
96 | 132 |
$(OUTDIR)Xtreams__SequenceableCollectionWriteStream.$(O) Xtreams__SequenceableCollectionWriteStream.$(H): Xtreams__SequenceableCollectionWriteStream.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) |
9 | 133 |
$(OUTDIR)Xtreams__SharedQueueReadStream.$(O) Xtreams__SharedQueueReadStream.$(H): Xtreams__SharedQueueReadStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
134 |
$(OUTDIR)Xtreams__SharedQueueWriteStream.$(O) Xtreams__SharedQueueWriteStream.$(H): Xtreams__SharedQueueWriteStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
135 |
$(OUTDIR)stx_goodies_xtreams_terminals.$(O) stx_goodies_xtreams_terminals.$(H): stx_goodies_xtreams_terminals.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
136 |
$(OUTDIR)Xtreams__FileReadStream.$(O) Xtreams__FileReadStream.$(H): Xtreams__FileReadStream.st $(INCLUDE_TOP)/stx/goodies/xtreams/terminals/Xtreams__ExternalReadStream.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__ReadStream.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
103
726bf2ca0b99
Removed methods from FileHandle to make it compilable.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
96
diff
changeset
|
137 |
$(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/Collection.$(H) $(INCLUDE_TOP)/stx/libbasic/Filename.$(H) $(INCLUDE_TOP)/stx/libbasic2/Random.$(H) $(INCLUDE_TOP)/stx/libbasic/Stream.$(H) $(INCLUDE_TOP)/stx/libbasic/SequenceableCollection.$(H) $(INCLUDE_TOP)/stx/libbasic2/SharedQueue.$(H) $(INCLUDE_TOP)/stx/libbasic2/Queue.$(H) $(INCLUDE_TOP)/stx/libbasic2/Socket.$(H) $(INCLUDE_TOP)/stx/libbasic/NonPositionableExternalStream.$(H) $(INCLUDE_TOP)/stx/libbasic/ExternalStream.$(H) $(INCLUDE_TOP)/stx/libbasic/ReadWriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/PositionableStream.$(H) $(INCLUDE_TOP)/stx/libbasic/PeekableStream.$(H) $(INCLUDE_TOP)/stx/libbasic/UndefinedObject.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__Buffer.$(H) $(INCLUDE_TOP)/stx/goodies/xtreams/core/Xtreams__WriteStream.$(H) $(INCLUDE_TOP)/stx/libbasic/PipeStream.$(H) $(INCLUDE_TOP)/stx/libwidg/TextCollector.$(H) $(INCLUDE_TOP)/stx/libwidg/EditTextView.$(H) $(INCLUDE_TOP)/stx/libwidg/TextView.$(H) $(INCLUDE_TOP)/stx/libwidg/ListView.$(H) $(INCLUDE_TOP)/stx/libview/View.$(H) $(INCLUDE_TOP)/stx/libview/SimpleView.$(H) $(INCLUDE_TOP)/stx/libview/DisplaySurface.$(H) $(INCLUDE_TOP)/stx/libview/GraphicsMedium.$(H) $(INCLUDE_TOP)/stx/libview/DeviceGraphicsContext.$(H) $(INCLUDE_TOP)/stx/libview/GraphicsContext.$(H) $(STCHDR) |
9 | 138 |
|
139 |
# ENDMAKEDEPEND --- do not remove this line |
|
140 |