1 # hacks/glx/Makefile.in --- xscreensaver, Copyright (c) 1999, 2000
3 # the `../../configure' script generates `hacks/glx/Makefile' from this file.
14 exec_prefix = @exec_prefix@
17 # maybe this should be 6 (games)?
19 manNdir = $(mandir)/man$(mansuffix)
21 # maybe this should be 6 (games)?
27 DEFS = -DSTANDALONE -DUSE_GL @DEFS@
31 DEPEND_FLAGS = @DEPEND_FLAGS@
32 DEPEND_DEFINES = @DEPEND_DEFINES@
36 INSTALL_PROGRAM = @INSTALL_PROGRAM@
37 INSTALL_DATA = @INSTALL_DATA@
38 INSTALL_DIRS = @INSTALL_DIRS@
43 X_PRE_LIBS = @X_PRE_LIBS@
44 X_EXTRA_LIBS = @X_EXTRA_LIBS@
47 # Note: see comment in ../../driver/Makefile.in for explanation of X_LIBS, etc.
49 HACK_PRE = $(LIBS) $(X_LIBS)
50 HACK_POST = $(X_PRE_LIBS) -lXt -lX11 $(XMU_LIBS) -lXext $(X_EXTRA_LIBS) -lm
51 HACK_POST2 = @GL_LIBS@ @HACK_LIBS@ $(HACK_POST)
52 HACK_LIBS = $(HACK_PRE) $(HACK_POST2)
53 XPM_LIBS = $(HACK_PRE) @XPM_LIBS@ $(HACK_POST2)
54 GLE_LIBS = $(HACK_PRE) @GLE_LIBS@ @XPM_LIBS@ $(HACK_POST2)
56 HACK_SRC = $(srcdir)/..
58 UTILS_SRC = $(HACK_SRC)/../utils
59 UTILS_BIN = $(HACK_BIN)/../utils
61 INCLUDES = -I. -I$(srcdir) -I$(UTILS_SRC) -I$(HACK_SRC) -I../.. @INCLUDES@
63 UTIL_SRCS = $(UTILS_SRC)/colors.c $(UTILS_SRC)/hsv.c \
64 $(UTILS_SRC)/resources.c $(UTILS_SRC)/usleep.c \
65 $(UTILS_SRC)/visual.c $(UTILS_SRC)/visual-gl.c \
66 $(UTILS_SRC)/yarandom.c
67 UTIL_OBJS = $(UTILS_SRC)/colors.o $(UTILS_SRC)/hsv.o \
68 $(UTILS_SRC)/resources.o $(UTILS_SRC)/usleep.o \
69 $(UTILS_SRC)/visual.o $(UTILS_SRC)/visual-gl.o \
70 $(UTILS_SRC)/yarandom.o
72 SRCS = xscreensaver-gl-helper.c \
73 atlantis.c b_draw.c b_lockglue.c b_sphere.c bubble3d.c \
74 buildlwo.c cage.c dolphin.c gears.c lament.c moebius.c \
75 morph3d.c pipeobjs.c pipes.c rubik.c s1_1.c s1_2.c s1_3.c \
76 s1_4.c s1_5.c s1_6.c s1_b.c shark.c sproingies.c \
77 sproingiewrap.c stairs.c superquadrics.c swim.c whale.c \
78 xlock-gl.c fps.c xpm-ximage.c glplanet.c pulsar.c \
79 extrusion.c extrusion-helix2.c extrusion-helix3.c \
80 extrusion-helix4.c extrusion-joinoffset.c extrusion-screw.c \
81 extrusion-taper.c extrusion-twistoid.c sierpinski3d.c \
82 gflux.c stonerview.c stonerview-move.c stonerview-osc.c \
83 stonerview-view.c starwars.c glut_stroke.c glut_swidth.c \
84 gltext.c molecule.c dangerball.c sphere.c tube.c circuit.c \
85 menger.c engine.c flipscreen3d.c font-ximage.c \
86 grab-ximage.c glsnake.c boxed.c glforestfire.c sballs.c \
87 cubenetic.c spheremonics.c marching.c lavalite.c rotator.c \
88 trackball.c gltrackball.c queens.c endgame.c chessmodels.c \
89 glblur.c gllist.c flurry.c flurry-smoke.c flurry-spark.c \
90 flurry-star.c flurry-texture.c atunnel.c tunnel_draw.c \
91 flyingtoasters.c toaster.c toaster_base.c toaster_handle.c \
92 toaster_handle2.c toaster_jet.c toaster_knob.c \
93 toaster_slots.c toaster_wing.c toast.c toast2.c \
94 bouncingcow.c cow_face.c cow_hide.c cow_hoofs.c cow_horns.c \
95 cow_tail.c cow_udder.c glslideshow.c jigglypuff.c klein.c \
96 hypertorus.c glmatrix.c cubestorm.c glknots.c blocktube.c \
97 flipflop.c antspotlight.c polytopes.c gleidescope.c \
98 mirrorblob.c blinkbox.c
100 OBJS = xscreensaver-gl-helper.o \
101 atlantis.o b_draw.o b_lockglue.o b_sphere.o bubble3d.o \
102 buildlwo.o cage.o dolphin.o gears.o lament.o moebius.o \
103 morph3d.o pipeobjs.o pipes.o rubik.o s1_1.o s1_2.o s1_3.o \
104 s1_4.o s1_5.o s1_6.o s1_b.o shark.o sproingies.o \
105 sproingiewrap.o stairs.o superquadrics.o swim.o whale.o \
106 xlock-gl.o fps.o xpm-ximage.o glplanet.o pulsar.o \
107 extrusion.o extrusion-helix2.o extrusion-helix3.o \
108 extrusion-helix4.o extrusion-joinoffset.o extrusion-screw.o \
109 extrusion-taper.o extrusion-twistoid.o sierpinski3d.o \
110 gflux.o stonerview.o stonerview-move.o stonerview-osc.o \
111 stonerview-view.o starwars.o glut_stroke.o glut_swidth.o \
112 gltext.o molecule.o dangerball.o sphere.o tube.o circuit.o \
113 menger.o engine.o flipscreen3d.o font-ximage.o \
114 grab-ximage.o glsnake.o boxed.o glforestfire.o sballs.o \
115 cubenetic.o spheremonics.o marching.o lavalite.o rotator.o \
116 trackball.o gltrackball.o queens.o endgame.o chessmodels.o \
117 glblur.o gllist.o flurry.o flurry-smoke.o flurry-spark.o \
118 flurry-star.o flurry-texture.o atunnel.o tunnel_draw.o \
119 flyingtoasters.o toaster.o toaster_base.o toaster_handle.o \
120 toaster_handle2.o toaster_jet.o toaster_knob.o \
121 toaster_slots.o toaster_wing.o toast.o toast2.o \
122 bouncingcow.o cow_face.o cow_hide.o cow_hoofs.o cow_horns.o \
123 cow_tail.o cow_udder.o glslideshow.o jigglypuff.o klein.o \
124 hypertorus.o glmatrix.o cubestorm.o glknots.o blocktube.o \
125 flipflop.o antspotlight.o polytopes.o gleidescope.o \
126 mirrorblob.o blinkbox.o
128 GL_EXES = cage gears moebius pipes sproingies stairs superquadrics \
129 morph3d rubik atlantis lament bubble3d glplanet pulsar \
130 sierpinski3d gflux stonerview starwars gltext molecule \
131 dangerball circuit menger engine flipscreen3d glsnake boxed \
132 glforestfire sballs cubenetic spheremonics lavalite queens \
133 endgame glblur flurry atunnel flyingtoasters bouncingcow \
134 glslideshow jigglypuff klein hypertorus glmatrix cubestorm \
135 glknots blocktube flipflop antspotlight polytopes \
136 gleidescope mirrorblob blinkbox
138 GL_UTIL_EXES = xscreensaver-gl-helper
139 HACK_EXES = @GL_EXES@ @GLE_EXES@
140 GRAB_OBJS = $(UTILS_BIN)/grabclient.o grab-ximage.o
141 EXES = @GL_UTIL_EXES@ $(HACK_EXES)
143 HACK_OBJS = screenhack-gl.o xlock-gl.o fps.o $(HACK_BIN)/xlockmore.o \
144 $(UTILS_BIN)/resources.o $(UTILS_BIN)/visual.o \
145 $(UTILS_BIN)/visual-gl.o $(UTILS_BIN)/usleep.o \
146 $(UTILS_BIN)/yarandom.o $(UTILS_BIN)/hsv.o \
147 $(UTILS_BIN)/colors.o
149 HDRS = atlantis.h bubble3d.h buildlwo.h e_textures.h xpm-ximage.h \
150 grab-ximage.h font-ximage.h tube.h sphere.h boxed.h \
151 stonerview-move.h stonerview-osc.h glutstroke.h \
152 glut_roman.h marching.h rotator.h trackball.h gltrackball.h \
153 chessmodels.h chessgames.h gllist.h flurry.h tunnel_draw.h \
155 GL_MEN = atlantis.man boxed.man bubble3d.man cage.man circuit.man \
156 cubenetic.man dangerball.man engine.man extrusion.man \
157 flipscreen3d.man gears.man gflux.man glforestfire.man \
158 glplanet.man glsnake.man gltext.man lament.man lavalite.man \
159 menger.man moebius.man molecule.man morph3d.man pipes.man \
160 pulsar.man queens.man rubik.man sballs.man sierpinski3d.man \
161 spheremonics.man sproingies.man stairs.man starwars.man \
162 stonerview.man superquadrics.man xscreensaver-gl-helper.man \
163 endgame.man flurry.man glblur.man atunnel.man \
164 flyingtoasters.man bouncingcow.man glslideshow.man \
165 jigglypuff.man klein.man hypertorus.man glmatrix.man \
166 cubestorm.man glknots.man blocktube.man flipflop.man \
167 antspotlight.man polytopes.man gleidescope.man \
168 mirrorblob.man blinkbox.man
170 EXTRAS = README Makefile.in dxf2gl.pl
172 TARFILES = $(SRCS) $(HDRS) $(MEN) $(EXTRAS)
178 install: install-program install-man
179 uninstall: uninstall-program uninstall-man
182 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
184 # the hacks, in $HACKDIR
185 install-program:: $(EXES)
186 @exes="$(HACK_EXES)" ; \
187 idir="$(install_prefix)$(HACKDIR)" ; \
188 if [ "$$exes" != "" ]; then \
189 if [ ! -d $$idir ]; then \
190 $(INSTALL_DIRS) $$idir ; \
192 for program in $$exes; do \
193 echo $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
194 $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
198 # the xscreensaver-gl-helper program, in $bindir
199 install-program:: $(EXES)
200 @exes="@GL_UTIL_EXES@" ; \
201 idir="$(install_prefix)$(bindir)" ; \
202 if [ "$$exes" != "" ]; then \
203 if [ ! -d $$idir ]; then \
204 $(INSTALL_DIRS) $$idir ; \
206 for program in $$exes; do \
207 echo $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
208 $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
214 idir="$(install_prefix)$(manNdir)" ; \
215 if [ ! -d $$idir ]; then \
216 $(INSTALL_DIRS) $$idir ; \
218 for man in $$men; do \
219 instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
220 echo $(INSTALL_DATA) $(srcdir)/$$man $$idir/$$instname ; \
221 $(INSTALL_DATA) $(srcdir)/$$man $$idir/$$instname ; \
224 # the hacks, in $HACKDIR
226 @exes="$(HACK_EXES)" ; \
227 idir="$(install_prefix)$(HACKDIR)" ; \
228 for program in $$exes; do \
229 echo rm -f $$idir/$$program ; \
230 rm -f $$idir/$$program ; \
233 # the xscreensaver-gl-helper program, in $bindir
235 @exes="$(GL_UTIL_EXES)" ; \
236 idir="$(install_prefix)$(bindir)" ; \
237 for program in $$exes; do \
238 echo rm -f $$idir/$$program ; \
239 rm -f $$idir/$$program ; \
244 idir="$(install_prefix)$(manNdir)" ; \
245 for man in $$men; do \
246 instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
247 echo rm -f $$idir/$$instname ; \
248 rm -f $$idir/$$instname ; \
252 -rm -f *.o a.out core $(EXES) molecules.h
255 -rm -f Makefile TAGS *~ "#"*
257 # Adds all current dependencies to Makefile
259 $(DEPEND) -s '# DO NOT DELETE: updated by make depend' \
261 $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
264 # Adds some dependencies to Makefile.in -- not totally accurate, but pretty
265 # close. This excludes dependencies on files in /usr/include, etc. It tries
266 # to include only dependencies on files which are themselves a part of this
268 distdepend:: molecules.h
269 @echo updating dependencies in `pwd`/Makefile.in... ; \
270 $(DEPEND) -w 0 -f - \
271 -s '# DO NOT DELETE: updated by make distdepend' $(DEPEND_FLAGS) -- \
272 $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
273 $(SRCS) 2>/dev/null | \
276 awk '/^# .*Makefile.in ---/,/^# DO .*distdepend/' < Makefile.in ; \
278 -e 's@ \./@ @g;s@ /[^ ]*@@g;/^.*:$$/d' \
279 -e 's@\.\./\.\./utils@$$(UTILS_SRC)@g' \
280 -e 's@\.\./glx/@@g' \
281 -e 's@ \.\./@ $$(HACK_SRC)/@g' \
282 -e 's@ \([^$$]\)@ $$(srcdir)/\1@g' \
283 -e 's@ $$(srcdir)/\(.*config.h\)@ \1@g' \
284 -e 's@ $$(HACK_SRC)/\(.*config.h\)@ ../\1@g' \
285 -e 's@ $$(srcdir)/\(.*molecules.h\)@ \1@g' ; \
287 ) > /tmp/distdepend.$$$$ && \
288 mv Makefile.in Makefile.in.bak && \
289 mv /tmp/distdepend.$$$$ Makefile.in
294 find $(srcdir) -name '*.[chly]' -print | xargs etags -a
301 for exe in $(EXES); do \
302 if ! [ -f $(srcdir)/$$exe.man ]; then \
303 badmen="$$badmen $$exe" ; \
306 if [ -n "$$badmen" ]; then \
308 echo "Warning: The following programs have no manuals:" ; \
310 for m in $$badmen ; do \
317 for exe in $(EXES); do \
318 if ! [ -f $(srcdir)/../config/$$exe.xml -o \
319 "$$exe" = xscreensaver-gl-helper ]; then \
320 badxml="$$badxml $$exe" ; \
323 if [ -n "$$badxml" ]; then \
325 echo "Warning: The following programs have no configurators:" ; \
327 for m in $$badxml ; do \
333 distdepend:: check_men check_xml
338 # Rules for noticing when the objects from the utils directory are out of
339 # date with respect to their sources, and going and building them according
340 # to the rules in their own Makefile...
342 $(UTILS_BIN)/colors.o: $(UTILS_SRC)/colors.c
343 $(UTILS_BIN)/hsv.o: $(UTILS_SRC)/hsv.c
344 $(UTILS_BIN)/resources.o: $(UTILS_SRC)/resources.c
345 $(UTILS_BIN)/usleep.o: $(UTILS_SRC)/usleep.c
346 $(UTILS_BIN)/visual.o: $(UTILS_SRC)/visual.c
347 $(UTILS_BIN)/visual-gl.o: $(UTILS_SRC)/visual-gl.c
348 $(UTILS_BIN)/yarandom.o: $(UTILS_SRC)/yarandom.c
352 $(MAKE) $(@F) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
354 $(HACK_BIN)/xlockmore.o: $(HACK_SRC)/xlockmore.c
355 cd $(HACK_BIN) ; $(MAKE) $(@F) CC="$(CC)" CFLAGS="$(CFLAGS)"
358 # How we build object files in this directory.
360 $(CC) -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) $<
363 # How to build the "xscreensaver-gl-helper" program, that lets the daemon
364 # know which visual is the right one for GL programs.
366 HELPER_OBJS = xscreensaver-gl-helper.o $(UTILS_BIN)/visual-gl.o \
367 $(UTILS_BIN)/visual.o $(UTILS_BIN)/resources.o
368 xscreensaver-gl-helper: $(HELPER_OBJS)
369 $(CC) $(LDFLAGS) -o $@ $(HELPER_OBJS) $(LIBS) $(X_LIBS) $(HACK_POST2)
372 # These hacks use a slightly-differently-compiled variant of screenhack.c.
373 # This is how to make the the other .o file from it.
375 screenhack-gl.o: $(HACK_SRC)/screenhack.c
376 $(CC) -o $@ -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) \
377 -DXLOCKMORE -DUSE_GL $(HACK_SRC)/screenhack.c
379 CC_HACK = $(CC) $(LDFLAGS)
381 TRACK_OBJS=rotator.o trackball.o gltrackball.o
383 ATLANTIS_OBJS = $(HACK_OBJS) dolphin.o shark.o swim.o whale.o xpm-ximage.o
384 atlantis: atlantis.o $(ATLANTIS_OBJS)
385 $(CC_HACK) -o $@ $@.o $(ATLANTIS_OBJS) $(XPM_LIBS)
387 ATUNNEL_OBJS = $(HACK_OBJS) tunnel_draw.o xpm-ximage.o
388 atunnel: atunnel.o $(ATUNNEL_OBJS)
389 $(CC_HACK) -o $@ $@.o $(ATUNNEL_OBJS) $(XPM_LIBS)
391 cage: cage.o $(HACK_OBJS)
392 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
394 FLURRY_OBJS_1 = flurry-smoke.o flurry-spark.o flurry-star.o flurry-texture.o
395 FLURRY_OBJS = $(FLURRY_OBJS_1) $(HACK_OBJS)
397 flurry: flurry.o $(FLURRY_OBJS)
398 $(CC_HACK) -o $@ $@.o $(FLURRY_OBJS) $(HACK_LIBS) -lm
400 gears: gears.o $(HACK_OBJS) $(TRACK_OBJS)
401 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
403 moebius: moebius.o $(TRACK_OBJS) $(HACK_OBJS)
404 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
406 pipes: pipes.o $(HACK_OBJS) pipeobjs.o buildlwo.o
407 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) pipeobjs.o buildlwo.o \
410 superquadrics: superquadrics.o $(HACK_OBJS)
411 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
413 morph3d: morph3d.o $(HACK_OBJS)
414 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
416 rubik: rubik.o $(HACK_OBJS)
417 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
419 stairs: stairs.o $(HACK_OBJS)
420 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
422 SPROINGIES = sproingiewrap.o gllist.o \
423 s1_1.o s1_2.o s1_3.o s1_4.o s1_5.o s1_6.o s1_b.o
424 sproingies: sproingies.o $(HACK_OBJS) $(SPROINGIES)
425 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(SPROINGIES) $(HACK_LIBS)
427 lament: lament.o $(TRACK_OBJS) xpm-ximage.o $(HACK_OBJS)
428 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) xpm-ximage.o $(HACK_OBJS) $(XPM_LIBS)
430 B3D = b_sphere.o b_draw.o b_lockglue.o
431 bubble3d: bubble3d.o $(HACK_OBJS) $(B3D)
432 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(B3D) $(HACK_LIBS)
434 PLANETHACKS=sphere.o xpm-ximage.o $(TRACK_OBJS)
435 glplanet: glplanet.o $(PLANETHACKS) $(HACK_OBJS)
436 $(CC_HACK) -o $@ $@.o $(PLANETHACKS) $(HACK_OBJS) $(XPM_LIBS)
438 pulsar: pulsar.o $(HACK_OBJS) xpm-ximage.o
439 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
441 EXTRUSION_OBJS=extrusion.o extrusion-helix2.o extrusion-helix3.o \
442 extrusion-helix4.o extrusion-joinoffset.o extrusion-screw.o \
443 extrusion-taper.o extrusion-twistoid.o xpm-ximage.o $(TRACK_OBJS)
444 extrusion: $(EXTRUSION_OBJS) $(HACK_OBJS)
445 $(CC_HACK) -o $@ $(EXTRUSION_OBJS) $(HACK_OBJS) $(XPM_LIBS) $(GLE_LIBS)
447 sierpinski3d: sierpinski3d.o $(HACK_OBJS) $(TRACK_OBJS)
448 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
450 gflux: gflux.o $(HACK_OBJS) $(TRACK_OBJS) $(GRAB_OBJS)
451 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(GRAB_OBJS) $(HACK_LIBS)
453 SW_OBJS=starwars.o glut_stroke.o glut_swidth.o
454 starwars: $(SW_OBJS) $(HACK_OBJS)
455 $(CC_HACK) -o $@ $(SW_OBJS) $(HACK_OBJS) $(HACK_LIBS)
457 GLT_OBJS=gltext.o glut_stroke.o glut_swidth.o tube.o $(TRACK_OBJS)
458 gltext: $(GLT_OBJS) $(HACK_OBJS)
459 $(CC_HACK) -o $@ $(GLT_OBJS) $(HACK_OBJS) $(HACK_LIBS)
461 DB_OBJS=sphere.o tube.o $(TRACK_OBJS)
462 dangerball: dangerball.o $(DB_OBJS) $(HACK_OBJS)
463 $(CC_HACK) -o $@ $@.o $(DB_OBJS) $(HACK_OBJS) $(HACK_LIBS)
465 circuit: circuit.o $(HACK_OBJS) font-ximage.o
466 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) font-ximage.o $(HACK_LIBS)
468 menger: menger.o $(HACK_OBJS) $(TRACK_OBJS)
469 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
471 engine: engine.o $(HACK_OBJS) $(TRACK_OBJS)
472 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
474 flipscreen3d: flipscreen3d.o $(HACK_OBJS) $(GRAB_OBJS) $(TRACK_OBJS)
475 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
477 glsnake: glsnake.o $(HACK_OBJS)
478 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
480 boxed: boxed.o $(HACK_OBJS)
481 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
483 glforestfire: glforestfire.o $(HACK_OBJS) xpm-ximage.o
484 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
486 sballs: sballs.o $(HACK_OBJS) xpm-ximage.o
487 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
489 cubenetic: cubenetic.o $(HACK_OBJS) $(TRACK_OBJS)
490 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
492 spheremonics: spheremonics.o $(HACK_OBJS) $(TRACK_OBJS)
493 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
495 LLOBJS=marching.o xpm-ximage.o $(TRACK_OBJS) $(HACK_OBJS)
496 lavalite: lavalite.o $(LLOBJS)
497 $(CC_HACK) -o $@ $@.o $(LLOBJS) $(XPM_LIBS)
499 queens: queens.o $(TRACK_OBJS) $(HACK_OBJS)
500 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
502 CHESSOBJS=chessmodels.o $(TRACK_OBJS) $(HACK_OBJS)
503 endgame: endgame.o $(CHESSOBJS)
504 $(CC_HACK) -o $@ $@.o $(CHESSOBJS) $(HACK_LIBS)
506 glblur: glblur.o $(HACK_OBJS) $(TRACK_OBJS)
507 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
510 toaster.o toaster_base.o toaster_handle.o toaster_handle2.o \
511 toaster_jet.o toaster_knob.o toaster_slots.o toaster_wing.o \
513 TOASTOBJS=flyingtoasters.o gllist.o $(TOASTOBJS1) xpm-ximage.o
514 flyingtoasters: $(TOASTOBJS) $(TRACK_OBJS) $(HACK_OBJS)
515 $(CC_HACK) -o $@ $(TOASTOBJS) $(TRACK_OBJS) $(HACK_OBJS) $(XPM_LIBS)
518 cow_face.o cow_hide.o cow_hoofs.o cow_horns.o cow_tail.o cow_udder.o
519 COWOBJS=bouncingcow.o gllist.o $(COWOBJS1) xpm-ximage.o
520 bouncingcow: $(COWOBJS) $(TRACK_OBJS) $(HACK_OBJS)
521 $(CC_HACK) -o $@ $(COWOBJS) $(TRACK_OBJS) $(HACK_OBJS) $(XPM_LIBS)
523 glslideshow: glslideshow.o $(HACK_OBJS) $(GRAB_OBJS)
524 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB_OBJS) $(HACK_LIBS)
526 jigglypuff: jigglypuff.o xpm-ximage.o $(HACK_OBJS) $(TRACK_OBJS)
527 $(CC_HACK) -o $@ $@.o xpm-ximage.o $(HACK_OBJS) $(TRACK_OBJS) $(XPM_LIBS)
529 klein: klein.o $(HACK_OBJS) $(TRACK_OBJS)
530 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
532 hypertorus: hypertorus.o $(HACK_OBJS)
533 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
535 glmatrix: glmatrix.o $(HACK_OBJS) xpm-ximage.o
536 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
538 cubestorm: cubestorm.o $(TRACK_OBJS) $(HACK_OBJS)
539 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
541 glknots: glknots.o tube.o $(TRACK_OBJS) $(HACK_OBJS)
542 $(CC_HACK) -o $@ $@.o tube.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
544 blocktube: blocktube.o $(HACK_OBJS) xpm-ximage.o
545 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
547 flipflop: flipflop.o $(TRACK_OBJS) $(HACK_OBJS)
548 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
550 antspotlight: antspotlight.o $(TRACK_OBJS) $(GRAB_OBJS) $(HACK_OBJS)
551 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(GRAB_OBJS) $(HACK_OBJS) $(HACK_LIBS)
553 polytopes: polytopes.o $(HACK_OBJS)
554 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
556 # This one works differently (it's not xlock-like.)
558 STONER_OBJS=stonerview.o stonerview-move.o stonerview-osc.o stonerview-view.o \
559 $(UTILS_BIN)/yarandom.o $(UTILS_BIN)/usleep.o
560 stonerview: $(STONER_OBJS)
561 $(CC_HACK) -o $@ $(STONER_OBJS) $(HACK_LIBS)
564 @tmp=molecules.h.$$$$ ; \
566 echo "building molecules.h from $(HACK_SRC)/images/molecules/*.pdb" ; \
567 for f in $(HACK_SRC)/images/molecules/*.pdb ; do \
568 $(SHELL) $(UTILS_SRC)/ad2c "$$f" | \
569 sed 's/",$$/\\n"/' >> $$tmp ; \
570 echo ',' >> $$tmp ; \
574 MOLECULEOBJS=sphere.o tube.o $(TRACK_OBJS)
575 molecule: molecule.o $(MOLECULEOBJS) $(HACK_OBJS)
576 $(CC_HACK) -o $@ $@.o $(MOLECULEOBJS) $(HACK_OBJS) $(HACK_LIBS)
578 gleidescope: gleidescope.o xpm-ximage.o $(HACK_OBJS) $(GRAB_OBJS)
579 $(CC_HACK) -o $@ $@.o xpm-ximage.o $(HACK_OBJS) $(GRAB_OBJS) $(XPM_LIBS)
581 mirrorblob: mirrorblob.o $(HACK_OBJS) $(GRAB_OBJS)
582 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB_OBJS) $(XPM_LIBS)
584 blinkbox: blinkbox.o sphere.o $(HACK_OBJS)
585 $(CC_HACK) -o $@ $@.o sphere.o $(HACK_OBJS) $(HACK_LIBS)
587 dnalogo: dnalogo.o tube.o $(TRACK_OBJS) $(HACK_OBJS)
588 $(CC_HACK) -o $@ $@.o tube.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
590 ##############################################################################
592 # DO NOT DELETE: updated by make distdepend
594 antspotlight.o: $(srcdir)/ants.h
595 antspotlight.o: ../../config.h
596 antspotlight.o: $(srcdir)/gltrackball.h
597 antspotlight.o: $(srcdir)/grab-ximage.h
598 antspotlight.o: $(srcdir)/rotator.h
599 atlantis.o: $(srcdir)/atlantis.h
600 atlantis.o: ../../config.h
601 atlantis.o: $(HACK_SRC)/images/sea-texture.xpm
602 atlantis.o: $(srcdir)/xpm-ximage.h
603 atunnel.o: ../../config.h
604 atunnel.o: $(HACK_SRC)/images/tunnel0.xpm
605 atunnel.o: $(HACK_SRC)/images/tunnel1.xpm
606 atunnel.o: $(HACK_SRC)/images/tunnel2.xpm
607 atunnel.o: $(srcdir)/tunnel_draw.h
608 atunnel.o: $(srcdir)/xpm-ximage.h
609 b_draw.o: $(srcdir)/bubble3d.h
610 b_draw.o: ../../config.h
611 blinkbox.o: ../../config.h
612 blinkbox.o: $(srcdir)/sphere.h
613 b_lockglue.o: $(srcdir)/bubble3d.h
614 b_lockglue.o: ../../config.h
615 blocktube.o: ../../config.h
616 blocktube.o: $(HACK_SRC)/images/blocktube.xpm
617 blocktube.o: $(srcdir)/xpm-ximage.h
618 bouncingcow.o: ../../config.h
619 bouncingcow.o: $(srcdir)/gllist.h
620 bouncingcow.o: $(srcdir)/gltrackball.h
621 bouncingcow.o: $(srcdir)/rotator.h
622 bouncingcow.o: $(srcdir)/xpm-ximage.h
623 boxed.o: $(srcdir)/boxed.h
624 boxed.o: ../../config.h
625 b_sphere.o: $(srcdir)/bubble3d.h
626 b_sphere.o: ../../config.h
627 bubble3d.o: $(srcdir)/bubble3d.h
628 bubble3d.o: ../../config.h
629 buildlwo.o: $(srcdir)/buildlwo.h
630 cage.o: ../../config.h
631 cage.o: $(srcdir)/e_textures.h
632 chessmodels.o: $(srcdir)/chessmodels.h
633 circuit.o: ../../config.h
634 circuit.o: $(srcdir)/font-ximage.h
635 cow_face.o: $(srcdir)/gllist.h
636 cow_hide.o: $(srcdir)/gllist.h
637 cow_hoofs.o: $(srcdir)/gllist.h
638 cow_horns.o: $(srcdir)/gllist.h
639 cow_tail.o: $(srcdir)/gllist.h
640 cow_udder.o: $(srcdir)/gllist.h
641 cubenetic.o: ../../config.h
642 cubenetic.o: $(srcdir)/gltrackball.h
643 cubenetic.o: $(srcdir)/rotator.h
644 cubestorm.o: ../../config.h
645 cubestorm.o: $(srcdir)/gltrackball.h
646 cubestorm.o: $(srcdir)/rotator.h
647 dangerball.o: ../../config.h
648 dangerball.o: $(srcdir)/gltrackball.h
649 dangerball.o: $(srcdir)/rotator.h
650 dangerball.o: $(srcdir)/sphere.h
651 dangerball.o: $(srcdir)/tube.h
652 dolphin.o: $(srcdir)/atlantis.h
653 endgame.o: $(srcdir)/chessgames.h
654 endgame.o: $(srcdir)/chessmodels.h
655 endgame.o: ../../config.h
656 endgame.o: $(srcdir)/gltrackball.h
657 engine.o: ../../config.h
658 engine.o: $(srcdir)/gltrackball.h
659 engine.o: $(srcdir)/rotator.h
660 extrusion-helix2.o: ../../config.h
661 extrusion-helix3.o: ../../config.h
662 extrusion-helix4.o: ../../config.h
663 extrusion-joinoffset.o: ../../config.h
664 extrusion.o: ../../config.h
665 extrusion.o: $(srcdir)/rotator.h
666 extrusion.o: $(srcdir)/xpm-ximage.h
667 extrusion-screw.o: ../../config.h
668 extrusion-taper.o: ../../config.h
669 extrusion-twistoid.o: ../../config.h
670 flipflop.o: ../../config.h
671 flipflop.o: $(srcdir)/gltrackball.h
672 flipscreen3d.o: ../../config.h
673 flipscreen3d.o: $(srcdir)/gltrackball.h
674 flipscreen3d.o: $(srcdir)/grab-ximage.h
675 flurry.o: ../../config.h
676 flurry.o: $(srcdir)/flurry.h
677 flurry.o: $(srcdir)/gltrackball.h
678 flurry.o: $(srcdir)/rotator.h
679 flurry-smoke.o: ../../config.h
680 flurry-smoke.o: $(srcdir)/flurry.h
681 flurry-smoke.o: $(srcdir)/gltrackball.h
682 flurry-smoke.o: $(srcdir)/rotator.h
683 flurry-spark.o: ../../config.h
684 flurry-spark.o: $(srcdir)/flurry.h
685 flurry-spark.o: $(srcdir)/gltrackball.h
686 flurry-spark.o: $(srcdir)/rotator.h
687 flurry-star.o: ../../config.h
688 flurry-star.o: $(srcdir)/flurry.h
689 flurry-star.o: $(srcdir)/gltrackball.h
690 flurry-star.o: $(srcdir)/rotator.h
691 flurry-texture.o: ../../config.h
692 flurry-texture.o: $(srcdir)/flurry.h
693 flurry-texture.o: $(srcdir)/gltrackball.h
694 flurry-texture.o: $(srcdir)/rotator.h
695 flyingtoasters.o: ../../config.h
696 flyingtoasters.o: $(srcdir)/gllist.h
697 flyingtoasters.o: $(srcdir)/gltrackball.h
698 flyingtoasters.o: $(HACK_SRC)/images/chromesphere.xpm
699 flyingtoasters.o: $(HACK_SRC)/images/toast.xpm
700 flyingtoasters.o: $(srcdir)/xpm-ximage.h
701 font-ximage.o: ../../config.h
702 fps.o: ../../config.h
703 gears.o: ../../config.h
704 gears.o: $(srcdir)/gltrackball.h
705 gears.o: $(srcdir)/rotator.h
706 gflux.o: ../../config.h
707 gflux.o: $(srcdir)/gltrackball.h
708 gflux.o: $(srcdir)/grab-ximage.h
709 glblur.o: ../../config.h
710 glblur.o: $(srcdir)/gltrackball.h
711 glblur.o: $(srcdir)/rotator.h
712 gleidescope.o: ../../config.h
713 gleidescope.o: $(srcdir)/grab-ximage.h
714 gleidescope.o: $(srcdir)/xpm-ximage.h
715 glforestfire.o: ../../config.h
716 glforestfire.o: $(HACK_SRC)/images/ground.xpm
717 glforestfire.o: $(HACK_SRC)/images/tree.xpm
718 glforestfire.o: $(srcdir)/xpm-ximage.h
719 glknots.o: ../../config.h
720 glknots.o: $(srcdir)/gltrackball.h
721 glknots.o: $(srcdir)/rotator.h
722 glknots.o: $(srcdir)/tube.h
723 gllist.o: $(srcdir)/gllist.h
724 glmatrix.o: ../../config.h
725 glmatrix.o: $(srcdir)/gllist.h
726 glmatrix.o: $(HACK_SRC)/images/matrix3.xpm
727 glmatrix.o: $(srcdir)/xpm-ximage.h
728 glplanet.o: ../../config.h
729 glplanet.o: $(srcdir)/gltrackball.h
730 glplanet.o: $(HACK_SRC)/images/earth.xpm
731 glplanet.o: $(srcdir)/rotator.h
732 glplanet.o: $(srcdir)/sphere.h
733 glplanet.o: $(srcdir)/xpm-ximage.h
734 glslideshow.o: ../../config.h
735 glslideshow.o: $(srcdir)/grab-ximage.h
736 glsnake.o: ../../config.h
737 gltext.o: ../../config.h
738 gltext.o: $(srcdir)/gltrackball.h
739 gltext.o: $(srcdir)/glut_roman.h
740 gltext.o: $(srcdir)/glutstroke.h
741 gltext.o: $(srcdir)/rotator.h
742 gltext.o: $(srcdir)/tube.h
743 gltrackball.o: ../../config.h
744 gltrackball.o: $(srcdir)/gltrackball.h
745 gltrackball.o: $(srcdir)/trackball.h
746 glut_stroke.o: ../../config.h
747 glut_stroke.o: $(srcdir)/glutstroke.h
748 glut_swidth.o: ../../config.h
749 glut_swidth.o: $(srcdir)/glutstroke.h
750 grab-ximage.o: ../../config.h
751 hypertorus.o: ../../config.h
752 jigglypuff.o: ../../config.h
753 jigglypuff.o: $(srcdir)/gltrackball.h
754 jigglypuff.o: $(HACK_SRC)/images/jigglymap.xpm
755 jigglypuff.o: $(srcdir)/xpm-ximage.h
756 klein.o: ../../config.h
757 klein.o: $(srcdir)/gltrackball.h
758 klein.o: $(srcdir)/rotator.h
759 lament.o: ../../config.h
760 lament.o: $(srcdir)/gltrackball.h
761 lament.o: $(HACK_SRC)/images/lament.xpm
762 lament.o: $(srcdir)/rotator.h
763 lament.o: $(srcdir)/xpm-ximage.h
764 lavalite.o: ../../config.h
765 lavalite.o: $(srcdir)/gltrackball.h
766 lavalite.o: $(srcdir)/marching.h
767 lavalite.o: $(srcdir)/rotator.h
768 lavalite.o: $(srcdir)/xpm-ximage.h
769 marching.o: ../../config.h
770 marching.o: $(srcdir)/marching.h
771 menger.o: ../../config.h
772 menger.o: $(srcdir)/gltrackball.h
773 menger.o: $(srcdir)/rotator.h
774 mirrorblob.o: ../../config.h
775 mirrorblob.o: $(srcdir)/grab-ximage.h
776 moebius.o: ../../config.h
777 moebius.o: $(srcdir)/e_textures.h
778 moebius.o: $(srcdir)/gltrackball.h
779 moebius.o: $(srcdir)/rotator.h
780 molecule.o: ../../config.h
781 molecule.o: $(srcdir)/gltrackball.h
782 molecule.o: molecules.h
783 molecule.o: $(srcdir)/rotator.h
784 molecule.o: $(srcdir)/sphere.h
785 molecule.o: $(srcdir)/tube.h
786 morph3d.o: ../../config.h
787 pipeobjs.o: $(srcdir)/buildlwo.h
788 pipes.o: $(srcdir)/buildlwo.h
789 pipes.o: ../../config.h
790 polytopes.o: ../../config.h
791 pulsar.o: ../../config.h
792 pulsar.o: $(srcdir)/xpm-ximage.h
793 queens.o: ../../config.h
794 queens.o: $(srcdir)/gltrackball.h
795 rotator.o: ../../config.h
796 rotator.o: $(srcdir)/rotator.h
797 rubik.o: ../../config.h
798 s1_1.o: $(srcdir)/gllist.h
799 s1_2.o: $(srcdir)/gllist.h
800 s1_3.o: $(srcdir)/gllist.h
801 s1_4.o: $(srcdir)/gllist.h
802 s1_5.o: $(srcdir)/gllist.h
803 s1_6.o: $(srcdir)/gllist.h
804 s1_b.o: $(srcdir)/gllist.h
805 sballs.o: ../../config.h
806 sballs.o: $(HACK_SRC)/images/sball-bg.xpm
807 sballs.o: $(HACK_SRC)/images/sball.xpm
808 sballs.o: $(srcdir)/xpm-ximage.h
809 shark.o: $(srcdir)/atlantis.h
810 sierpinski3d.o: ../../config.h
811 sierpinski3d.o: $(srcdir)/gltrackball.h
812 sierpinski3d.o: $(srcdir)/rotator.h
813 spheremonics.o: ../../config.h
814 spheremonics.o: $(srcdir)/gltrackball.h
815 spheremonics.o: $(srcdir)/rotator.h
816 sphere.o: ../../config.h
817 sproingies.o: ../../config.h
818 sproingies.o: $(srcdir)/gllist.h
819 sproingiewrap.o: ../../config.h
820 stairs.o: ../../config.h
821 stairs.o: $(srcdir)/e_textures.h
822 starwars.o: ../../config.h
823 starwars.o: $(srcdir)/glut_roman.h
824 starwars.o: $(srcdir)/glutstroke.h
825 stonerview-move.o: ../../config.h
826 stonerview-move.o: $(srcdir)/stonerview-move.h
827 stonerview-move.o: $(srcdir)/stonerview-osc.h
828 stonerview.o: ../../config.h
829 stonerview-osc.o: ../../config.h
830 stonerview-osc.o: $(srcdir)/stonerview-osc.h
831 stonerview.o: $(srcdir)/stonerview-move.h
832 stonerview-view.o: ../../config.h
833 stonerview-view.o: $(srcdir)/stonerview-move.h
834 stonerview-view.o: $(srcdir)/stonerview-osc.h
835 superquadrics.o: ../../config.h
836 swim.o: $(srcdir)/atlantis.h
837 swim.o: ../../config.h
838 toast2.o: $(srcdir)/gllist.h
839 toaster_base.o: $(srcdir)/gllist.h
840 toaster_handle2.o: $(srcdir)/gllist.h
841 toaster_handle.o: $(srcdir)/gllist.h
842 toaster_jet.o: $(srcdir)/gllist.h
843 toaster_knob.o: $(srcdir)/gllist.h
844 toaster.o: $(srcdir)/gllist.h
845 toaster_slots.o: $(srcdir)/gllist.h
846 toaster_wing.o: $(srcdir)/gllist.h
847 toast.o: $(srcdir)/gllist.h
848 trackball.o: ../../config.h
849 trackball.o: $(srcdir)/trackball.h
850 tube.o: ../../config.h
851 tube.o: $(srcdir)/tube.h
852 tunnel_draw.o: ../../config.h
853 tunnel_draw.o: $(srcdir)/tunnel_draw.h
854 whale.o: $(srcdir)/atlantis.h
855 xlock-gl.o: ../../config.h
856 xpm-ximage.o: ../../config.h
857 xscreensaver-gl-helper.o: ../../config.h