1
|
1 |
# $Header$
|
|
2 |
#
|
|
3 |
# DO NOT EDIT
|
|
4 |
# automagically generated from the projectDefinition: stx_goodies_cypress.
|
|
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/goodies/monticello -I$(INCLUDE_TOP)/stx/goodies/sunit -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libcompat -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libbasic3 -I$(INCLUDE_TOP)/stx/libcomp -I$(INCLUDE_TOP)/stx/libhtml
|
|
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_cypress
|
|
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::
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
# Update SVN revision in stx_libbasic3.st
|
|
72 |
ifneq (,$(findstring .svn,$(wildcard .svn)))
|
|
73 |
.svnversion: *.st
|
|
74 |
if [ -d .svn ]; then \
|
|
75 |
rev=$(shell svnversion -n); \
|
|
76 |
echo -n $$rev > .svnversion; \
|
|
77 |
else \
|
|
78 |
echo -n exported > .svnversion; \
|
|
79 |
fi
|
|
80 |
|
|
81 |
stx_goodies_cypress.o: stx_goodies_cypress.st .svnversion
|
|
82 |
@if [ -d .svn ]; then \
|
|
83 |
rev2="$(shell printf "%-16s" $$(cat .svnversion))"; \
|
|
84 |
echo " [SV] Expanding svnRevisionNo in $1.st"; \
|
|
85 |
sed -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"\'$$rev2\'\"\$$\"/g" $< > .stx_goodies_cypress.svn.st; \
|
|
86 |
fi
|
|
87 |
$(MAKE) CC="$(CLASSLIB_CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" STC="$(STC)" STFILE=.stx_goodies_cypress.svn $(C_RULE);
|
|
88 |
sed -i -e "s/\".stx_goodies_cypress.svn.st\");/\"\stx_goodies_cypress.st\");/g" .stx_goodies_cypress.svn.c
|
|
89 |
$(MAKE) .stx_goodies_cypress.svn.$(O)
|
|
90 |
@mv .stx_goodies_cypress.svn.$(O) stx_goodies_cypress.$(O)
|
|
91 |
endif
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
# add more install actions here
|
|
97 |
install::
|
|
98 |
|
|
99 |
# add more install actions for aux-files (resources) here
|
|
100 |
installAux::
|
|
101 |
|
|
102 |
# add more preMake actions here
|
|
103 |
preMake::
|
|
104 |
|
|
105 |
# add more postMake actions here
|
|
106 |
postMake:: cleanjunk
|
|
107 |
|
|
108 |
prereq: $(REQUIRED_SUPPORT_DIRS)
|
|
109 |
cd ../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
110 |
cd ../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
111 |
cd ../../libcomp && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
112 |
cd ../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
113 |
cd ../../libdb && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
114 |
cd ../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
115 |
cd ../../libboss && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
116 |
cd ../../libdb/libodbc && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
117 |
cd ../../libdb/libsqlite && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
118 |
cd ../sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
119 |
cd ../../libui && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
120 |
cd ../../libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
121 |
cd ../../libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
122 |
cd ../../libhtml && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
123 |
cd ../../libwidg2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
124 |
cd ../../libtool && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
125 |
cd ../../libcompat && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
126 |
cd ../communication && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
127 |
cd ../monticello && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
128 |
cd ../../librun && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
|
|
129 |
|
|
130 |
|
|
131 |
|
|
132 |
cleanjunk::
|
|
133 |
-rm -f *.s *.s2
|
|
134 |
|
|
135 |
clean::
|
|
136 |
-rm -f *.o *.H
|
|
137 |
|
|
138 |
clobber:: clean
|
|
139 |
-rm -f *.so *.dll
|
|
140 |
|
|
141 |
|
|
142 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
|
|
143 |
$(OUTDIR)CypressDefinition.$(O) CypressDefinition.$(H): CypressDefinition.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
144 |
$(OUTDIR)CypressDefinitionIndex.$(O) CypressDefinitionIndex.$(H): CypressDefinitionIndex.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
145 |
$(OUTDIR)CypressDependencySorter.$(O) CypressDependencySorter.$(H): CypressDependencySorter.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
146 |
$(OUTDIR)CypressJsonParser.$(O) CypressJsonParser.$(H): CypressJsonParser.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
147 |
$(OUTDIR)CypressLoader.$(O) CypressLoader.$(H): CypressLoader.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
148 |
$(OUTDIR)CypressMockBasic.$(O) CypressMockBasic.$(H): CypressMockBasic.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
149 |
$(OUTDIR)CypressPackageDefinition.$(O) CypressPackageDefinition.$(H): CypressPackageDefinition.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
150 |
$(OUTDIR)CypressPackageReader.$(O) CypressPackageReader.$(H): CypressPackageReader.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
151 |
$(OUTDIR)CypressPackageWriter.$(O) CypressPackageWriter.$(H): CypressPackageWriter.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
152 |
$(OUTDIR)CypressPatch.$(O) CypressPatch.$(H): CypressPatch.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
153 |
$(OUTDIR)CypressPatchOperation.$(O) CypressPatchOperation.$(H): CypressPatchOperation.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
154 |
$(OUTDIR)CypressSnapshot.$(O) CypressSnapshot.$(H): CypressSnapshot.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
155 |
$(OUTDIR)CypressStructure.$(O) CypressStructure.$(H): CypressStructure.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
156 |
$(OUTDIR)stx_goodies_cypress.$(O) stx_goodies_cypress.$(H): stx_goodies_cypress.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
157 |
$(OUTDIR)CypressAddition.$(O) CypressAddition.$(H): CypressAddition.st $(INCLUDE_TOP)/stx/goodies/cypress/CypressPatchOperation.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
158 |
$(OUTDIR)CypressClassDefinition.$(O) CypressClassDefinition.$(H): CypressClassDefinition.st $(INCLUDE_TOP)/stx/goodies/cypress/CypressDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
159 |
$(OUTDIR)CypressClassStructure.$(O) CypressClassStructure.$(H): CypressClassStructure.st $(INCLUDE_TOP)/stx/goodies/cypress/CypressStructure.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
160 |
$(OUTDIR)CypressMethodDefinition.$(O) CypressMethodDefinition.$(H): CypressMethodDefinition.st $(INCLUDE_TOP)/stx/goodies/cypress/CypressDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
161 |
$(OUTDIR)CypressMethodStructure.$(O) CypressMethodStructure.$(H): CypressMethodStructure.st $(INCLUDE_TOP)/stx/goodies/cypress/CypressStructure.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
162 |
$(OUTDIR)CypressModification.$(O) CypressModification.$(H): CypressModification.st $(INCLUDE_TOP)/stx/goodies/cypress/CypressPatchOperation.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
163 |
$(OUTDIR)CypressPackageStructure.$(O) CypressPackageStructure.$(H): CypressPackageStructure.st $(INCLUDE_TOP)/stx/goodies/cypress/CypressStructure.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
|
164 |
$(OUTDIR)CypressRemoval.$(O) CypressRemoval.$(H): CypressRemoval.st $(INCLUDE_TOP)/stx/goodies/cypress/CypressPatchOperation.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
|
3
|
165 |
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)/stx/libbasic/CharacterArray.$(H) $(INCLUDE_TOP)/stx/libbasic/ByteArray.$(H) $(INCLUDE_TOP)/stx/libbasic/UninterpretedBytes.$(H) $(INCLUDE_TOP)/stx/libbasic/ArrayedCollection.$(H) $(INCLUDE_TOP)/stx/libbasic/SequenceableCollection.$(H) $(INCLUDE_TOP)/stx/libbasic/Collection.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/Array.$(H) $(INCLUDE_TOP)/stx/libbasic/Boolean.$(H) $(INCLUDE_TOP)/stx/libbasic/Character.$(H) $(INCLUDE_TOP)/stx/libbasic/Magnitude.$(H) $(INCLUDE_TOP)/stx/libbasic/Class.$(H) $(INCLUDE_TOP)/stx/libbasic/ClassDescription.$(H) $(INCLUDE_TOP)/stx/libbasic/Behavior.$(H) $(INCLUDE_TOP)/stx/libbasic/Dictionary.$(H) $(INCLUDE_TOP)/stx/libbasic/Set.$(H) $(INCLUDE_TOP)/stx/libbasic/Number.$(H) $(INCLUDE_TOP)/stx/libbasic/ArithmeticValue.$(H) $(INCLUDE_TOP)/stx/libbasic/String.$(H) $(INCLUDE_TOP)/stx/libbasic/Method.$(H) $(INCLUDE_TOP)/stx/libbasic/CompiledCode.$(H) $(INCLUDE_TOP)/stx/libbasic/ExecutableFunction.$(H) $(STCHDR)
|
1
|
166 |
|
|
167 |
# ENDMAKEDEPEND --- do not remove this line
|
|
168 |
|