author | Stefan Vogel <sv@exept.de> |
Fri, 14 Feb 2003 12:05:56 +0100 | |
changeset 3802 | 23a48e42d520 |
parent 3692 | ee9adf79e07e |
child 3874 | d5ae4d92e277 |
permissions | -rw-r--r-- |
3802
23a48e42d520
Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents:
3692
diff
changeset
|
1 |
# $Header: /cvs/stx/stx/libview/Make.proto,v 1.130 2003-02-14 11:05:56 stefan Exp $ |
118 | 2 |
# |
0 | 3 |
# -------------- no need to change anything below ---------- |
4 |
||
54 | 5 |
TOP=.. |
0 | 6 |
SUBDIRS= |
54 | 7 |
|
3031 | 8 |
MODULE=stx |
3032 | 9 |
MODULE_DIR=libview |
0 | 10 |
LIBNAME=libview |
3045 | 11 |
THIS_IS_A_BASE_LIBRARY="yes" |
3031 | 12 |
PACKAGE=$(MODULE):$(LIBNAME) |
2110 | 13 |
LIB_BASE=$(LIBVIEW_BASE) |
2883 | 14 |
NM_LIB_BASE=LIBVIEW_BASE |
2110 | 15 |
|
135 | 16 |
SMALLLIBNAME=libview_small |
54 | 17 |
STCOPT=$(LIBVIEW_STCOPT) |
970 | 18 |
ZFLAG=-varPrefix=$(LIBNAME) |
2570
5d1d7997bd7d
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
2561
diff
changeset
|
19 |
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) $(ZFLAG) |
545 | 20 |
LINKOBJRULE=$(SEPINITLINKOBJRULE) |
0 | 21 |
|
1132 | 22 |
LOCALDEFS=-I$(XINCLUDE) $(XDEFS) $(CC_3D_FLAGS) |
67 | 23 |
|
130 | 24 |
RCSSOURCES=*.st Make.proto styles/*.style resources/*.rs |
121 | 25 |
|
352 | 26 |
DELIVERBINARIES=lib*.o lib*.a lib*.so $(LIBVIEW_EXTRA_TARGETS) |
27 |
||
2242 | 28 |
all:: abbrev.stc objs $(NOTINLIBOBJS) classList.stc $(OBJTARGET) $(LIBVIEW_EXTRA_TARGETS) |
67 | 29 |
|
3534 | 30 |
showOBJS: |
31 |
echo NOTINLIBOBJS=$(NOTINLIBOBJS) |
|
32 |
echo OBJTARGET=$(OBJTARGET) |
|
33 |
echo LIBVIEW_EXTRA_TARGETS=$(LIBVIEW_EXTRA_TARGETS) |
|
34 |
||
67 | 35 |
# |
68 | 36 |
# although all files are compiled here, |
67 | 37 |
# not everything goes into the target library |
38 |
# |
|
1907
61fdff318175
Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents:
1905
diff
changeset
|
39 |
LINKOBJS=$(LIBOBJS) |
548 | 40 |
|
168 | 41 |
# |
42 |
# also, those objects are not to be placed into the liblist |
|
43 |
# |
|
44 |
patchLiblist:: |
|
45 |
grep -v $(WORKSTAT1) < liblist.stc | grep -v $(WORKSTAT2) > ttt |
|
46 |
mv ttt liblist.stc |
|
47 |
||
1069 | 48 |
SMALLOBJFILES= \ |
1285 | 49 |
GraphicsDevice.$(O) \ |
50 |
HostGraphicsDevice.$(O) \ |
|
2900 | 51 |
DeviceWorkstation.$(O) \ |
1069 | 52 |
Image.$(O) \ |
1076 | 53 |
Depth1Image.$(O) Depth2Image.$(O) Depth4Image.$(O) \ |
54 |
Depth8Image.$(O) Depth24Image.$(O) \ |
|
2897 | 55 |
ImageReader.$(O) |
0 | 56 |
|
135 | 57 |
NOTINLIBOBJS= \ |
58 |
$(WORKSTAT1).$(O) \ |
|
59 |
$(WORKSTAT2).$(O) |
|
60 |
||
61 |
REQUIREDOBJS= \ |
|
1683 | 62 |
GraphicsDevice.$(O) \ |
63 |
HostGraphicsDevice.$(O) \ |
|
2897 | 64 |
DeviceWorkstation.$(O) \ |
81 | 65 |
Image.$(O) \ |
66 |
Depth1Image.$(O) \ |
|
67 |
Depth2Image.$(O) \ |
|
68 |
Depth4Image.$(O) \ |
|
69 |
Depth8Image.$(O) \ |
|
70 |
Depth24Image.$(O) \ |
|
2897 | 71 |
ImageReader.$(O) |
135 | 72 |
|
384
3801bf11d1e2
some classes are not time critical
Claus Gittinger <cg@exept.de>
parents:
368
diff
changeset
|
73 |
# |
3801bf11d1e2
some classes are not time critical
Claus Gittinger <cg@exept.de>
parents:
368
diff
changeset
|
74 |
# those can be compiled for space - not time critical |
3801bf11d1e2
some classes are not time critical
Claus Gittinger <cg@exept.de>
parents:
368
diff
changeset
|
75 |
# |
455 | 76 |
UNCRITICALOBJS= \ |
2897 | 77 |
DisplayRootView.$(O) \ |
1632 | 78 |
AlphaMask.$(O) |
384
3801bf11d1e2
some classes are not time critical
Claus Gittinger <cg@exept.de>
parents:
368
diff
changeset
|
79 |
|
1907
61fdff318175
Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents:
1905
diff
changeset
|
80 |
LIBOBJS= \ |
141 | 81 |
$(REQUIREDOBJS) \ |
135 | 82 |
Color.$(O) \ |
83 |
Colormap.$(O) \ |
|
2894 | 84 |
FontDescription.$(O) \ |
135 | 85 |
Font.$(O) \ |
86 |
Cursor.$(O) \ |
|
2897 | 87 |
DeviceHandle.$(O) \ |
88 |
GraphicsContext.$(O) \ |
|
89 |
DeviceGraphicsContext.$(O) \ |
|
90 |
GraphicsMedium.$(O) \ |
|
135 | 91 |
Form.$(O) \ |
2894 | 92 |
DisplaySurface.$(O) \ |
135 | 93 |
SimpleView.$(O) \ |
94 |
View.$(O) \ |
|
140 | 95 |
TopView.$(O) \ |
2897 | 96 |
StandardSystemView.$(O) \ |
135 | 97 |
ModalBox.$(O) \ |
98 |
PopUpView.$(O) \ |
|
2897 | 99 |
ShadowView.$(O) \ |
100 |
DisplayRootView.$(O) \ |
|
2893 | 101 |
Controller.$(O) \ |
2897 | 102 |
WindowingTransformation.$(O) \ |
103 |
WindowEvent.$(O) \ |
|
104 |
WindowGroup.$(O) \ |
|
105 |
WindowSensor.$(O) \ |
|
106 |
SynchronousWindowSensor.$(O) \ |
|
107 |
KeyboardForwarder.$(O) \ |
|
108 |
KeyboardMap.$(O) \ |
|
109 |
ResourcePack.$(O) \ |
|
135 | 110 |
ViewStyle.$(O) \ |
1096 | 111 |
Depth16Image.$(O) \ |
1683 | 112 |
Depth32Image.$(O) \ |
1907
61fdff318175
Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents:
1905
diff
changeset
|
113 |
ImageMask.$(O) |
61fdff318175
Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents:
1905
diff
changeset
|
114 |
|
61fdff318175
Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents:
1905
diff
changeset
|
115 |
OBJS = \ |
61fdff318175
Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents:
1905
diff
changeset
|
116 |
$(LIBOBJS) \ |
1096 | 117 |
$(MOREOBJS) \ |
196 | 118 |
$(NOTINLIBOBJS) |
0 | 119 |
|
135 | 120 |
smalllib: |
3534 | 121 |
@-rm -f classList.stc |
122 |
@-rm -f libViewInit.o |
|
123 |
$(MAKE) objs \ |
|
135 | 124 |
LIBNAME=$(SMALLLIBNAME) \ |
125 |
OBJS="$(REQUIREDOBJS)" \ |
|
1069 | 126 |
LINKOBJS="$(SMALLOBJFILES)" \ |
3040
2beb04ef721e
rule for smalllib must clear the generated init file
Claus Gittinger <cg@exept.de>
parents:
3032
diff
changeset
|
127 |
GENCLASSLIST_RULE=genClassList |
3534 | 128 |
$(MAKE) classList.stc \ |
3040
2beb04ef721e
rule for smalllib must clear the generated init file
Claus Gittinger <cg@exept.de>
parents:
3032
diff
changeset
|
129 |
GENCLASSLIST_RULE=genClassList \ |
135 | 130 |
LIBNAME=$(SMALLLIBNAME) \ |
131 |
OBJS="$(REQUIREDOBJS)" \ |
|
1069 | 132 |
LINKOBJS="$(SMALLOBJFILES)" |
3534 | 133 |
$(MAKE) obj$(TARGET_RULE_EXTENSION) \ |
135 | 134 |
LIBNAME=$(SMALLLIBNAME) \ |
135 |
OBJS="$(REQUIREDOBJS)" \ |
|
1069 | 136 |
LINKOBJS="$(SMALLOBJFILES)" \ |
3040
2beb04ef721e
rule for smalllib must clear the generated init file
Claus Gittinger <cg@exept.de>
parents:
3032
diff
changeset
|
137 |
GENCLASSLIST_RULE=genClassList |
3534 | 138 |
@-rm -f classList.stc |
139 |
@-rm -f libViewInit.o |
|
140 |
@-rm -f libInit.cc |
|
2 | 141 |
|
68 | 142 |
# |
143 |
# NXWorkstation, XWorkstation and GLXWorkstation are not included in |
|
144 |
# the classLibrary (but as extra objects) |
|
145 |
# |
|
536
3175c775ca16
classList-rule now in stdRules
Claus Gittinger <cg@exept.de>
parents:
477
diff
changeset
|
146 |
specialClassList: |
559 | 147 |
$(MAKE) $(GENCLASSLIST_RULE) GENCLASSLIST_RULE=$(GENCLASSLIST_RULE) LIBNAME=$(LIBNAME) OBJS="$(OBJS)" LINKOBJS="$(LINKOBJS)" |
2895
a375a8be805e
Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents:
2894
diff
changeset
|
148 |
@if test -f classList.stc; then \ |
a375a8be805e
Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents:
2894
diff
changeset
|
149 |
grep -v $(WORKSTAT1) < classList.stc > ttt; \ |
a375a8be805e
Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents:
2894
diff
changeset
|
150 |
mv ttt classList.stc; \ |
a375a8be805e
Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents:
2894
diff
changeset
|
151 |
grep -v $(WORKSTAT2) < classList.stc > ttt; \ |
a375a8be805e
Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents:
2894
diff
changeset
|
152 |
mv ttt classList.stc; \ |
a375a8be805e
Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents:
2894
diff
changeset
|
153 |
fi |
68 | 154 |
|
536
3175c775ca16
classList-rule now in stdRules
Claus Gittinger <cg@exept.de>
parents:
477
diff
changeset
|
155 |
CLASSLISTRULE=specialClassList |
3175c775ca16
classList-rule now in stdRules
Claus Gittinger <cg@exept.de>
parents:
477
diff
changeset
|
156 |
|
0 | 157 |
cleanjunk:: |
2552
9bc5d4ac8fb6
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
2543
diff
changeset
|
158 |
@-rm -f *.c *.H |
0 | 159 |
|
3802
23a48e42d520
Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents:
3692
diff
changeset
|
160 |
# |
23a48e42d520
Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents:
3692
diff
changeset
|
161 |
# in some systems these .o files are loaded into the system. |
23a48e42d520
Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents:
3692
diff
changeset
|
162 |
# Save them, but make sure that they are rebuild on next make! |
23a48e42d520
Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents:
3692
diff
changeset
|
163 |
# |
0 | 164 |
clean:: |
2897 | 165 |
@-mv XWorkstation.o XWorkstation.o.sav |
166 |
@-mv GLXWorkstation.o GLXWorkstation.o.sav |
|
2552
9bc5d4ac8fb6
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
2543
diff
changeset
|
167 |
@-rm -f [A-Z]*.o *.c *.H |
2897 | 168 |
@-mv XWorkstation.o.sav XWorkstation.o |
169 |
@-mv GLXWorkstation.o.sav GLXWorkstation.o |
|
3802
23a48e42d520
Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents:
3692
diff
changeset
|
170 |
@-touch XWorkstation.st GLXWorkstation.st |
0 | 171 |
|
172 |
clobber:: |
|
3802
23a48e42d520
Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents:
3692
diff
changeset
|
173 |
@-rm -f *.so *.o *.c *.H classList.stc abbrev.stc |
0 | 174 |
|
175 |
tar: |
|
153 | 176 |
(cd $(TOP); tar cvfh DISTRIB/libview.tar \ |
96 | 177 |
libview/.dir.info \ |
0 | 178 |
libview/*.st \ |
179 |
libview/Make.proto \ |
|
124 | 180 |
libview/styles/.dir.info \ |
181 |
libview/styles/*.style \ |
|
182 |
libview/styles/*.common \ |
|
141 | 183 |
libview/resources/*.rs) |
78 | 184 |
|
0 | 185 |
# |
550 | 186 |
# special BIG-rule (kludge for HP / ibm) |
54 | 187 |
# |
968
b042b0b62baa
dont compile XWorkstat & GLXWorkstat with -Zlibview - avoids load conflicts on SGI for faster startup
Claus Gittinger <cg@exept.de>
parents:
727
diff
changeset
|
188 |
|
b042b0b62baa
dont compile XWorkstat & GLXWorkstat with -Zlibview - avoids load conflicts on SGI for faster startup
Claus Gittinger <cg@exept.de>
parents:
727
diff
changeset
|
189 |
# |
3630
2b2f6649c014
Change Workstation initialization.
Stefan Vogel <sv@exept.de>
parents:
3534
diff
changeset
|
190 |
# also, XWorkstatation and GLXWorkstatation are separate (shared) Objects - compile without sepInitCode |
968
b042b0b62baa
dont compile XWorkstat & GLXWorkstat with -Zlibview - avoids load conflicts on SGI for faster startup
Claus Gittinger <cg@exept.de>
parents:
727
diff
changeset
|
191 |
# and without -Zlibview (to speedup ld.so on SGI, by avoiding conflicts) |
b042b0b62baa
dont compile XWorkstat & GLXWorkstat with -Zlibview - avoids load conflicts on SGI for faster startup
Claus Gittinger <cg@exept.de>
parents:
727
diff
changeset
|
192 |
# |
b042b0b62baa
dont compile XWorkstat & GLXWorkstat with -Zlibview - avoids load conflicts on SGI for faster startup
Claus Gittinger <cg@exept.de>
parents:
727
diff
changeset
|
193 |
|
3677 | 194 |
XWorkstation.$(O): XWorkstation.st $(INCLUDE)/DeviceWorkstation.H $(INCLUDE)/HostGraphicsDevice.H $(INCLUDE)/GraphicsDevice.H |
2897 | 195 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=XWorkstation \ |
2903 | 196 |
CC="$(CC)" OPT="$(OPT)" \ |
2561 | 197 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \ |
198 |
SEPINITCODE=-sepInitCode ZFLAG= |
|
81 | 199 |
|
3677 | 200 |
__GLXWorkstation.$(O): GLXWorkstation.st $(INCLUDE)/XWorkstation.H $(INCLUDE)/DeviceWorkstation.H $(INCLUDE)/HostGraphicsDevice.H $(INCLUDE)/GraphicsDevice.H |
2897 | 201 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=GLXWorkstation \ |
2561 | 202 |
CC="$(CC)" OPT="$(OPT)" \ |
203 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \ |
|
1683 | 204 |
SEPINITCODE=-sepInitCode ZFLAG= |
2897 | 205 |
mv GLXWorkstation.$(O) __GLXWorkstation.$(O) |
2070
5e1b6b49ce73
dont recompile GLXWorkstat.st for every gl-change
Claus Gittinger <cg@exept.de>
parents:
2055
diff
changeset
|
206 |
|
3692 | 207 |
GLXWorkstation.$(O): glLib __GLXWorkstation.$(O) |
2109 | 208 |
@if [ "$(NO_PRELINK_LIBGL)" = "" ]; \ |
2108
d41d30758db0
allow suppress of prelink with gl-lib (sgi)
Claus Gittinger <cg@exept.de>
parents:
2070
diff
changeset
|
209 |
then\ |
2897 | 210 |
echo $(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \ |
211 |
$(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \ |
|
2108
d41d30758db0
allow suppress of prelink with gl-lib (sgi)
Claus Gittinger <cg@exept.de>
parents:
2070
diff
changeset
|
212 |
else \ |
2897 | 213 |
echo cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \ |
214 |
cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \ |
|
2108
d41d30758db0
allow suppress of prelink with gl-lib (sgi)
Claus Gittinger <cg@exept.de>
parents:
2070
diff
changeset
|
215 |
fi |
54 | 216 |
|
2055 | 217 |
glLib: |
3491 | 218 |
@-if [ -d ../support/VGL ]; then \ |
219 |
(cd ../support/VGL ; $(MAKE) ) ; \ |
|
220 |
fi |
|
2055 | 221 |
|
2900 | 222 |
DeviceWorkstation.$(O): |
223 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceWorkstation \ |
|
2561 | 224 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
225 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
552 | 226 |
|
154 | 227 |
SimpleView.$(O): |
2561 | 228 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SimpleView \ |
229 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
|
230 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
54 | 231 |
|
550 | 232 |
Image.$(O): |
2561 | 233 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Image \ |
234 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
|
235 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
550 | 236 |
|
2897 | 237 |
#OGLWorkstation.$(O): OGLWorkstation.st |
238 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation CC=$(CC) OPT="$(OPT)" \ |
|
1683 | 239 |
# XDEFS="-DOPENGL -I$(MESA_DIR)/include" SEPINITCODE=-sepInitCode ZFLAG= |
2897 | 240 |
# $(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \ |
1683 | 241 |
# $(MESA_DIR)/lib/libMesaGL.a \ |
242 |
# $(MESA_DIR)/lib/libMesaGLU.a \ |
|
243 |
# $(MESA_DIR)/lib/libMesaaux.a |
|
2897 | 244 |
# mv ttt.$(O) OGLWorkstation.$(O) |
1132 | 245 |
|
2897 | 246 |
OGLWorkstation.$(O): GLXWorkstation.st |
247 |
cp GLXWorkstation.st OGLWorkstation.st |
|
248 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation \ |
|
2561 | 249 |
CC="$(CC)" OPT="$(OPT)" \ |
250 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \ |
|
1914 | 251 |
CC_VOGL_FLAGS="$(CC_MESA_INCLUDE) -DOPENGL -DMESA -UVGL -UGLX"\ |
1132 | 252 |
SEPINITCODE=-sepInitCode ZFLAG= |
2897 | 253 |
$(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \ |
1132 | 254 |
$(MESA_DIR)/lib/libMesaGL.a \ |
255 |
$(MESA_DIR)/lib/libMesaGLU.a \ |
|
256 |
$(MESA_DIR)/lib/libMesaaux.a |
|
2897 | 257 |
mv ttt.$(O) OGLWorkstation.$(O) |
258 |
rm -f OGLWorkstation.st |
|
1132 | 259 |
|
260 |
#ogl: |
|
2897 | 261 |
# $(MAKE) OGLWorkstation.o XDEFS="-DOPENGL -I$(VOGL_DIR) -DSHAPE" SEPINITCODE=-sepInitCode ZFLAG= |
262 |
# mv OGLWorkstation.o ttt.o |
|
263 |
# $(CLASSLIB_LD) -r -o OGLWorkstation.o ttt.o \ |
|
1683 | 264 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGL.a \ |
265 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGLU.a \ |
|
266 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaaux.a \ |
|
267 |
# /lib/libc.so.4 |
|
1132 | 268 |
|
193 | 269 |
# |
270 |
# on my 320H, do not compile DeviceWorkstation with -O2; |
|
271 |
# compiler is running out of space ... |
|
272 |
# |
|
1606
b004d98f2655
need new functions in export file for AIX
Claus Gittinger <cg@exept.de>
parents:
1285
diff
changeset
|
273 |
#AIX_BIGGIES: |
2897 | 274 |
# $(MAKE) GraphicsContext.$(O) |
275 |
# $(MAKE) DeviceGraphicsContext.$(O) |
|
2900 | 276 |
# $(MAKE) OPT= DeviceWorkstation.$(O) |
2897 | 277 |
# $(MAKE) OPT= XWorkstation.$(O) |
1683 | 278 |
# $(MAKE) OPT= Image.$(O) |
279 |
# $(MAKE) OPT= SimpleView.$(O) |
|
166 | 280 |
|
54 | 281 |
# |
1096 | 282 |
# prelink those - cannot mix non-shared with shared objects (sigh) |
283 |
# |
|
284 |
AIX_SHARED_XWORKSTATION: |
|
2900 | 285 |
$(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O) |
2897 | 286 |
$(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation |
287 |
@-echo "__XErrorHandler__" >> XWorkstation.exp |
|
288 |
@-echo "__XIOErrorHandler__" >> XWorkstation.exp |
|
289 |
$(MAKE) XWorkstation$(O_EXT) \ |
|
1096 | 290 |
ENTRY_INIT=XWorkstation \ |
291 |
AIX_LOCAL_LIBS="$(LIBX)" |
|
292 |
||
293 |
AIX_SHARED_GLXWORKSTATION: |
|
2900 | 294 |
$(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O) |
2897 | 295 |
$(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation |
296 |
@-echo "__XErrorHandler__" >> XWorkstation.exp |
|
297 |
@-echo "__XIOErrorHandler__" >> XWorkstation.exp |
|
298 |
$(MAKE) GLXWorkstation$(O_EXT) \ |
|
1096 | 299 |
ENTRY_INIT=GLXWorkstation \ |
2897 | 300 |
AIX_LOCAL_LIBS="-bI:XWorkstation.exp $(LIB_GL) $(LIBX) -lm" |
301 |
rm -f XWorkstation.exp |
|
1096 | 302 |
|
2781
f9ab71c37424
aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents:
2753
diff
changeset
|
303 |
# |
f9ab71c37424
aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents:
2753
diff
changeset
|
304 |
# in (my) aix system, those cannot be compiled with |
f9ab71c37424
aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents:
2753
diff
changeset
|
305 |
# the optimizer - running out of space ... |
f9ab71c37424
aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents:
2753
diff
changeset
|
306 |
# |
2897 | 307 |
AIX:: GraphicsContext.$(O) DeviceGraphicsContext.$(O) GraphicsMedium.$(O) DisplaySurface.$(O) |
2781
f9ab71c37424
aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents:
2753
diff
changeset
|
308 |
$(MAKE) OPT="" SimpleView.$(O) |
f9ab71c37424
aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents:
2753
diff
changeset
|
309 |
$(MAKE) OPT="" Image.$(O) |
1606
b004d98f2655
need new functions in export file for AIX
Claus Gittinger <cg@exept.de>
parents:
1285
diff
changeset
|
310 |
$(MAKE) $(AIX_XWORKSTATION_RULE) $(AIX_GLXWORKSTATION_RULE) |
1096 | 311 |
|
312 |
# |
|
666
321c58bf8202
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
663
diff
changeset
|
313 |
# on HP, big classes blow the C-preprocessor (stops with 'too much defining' error) |
321c58bf8202
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
663
diff
changeset
|
314 |
# |
1102 | 315 |
#HP:: |
316 |
# |
|
317 |
#HPbigFiles: |
|
1683 | 318 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Color CC=$(CC) OPT="$(OPT)" |
2897 | 319 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceGraphicsContext CC=$(CC) OPT="$(OPT)" |
666
321c58bf8202
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
663
diff
changeset
|
320 |
|
321c58bf8202
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
663
diff
changeset
|
321 |
# |
67 | 322 |
# install the extra objects |
323 |
# |
|
2903 | 324 |
installLibs:: |
325 |
@-if [ "$(WORKSTAT1)" != "" ]; then \ |
|
3043 | 326 |
$(MAKE) installSharedLib LIBNAME=$(WORKSTAT1); \ |
2903 | 327 |
fi |
328 |
@-if [ "$(WORKSTAT2)" != "" ]; then \ |
|
3043 | 329 |
$(MAKE) installSharedLib LIBNAME=$(WORKSTAT2); \ |
2903 | 330 |
fi |
331 |
@-if [ "$(WORKSTAT3)" != "" ]; then \ |
|
3043 | 332 |
$(MAKE) installSharedLib LIBNAME=$(WORKSTAT3); \ |
2903 | 333 |
fi |
334 |
@-if [ "$(WORKSTAT4)" != "" ]; then \ |
|
3043 | 335 |
$(MAKE) installSharedLib LIBNAME=$(WORKSTAT4); \ |
2903 | 336 |
fi |
67 | 337 |
|
3044 | 338 |
installResources:: $(INSTALLLIB_DIR)/resources |
339 |
@-for i in styles/*; do \ |
|
3209 | 340 |
if [ "$$i" != "styles/CVS" ]; then \ |
341 |
$(INSTALL_AUX_CMD) $$i $(INSTALLLIB_DIR)/resources; \ |
|
342 |
fi; \ |
|
343 |
done; |
|
3044 | 344 |
|
169 | 345 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
346 |
# ENDMAKEDEPEND --- do not remove this line |