author | Claus Gittinger <cg@exept.de> |
Thu, 22 Apr 1999 14:07:32 +0200 | |
changeset 2570 | 5d1d7997bd7d |
parent 2561 | ca2c81942f91 |
child 2751 | 75d38ab5c9a0 |
permissions | -rw-r--r-- |
2570
5d1d7997bd7d
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
2561
diff
changeset
|
1 |
# $Header: /cvs/stx/stx/libview/Make.proto,v 1.105 1999-04-22 12:07:32 cg Exp $ |
118 | 2 |
# |
0 | 3 |
# -------------- no need to change anything below ---------- |
4 |
||
54 | 5 |
TOP=.. |
0 | 6 |
SUBDIRS= |
54 | 7 |
|
0 | 8 |
LIBNAME=libview |
2570
5d1d7997bd7d
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
2561
diff
changeset
|
9 |
PACKAGE=stx:$(LIBNAME) |
2110 | 10 |
LIB_BASE=$(LIBVIEW_BASE) |
11 |
||
135 | 12 |
SMALLLIBNAME=libview_small |
54 | 13 |
STCOPT=$(LIBVIEW_STCOPT) |
970 | 14 |
ZFLAG=-varPrefix=$(LIBNAME) |
2570
5d1d7997bd7d
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
2561
diff
changeset
|
15 |
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) $(ZFLAG) |
545 | 16 |
LINKOBJRULE=$(SEPINITLINKOBJRULE) |
0 | 17 |
|
1132 | 18 |
LOCALDEFS=-I$(XINCLUDE) $(XDEFS) $(CC_3D_FLAGS) |
67 | 19 |
|
130 | 20 |
RCSSOURCES=*.st Make.proto styles/*.style resources/*.rs |
121 | 21 |
|
352 | 22 |
DELIVERBINARIES=lib*.o lib*.a lib*.so $(LIBVIEW_EXTRA_TARGETS) |
23 |
||
2242 | 24 |
all:: abbrev.stc objs $(NOTINLIBOBJS) classList.stc $(OBJTARGET) $(LIBVIEW_EXTRA_TARGETS) |
67 | 25 |
|
26 |
# |
|
68 | 27 |
# although all files are compiled here, |
67 | 28 |
# not everything goes into the target library |
29 |
# |
|
1907
61fdff318175
Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents:
1905
diff
changeset
|
30 |
LINKOBJS=$(LIBOBJS) |
548 | 31 |
|
168 | 32 |
# |
33 |
# also, those objects are not to be placed into the liblist |
|
34 |
# |
|
35 |
patchLiblist:: |
|
36 |
grep -v $(WORKSTAT1) < liblist.stc | grep -v $(WORKSTAT2) > ttt |
|
37 |
mv ttt liblist.stc |
|
38 |
||
1069 | 39 |
SMALLOBJFILES= \ |
1285 | 40 |
GraphicsDevice.$(O) \ |
41 |
HostGraphicsDevice.$(O) \ |
|
1069 | 42 |
DevWorkst.$(O) \ |
43 |
Image.$(O) \ |
|
1076 | 44 |
Depth1Image.$(O) Depth2Image.$(O) Depth4Image.$(O) \ |
45 |
Depth8Image.$(O) Depth24Image.$(O) \ |
|
1069 | 46 |
ImageRdr.$(O) |
0 | 47 |
|
135 | 48 |
NOTINLIBOBJS= \ |
49 |
$(WORKSTAT1).$(O) \ |
|
50 |
$(WORKSTAT2).$(O) |
|
51 |
||
52 |
REQUIREDOBJS= \ |
|
1683 | 53 |
GraphicsDevice.$(O) \ |
54 |
HostGraphicsDevice.$(O) \ |
|
135 | 55 |
DevWorkst.$(O) \ |
81 | 56 |
Image.$(O) \ |
57 |
Depth1Image.$(O) \ |
|
58 |
Depth2Image.$(O) \ |
|
59 |
Depth4Image.$(O) \ |
|
60 |
Depth8Image.$(O) \ |
|
61 |
Depth24Image.$(O) \ |
|
135 | 62 |
ImageRdr.$(O) |
63 |
||
384
3801bf11d1e2
some classes are not time critical
Claus Gittinger <cg@exept.de>
parents:
368
diff
changeset
|
64 |
# |
3801bf11d1e2
some classes are not time critical
Claus Gittinger <cg@exept.de>
parents:
368
diff
changeset
|
65 |
# 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
|
66 |
# |
455 | 67 |
UNCRITICALOBJS= \ |
1096 | 68 |
DRootView.$(O) \ |
1683 | 69 |
Workstat.$(O) \ |
1632 | 70 |
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) \ |
135 | 74 |
Workstat.$(O) \ |
75 |
Color.$(O) \ |
|
76 |
Colormap.$(O) \ |
|
77 |
FontDescr.$(O) \ |
|
78 |
Font.$(O) \ |
|
79 |
Cursor.$(O) \ |
|
152 | 80 |
DevHandle.$(O) \ |
135 | 81 |
GC.$(O) \ |
1069 | 82 |
DevGC.$(O) \ |
721
ba7861418087
renamed DisplayMedium to Graphicsmedium & changed inheritance
Claus Gittinger <cg@exept.de>
parents:
666
diff
changeset
|
83 |
GMedium.$(O) \ |
135 | 84 |
Form.$(O) \ |
1069 | 85 |
DSurface.$(O) \ |
135 | 86 |
SimpleView.$(O) \ |
87 |
View.$(O) \ |
|
140 | 88 |
TopView.$(O) \ |
135 | 89 |
StdSysV.$(O) \ |
90 |
ModalBox.$(O) \ |
|
91 |
PopUpView.$(O) \ |
|
140 | 92 |
ShadowV.$(O) \ |
135 | 93 |
DRootView.$(O) \ |
94 |
Controll.$(O) \ |
|
95 |
WTrans.$(O) \ |
|
96 |
WEvent.$(O) \ |
|
97 |
WGroup.$(O) \ |
|
1069 | 98 |
WSensor.$(O) \ |
99 |
SWSensor.$(O) \ |
|
135 | 100 |
KeybdFwd.$(O) \ |
101 |
KeybdMap.$(O) \ |
|
102 |
RsrcPack.$(O) \ |
|
103 |
ViewStyle.$(O) \ |
|
1096 | 104 |
Depth16Image.$(O) \ |
1683 | 105 |
Depth32Image.$(O) \ |
1907
61fdff318175
Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents:
1905
diff
changeset
|
106 |
ImageMask.$(O) |
61fdff318175
Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents:
1905
diff
changeset
|
107 |
|
61fdff318175
Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents:
1905
diff
changeset
|
108 |
OBJS = \ |
61fdff318175
Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents:
1905
diff
changeset
|
109 |
$(LIBOBJS) \ |
1096 | 110 |
$(MOREOBJS) \ |
196 | 111 |
$(NOTINLIBOBJS) |
0 | 112 |
|
135 | 113 |
smalllib: |
2543
75a1f85d2bf6
- Fixes to avoid using '-' rules to ignore an exit status:
manfred
parents:
2446
diff
changeset
|
114 |
@-rm -f classList.stc |
135 | 115 |
$(MAKE) objs \ |
116 |
LIBNAME=$(SMALLLIBNAME) \ |
|
117 |
OBJS="$(REQUIREDOBJS)" \ |
|
1069 | 118 |
LINKOBJS="$(SMALLOBJFILES)" \ |
135 | 119 |
GENCLASSLIST_RULE=genClassList_new |
120 |
$(MAKE) classList.stc \ |
|
121 |
GENCLASSLIST_RULE=genClassList_new \ |
|
122 |
LIBNAME=$(SMALLLIBNAME) \ |
|
123 |
OBJS="$(REQUIREDOBJS)" \ |
|
1069 | 124 |
LINKOBJS="$(SMALLOBJFILES)" |
135 | 125 |
$(MAKE) obj$(TARGET_RULE_EXTENSION) \ |
126 |
LIBNAME=$(SMALLLIBNAME) \ |
|
127 |
OBJS="$(REQUIREDOBJS)" \ |
|
1069 | 128 |
LINKOBJS="$(SMALLOBJFILES)" \ |
135 | 129 |
GENCLASSLIST_RULE=genClassList_new |
2543
75a1f85d2bf6
- Fixes to avoid using '-' rules to ignore an exit status:
manfred
parents:
2446
diff
changeset
|
130 |
@-rm -f classList.stc |
2 | 131 |
|
68 | 132 |
# |
133 |
# NXWorkstation, XWorkstation and GLXWorkstation are not included in |
|
134 |
# the classLibrary (but as extra objects) |
|
135 |
# |
|
536
3175c775ca16
classList-rule now in stdRules
Claus Gittinger <cg@exept.de>
parents:
477
diff
changeset
|
136 |
specialClassList: |
559 | 137 |
$(MAKE) $(GENCLASSLIST_RULE) GENCLASSLIST_RULE=$(GENCLASSLIST_RULE) LIBNAME=$(LIBNAME) OBJS="$(OBJS)" LINKOBJS="$(LINKOBJS)" |
135 | 138 |
@grep -v $(WORKSTAT1) < classList.stc > ttt |
81 | 139 |
@mv ttt classList.stc |
135 | 140 |
@grep -v $(WORKSTAT2) < classList.stc > ttt |
81 | 141 |
@mv ttt classList.stc |
68 | 142 |
|
536
3175c775ca16
classList-rule now in stdRules
Claus Gittinger <cg@exept.de>
parents:
477
diff
changeset
|
143 |
CLASSLISTRULE=specialClassList |
3175c775ca16
classList-rule now in stdRules
Claus Gittinger <cg@exept.de>
parents:
477
diff
changeset
|
144 |
|
0 | 145 |
cleanjunk:: |
2552
9bc5d4ac8fb6
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
2543
diff
changeset
|
146 |
@-rm -f *.c *.H |
0 | 147 |
|
148 |
clean:: |
|
2552
9bc5d4ac8fb6
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
2543
diff
changeset
|
149 |
@-mv XWorkstat.o XWorkstat.o.sav |
9bc5d4ac8fb6
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
2543
diff
changeset
|
150 |
@-mv GLXWorkstat.o GLXWorkstat.o.sav |
9bc5d4ac8fb6
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
2543
diff
changeset
|
151 |
@-mv __GLXWorkstat.o __GLXWorkstat.o.sav |
9bc5d4ac8fb6
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
2543
diff
changeset
|
152 |
@-rm -f [A-Z]*.o *.c *.H |
9bc5d4ac8fb6
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
2543
diff
changeset
|
153 |
@-mv XWorkstat.o.sav XWorkstat.o |
9bc5d4ac8fb6
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
2543
diff
changeset
|
154 |
@-mv GLXWorkstat.o.sav GLXWorkstat.o |
9bc5d4ac8fb6
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
2543
diff
changeset
|
155 |
@-mv __GLXWorkstat.o.sav __GLXWorkstat.o |
0 | 156 |
|
157 |
clobber:: |
|
2552
9bc5d4ac8fb6
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
2543
diff
changeset
|
158 |
@-rm -f *.o *.c *.H classList.stc abbrev.stc |
0 | 159 |
|
160 |
tar: |
|
153 | 161 |
(cd $(TOP); tar cvfh DISTRIB/libview.tar \ |
96 | 162 |
libview/.dir.info \ |
0 | 163 |
libview/*.st \ |
164 |
libview/Make.proto \ |
|
124 | 165 |
libview/styles/.dir.info \ |
166 |
libview/styles/*.style \ |
|
167 |
libview/styles/*.common \ |
|
141 | 168 |
libview/resources/*.rs) |
78 | 169 |
|
0 | 170 |
# |
550 | 171 |
# special BIG-rule (kludge for HP / ibm) |
54 | 172 |
# |
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 |
|
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 |
# also, XWorkstat and GLXWorkstat are separate (shared) Objects - compile without sepInitCode |
b042b0b62baa
dont compile XWorkstat & GLXWorkstat with -Zlibview - avoids load conflicts on SGI for faster startup
Claus Gittinger <cg@exept.de>
parents:
727
diff
changeset
|
176 |
# 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
|
177 |
# |
b042b0b62baa
dont compile XWorkstat & GLXWorkstat with -Zlibview - avoids load conflicts on SGI for faster startup
Claus Gittinger <cg@exept.de>
parents:
727
diff
changeset
|
178 |
|
81 | 179 |
XWorkstat.$(O): |
2561 | 180 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=XWorkstat \ |
181 |
CC="$(CC)" OPT="$(OPT)" \ |
|
182 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \ |
|
183 |
SEPINITCODE=-sepInitCode ZFLAG= |
|
81 | 184 |
|
2070
5e1b6b49ce73
dont recompile GLXWorkstat.st for every gl-change
Claus Gittinger <cg@exept.de>
parents:
2055
diff
changeset
|
185 |
__GLXWorkstat.$(O): |
2561 | 186 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=GLXWorkstat \ |
187 |
CC="$(CC)" OPT="$(OPT)" \ |
|
188 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \ |
|
1683 | 189 |
SEPINITCODE=-sepInitCode ZFLAG= |
1955 | 190 |
mv GLXWorkstat.$(O) __GLXWorkstat.$(O) |
2070
5e1b6b49ce73
dont recompile GLXWorkstat.st for every gl-change
Claus Gittinger <cg@exept.de>
parents:
2055
diff
changeset
|
191 |
|
5e1b6b49ce73
dont recompile GLXWorkstat.st for every gl-change
Claus Gittinger <cg@exept.de>
parents:
2055
diff
changeset
|
192 |
GLXWorkstat.$(O): glLib __GLXWorkstat.$(O) |
2109 | 193 |
@if [ "$(NO_PRELINK_LIBGL)" = "" ]; \ |
2108
d41d30758db0
allow suppress of prelink with gl-lib (sgi)
Claus Gittinger <cg@exept.de>
parents:
2070
diff
changeset
|
194 |
then\ |
2553 | 195 |
echo $(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstat.$(O) __GLXWorkstat.$(O) $(LIB_GL); \ |
196 |
$(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstat.$(O) __GLXWorkstat.$(O) $(LIB_GL); \ |
|
2108
d41d30758db0
allow suppress of prelink with gl-lib (sgi)
Claus Gittinger <cg@exept.de>
parents:
2070
diff
changeset
|
197 |
else \ |
2109 | 198 |
echo cp __GLXWorkstat.$(O) GLXWorkstat.$(O); \ |
2108
d41d30758db0
allow suppress of prelink with gl-lib (sgi)
Claus Gittinger <cg@exept.de>
parents:
2070
diff
changeset
|
199 |
cp __GLXWorkstat.$(O) GLXWorkstat.$(O); \ |
d41d30758db0
allow suppress of prelink with gl-lib (sgi)
Claus Gittinger <cg@exept.de>
parents:
2070
diff
changeset
|
200 |
fi |
54 | 201 |
|
2055 | 202 |
glLib: |
2553 | 203 |
(cd ../support/VGL ; $(MAKE) ) |
2055 | 204 |
|
552 | 205 |
DevWorkst.$(O): |
2561 | 206 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DevWorkst \ |
207 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
|
208 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
552 | 209 |
|
154 | 210 |
SimpleView.$(O): |
2561 | 211 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SimpleView \ |
212 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
|
213 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
54 | 214 |
|
550 | 215 |
Image.$(O): |
2561 | 216 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Image \ |
217 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
|
218 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
550 | 219 |
|
1132 | 220 |
#OGLWorkstat.$(O): OGLWorkstat.st |
1683 | 221 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstat CC=$(CC) OPT="$(OPT)" \ |
222 |
# XDEFS="-DOPENGL -I$(MESA_DIR)/include" SEPINITCODE=-sepInitCode ZFLAG= |
|
2553 | 223 |
# $(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstat.$(O) \ |
1683 | 224 |
# $(MESA_DIR)/lib/libMesaGL.a \ |
225 |
# $(MESA_DIR)/lib/libMesaGLU.a \ |
|
226 |
# $(MESA_DIR)/lib/libMesaaux.a |
|
227 |
# mv ttt.$(O) OGLWorkstat.$(O) |
|
1132 | 228 |
|
1914 | 229 |
OGLWorkstat.$(O): GLXWorkstat.st |
230 |
cp GLXWorkstat.st OGLWorkstat.st |
|
231 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstat \ |
|
2561 | 232 |
CC="$(CC)" OPT="$(OPT)" \ |
233 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \ |
|
1914 | 234 |
CC_VOGL_FLAGS="$(CC_MESA_INCLUDE) -DOPENGL -DMESA -UVGL -UGLX"\ |
1132 | 235 |
SEPINITCODE=-sepInitCode ZFLAG= |
2553 | 236 |
$(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstat.$(O) \ |
1132 | 237 |
$(MESA_DIR)/lib/libMesaGL.a \ |
238 |
$(MESA_DIR)/lib/libMesaGLU.a \ |
|
239 |
$(MESA_DIR)/lib/libMesaaux.a |
|
240 |
mv ttt.$(O) OGLWorkstat.$(O) |
|
2543
75a1f85d2bf6
- Fixes to avoid using '-' rules to ignore an exit status:
manfred
parents:
2446
diff
changeset
|
241 |
rm -f OGLWorkstat.st |
1132 | 242 |
|
243 |
#ogl: |
|
1683 | 244 |
# $(MAKE) OGLWorkstat.o XDEFS="-DOPENGL -I$(VOGL_DIR) -DSHAPE" SEPINITCODE=-sepInitCode ZFLAG= |
245 |
# mv OGLWorkstat.o ttt.o |
|
2553 | 246 |
# $(CLASSLIB_LD) -r -o OGLWorkstat.o ttt.o \ |
1683 | 247 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGL.a \ |
248 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGLU.a \ |
|
249 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaaux.a \ |
|
250 |
# /lib/libc.so.4 |
|
1132 | 251 |
|
193 | 252 |
# |
253 |
# on my 320H, do not compile DeviceWorkstation with -O2; |
|
254 |
# compiler is running out of space ... |
|
255 |
# |
|
1606
b004d98f2655
need new functions in export file for AIX
Claus Gittinger <cg@exept.de>
parents:
1285
diff
changeset
|
256 |
#AIX_BIGGIES: |
1683 | 257 |
# $(MAKE) GC.$(O) |
258 |
# $(MAKE) DevGC.$(O) |
|
259 |
# $(MAKE) OPT= DevWorkst.$(O) |
|
260 |
# $(MAKE) OPT= XWorkstat.$(O) |
|
261 |
# $(MAKE) OPT= Image.$(O) |
|
262 |
# $(MAKE) OPT= SimpleView.$(O) |
|
166 | 263 |
|
54 | 264 |
# |
1096 | 265 |
# prelink those - cannot mix non-shared with shared objects (sigh) |
266 |
# |
|
267 |
AIX_SHARED_XWORKSTATION: |
|
1606
b004d98f2655
need new functions in export file for AIX
Claus Gittinger <cg@exept.de>
parents:
1285
diff
changeset
|
268 |
$(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DevWorkst.$(O) |
1096 | 269 |
$(MAKE) aix_exports LIBNAME=XWorkstat ENTRY=XWorkstation |
270 |
@-echo "__XErrorHandler__" >> XWorkstat.exp |
|
1606
b004d98f2655
need new functions in export file for AIX
Claus Gittinger <cg@exept.de>
parents:
1285
diff
changeset
|
271 |
@-echo "__XIOErrorHandler__" >> XWorkstat.exp |
1096 | 272 |
$(MAKE) XWorkstat$(O_EXT) \ |
273 |
ENTRY_INIT=XWorkstation \ |
|
274 |
AIX_LOCAL_LIBS="$(LIBX)" |
|
275 |
||
276 |
AIX_SHARED_GLXWORKSTATION: |
|
1606
b004d98f2655
need new functions in export file for AIX
Claus Gittinger <cg@exept.de>
parents:
1285
diff
changeset
|
277 |
$(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DevWorkst.$(O) |
1096 | 278 |
$(MAKE) aix_exports LIBNAME=XWorkstat ENTRY=XWorkstation |
279 |
@-echo "__XErrorHandler__" >> XWorkstat.exp |
|
1606
b004d98f2655
need new functions in export file for AIX
Claus Gittinger <cg@exept.de>
parents:
1285
diff
changeset
|
280 |
@-echo "__XIOErrorHandler__" >> XWorkstat.exp |
1096 | 281 |
$(MAKE) GLXWorkstat$(O_EXT) \ |
282 |
ENTRY_INIT=GLXWorkstation \ |
|
283 |
AIX_LOCAL_LIBS="-bI:XWorkstat.exp $(LIB_GL) $(LIBX) -lm" |
|
2543
75a1f85d2bf6
- Fixes to avoid using '-' rules to ignore an exit status:
manfred
parents:
2446
diff
changeset
|
284 |
rm -f XWorkstat.exp |
1096 | 285 |
|
286 |
AIX:: |
|
1606
b004d98f2655
need new functions in export file for AIX
Claus Gittinger <cg@exept.de>
parents:
1285
diff
changeset
|
287 |
$(MAKE) $(AIX_XWORKSTATION_RULE) $(AIX_GLXWORKSTATION_RULE) |
1096 | 288 |
|
289 |
# |
|
666
321c58bf8202
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
663
diff
changeset
|
290 |
# 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
|
291 |
# |
1102 | 292 |
#HP:: |
293 |
# |
|
294 |
#HPbigFiles: |
|
1683 | 295 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Color CC=$(CC) OPT="$(OPT)" |
296 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DevGC CC=$(CC) OPT="$(OPT)" |
|
666
321c58bf8202
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
663
diff
changeset
|
297 |
|
321c58bf8202
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
663
diff
changeset
|
298 |
# |
67 | 299 |
# install the extra objects |
300 |
# |
|
301 |
qinstall:: $(DESTLIBDIR) |
|
196 | 302 |
if [ "$(WORKSTAT1)"x != "x" ]; then \ |
303 |
$(INSTALL_LIB) $(WORKSTAT1).$(O) $(DESTLIBDIR); \ |
|
67 | 304 |
fi |
196 | 305 |
if [ "$(WORKSTAT2)"x != "$(WORKSTAT1"x ]; then \ |
1096 | 306 |
if [ "$(WORKSTAT2)"x != "x" ]; then \ |
196 | 307 |
$(INSTALL_LIB) $(WORKSTAT2).$(O) $(DESTLIBDIR); \ |
1096 | 308 |
fi \ |
67 | 309 |
fi |
310 |
||
169 | 311 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
1285 | 312 |
ActiveHelp.$(O): ActiveHelp.st $(STCHDR) ../include/EventListener.H ../include/Object.H |
313 |
ActiveHelpView.$(O): ActiveHelpView.st $(STCHDR) ../include/View.H ../include/SimpleView.H ../include/DSurface.H ../include/DevGC.H ../include/GMedium.H ../include/GC.H ../include/Object.H |
|
314 |
Color.$(O): Color.st $(STCHDR) ../include/Object.H |
|
315 |
Colormap.$(O): Colormap.st $(STCHDR) ../include/SeqColl.H ../include/Coll.H ../include/Object.H |
|
316 |
ContrWMenu.$(O): ContrWMenu.st $(STCHDR) ../include/Controll.H ../include/Object.H |
|
317 |
Controll.$(O): Controll.st $(STCHDR) ../include/Object.H |
|
318 |
Cursor.$(O): Cursor.st $(STCHDR) ../include/Object.H |
|
319 |
DObject.$(O): DObject.st $(STCHDR) ../include/Object.H |
|
320 |
DRootView.$(O): DRootView.st $(STCHDR) ../include/DSurface.H ../include/DevGC.H ../include/GMedium.H ../include/GC.H ../include/Object.H |
|
321 |
DSurface.$(O): DSurface.st $(STCHDR) ../include/DevGC.H ../include/GMedium.H ../include/GC.H ../include/Object.H |
|
322 |
Depth1Image.$(O): Depth1Image.st $(STCHDR) ../include/Image.H ../include/Object.H |
|
1632 | 323 |
ImageMask.$(O): ImageMask.st $(STCHDR) ../include/Depth1Image.H |
1285 | 324 |
Depth24Image.$(O): Depth24Image.st $(STCHDR) ../include/Image.H ../include/Object.H |
325 |
Depth2Image.$(O): Depth2Image.st $(STCHDR) ../include/Image.H ../include/Object.H |
|
326 |
Depth4Image.$(O): Depth4Image.st $(STCHDR) ../include/Image.H ../include/Object.H |
|
327 |
Depth8Image.$(O): Depth8Image.st $(STCHDR) ../include/Image.H ../include/Object.H |
|
1632 | 328 |
AlphaMask.$(O): AlphaMask.st $(STCHDR) ../include/Depth8Image.H |
1285 | 329 |
Depth16Image.$(O): Depth16Image.st $(STCHDR) ../include/Image.H ../include/Object.H |
330 |
DevGC.$(O): DevGC.st $(STCHDR) ../include/Object.H |
|
331 |
DevHandle.$(O): DevHandle.st $(STCHDR) ../include/Object.H |
|
332 |
DevWorkst.$(O): DevWorkst.st $(STCHDR) ../include/Object.H |
|
333 |
Font.$(O): Font.st $(STCHDR) ../include/FontDescr.H ../include/Object.H |
|
334 |
FontDescr.$(O): FontDescr.st $(STCHDR) ../include/Object.H |
|
335 |
Form.$(O): Form.st $(STCHDR) ../include/DevGC.H ../include/GMedium.H ../include/GC.H ../include/Object.H |
|
336 |
GC.$(O): GC.st $(STCHDR) ../include/Object.H |
|
337 |
GLXWorkstat.$(O): GLXWorkstat.st $(STCHDR) ../include/XWorkstat.H ../include/DevWorkst.H ../include/Object.H |
|
338 |
GMedium.$(O): GMedium.st $(STCHDR) ../include/Object.H |
|
339 |
GraphAttr.$(O): GraphAttr.st $(STCHDR) ../include/Object.H |
|
340 |
GraphicsDevice.$(O): GraphicsDevice.st $(STCHDR) ../include/Object.H |
|
341 |
HostGraphicsDevice.$(O): HostGraphicsDevice.st $(STCHDR) ../include/Object.H |
|
342 |
HersheyFont.$(O): HersheyFont.st $(STCHDR) ../include/Font.H ../include/FontDescr.H ../include/Object.H |
|
343 |
Image.$(O): Image.st $(STCHDR) ../include/Object.H |
|
344 |
ImageRdr.$(O): ImageRdr.st $(STCHDR) ../include/Object.H |
|
345 |
InputView.$(O): InputView.st $(STCHDR) ../include/SimpleView.H ../include/DSurface.H ../include/DevGC.H ../include/GMedium.H ../include/GC.H ../include/Object.H |
|
346 |
KeybdFwd.$(O): KeybdFwd.st $(STCHDR) ../include/Object.H |
|
347 |
KeybdMap.$(O): KeybdMap.st $(STCHDR) ../include/IdDict.H ../include/Dict.H ../include/Set.H ../include/Coll.H ../include/Object.H |
|
348 |
ModalBox.$(O): ModalBox.st $(STCHDR) ../include/StdSysV.H ../include/TopView.H ../include/View.H ../include/SimpleView.H ../include/DSurface.H ../include/DevGC.H ../include/GMedium.H ../include/GC.H ../include/Object.H |
|
349 |
Model.$(O): Model.st $(STCHDR) ../include/Object.H |
|
350 |
NXWorkst.$(O): NXWorkst.st $(STCHDR) ../include/DevWorkst.H ../include/Object.H |
|
351 |
NewGC.$(O): NewGC.st $(STCHDR) ../include/Object.H |
|
352 |
OGLWorkstat.$(O): OGLWorkstat.st $(STCHDR) ../include/XWorkstat.H ../include/DevWorkst.H ../include/Object.H |
|
353 |
PopUpView.$(O): PopUpView.st $(STCHDR) ../include/TopView.H ../include/View.H ../include/SimpleView.H ../include/DSurface.H ../include/DevGC.H ../include/GMedium.H ../include/GC.H ../include/Object.H |
|
354 |
RsrcPack.$(O): RsrcPack.st $(STCHDR) ../include/Dict.H ../include/Set.H ../include/Coll.H ../include/Object.H |
|
331
2df7060c2482
dependendies must be complete ...
Claus Gittinger <cg@exept.de>
parents:
265
diff
changeset
|
355 |
SWSensor.$(O): SWSensor.st $(STCHDR) ../include/Object.H |
1285 | 356 |
ShadowV.$(O): ShadowV.st $(STCHDR) ../include/SimpleView.H ../include/DSurface.H ../include/DevGC.H ../include/GMedium.H ../include/GC.H ../include/Object.H |
1606
b004d98f2655
need new functions in export file for AIX
Claus Gittinger <cg@exept.de>
parents:
1285
diff
changeset
|
357 |
SimpleView.$(O): SimpleView.st $(STCHDR) ../include/Object.H |
1285 | 358 |
StdSysC.$(O): StdSysC.st $(STCHDR) ../include/Controll.H ../include/Object.H |
359 |
StdSysV.$(O): StdSysV.st $(STCHDR) ../include/TopView.H ../include/View.H ../include/SimpleView.H ../include/DSurface.H ../include/DevGC.H ../include/GMedium.H ../include/GC.H ../include/Object.H |
|
360 |
TopView.$(O): TopView.st $(STCHDR) ../include/View.H ../include/SimpleView.H ../include/DSurface.H ../include/DevGC.H ../include/GMedium.H ../include/GC.H ../include/Object.H |
|
361 |
View.$(O): View.st $(STCHDR) ../include/SimpleView.H ../include/DSurface.H ../include/DevGC.H ../include/GMedium.H ../include/GC.H ../include/Object.H |
|
362 |
ViewStyle.$(O): ViewStyle.st $(STCHDR) ../include/RsrcPack.H ../include/Dict.H ../include/Set.H ../include/Coll.H ../include/Object.H |
|
363 |
WEvent.$(O): WEvent.st $(STCHDR) ../include/Object.H |
|
364 |
WGroup.$(O): WGroup.st $(STCHDR) ../include/Object.H |
|
365 |
WSensor.$(O): WSensor.st $(STCHDR) ../include/Object.H |
|
366 |
WTrans.$(O): WTrans.st $(STCHDR) ../include/Object.H |
|
367 |
WinBuilder.$(O): WinBuilder.st $(STCHDR) ../include/Object.H |
|
368 |
Workstat.$(O): Workstat.st $(STCHDR) ../include/Object.H |
|
369 |
XWorkstat.$(O): XWorkstat.st $(STCHDR) ../include/DevWorkst.H ../include/Object.H |
|
169 | 370 |
# ENDMAKEDEPEND --- do not remove this line |