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