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 noof.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 noof.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 noof
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 noof.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 noof: noof.o $(HACK_OBJS)
588 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
590 dnalogo: dnalogo.o tube.o $(TRACK_OBJS) $(HACK_OBJS)
591 $(CC_HACK) -o $@ $@.o tube.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
593 ##############################################################################
595 # DO NOT DELETE: updated by make distdepend
597 antspotlight.o: $(srcdir)/ants.h
598 antspotlight.o: ../../config.h
599 antspotlight.o: $(srcdir)/gltrackball.h
600 antspotlight.o: $(srcdir)/grab-ximage.h
601 antspotlight.o: $(srcdir)/rotator.h
602 atlantis.o: $(srcdir)/atlantis.h
603 atlantis.o: ../../config.h
604 atlantis.o: $(HACK_SRC)/images/sea-texture.xpm
605 atlantis.o: $(srcdir)/xpm-ximage.h
606 atunnel.o: ../../config.h
607 atunnel.o: $(HACK_SRC)/images/tunnel0.xpm
608 atunnel.o: $(HACK_SRC)/images/tunnel1.xpm
609 atunnel.o: $(HACK_SRC)/images/tunnel2.xpm
610 atunnel.o: $(srcdir)/tunnel_draw.h
611 atunnel.o: $(srcdir)/xpm-ximage.h
612 b_draw.o: $(srcdir)/bubble3d.h
613 b_draw.o: ../../config.h
614 blinkbox.o: ../../config.h
615 blinkbox.o: $(srcdir)/sphere.h
616 b_lockglue.o: $(srcdir)/bubble3d.h
617 b_lockglue.o: ../../config.h
618 blocktube.o: ../../config.h
619 blocktube.o: $(HACK_SRC)/images/blocktube.xpm
620 blocktube.o: $(srcdir)/xpm-ximage.h
621 bouncingcow.o: ../../config.h
622 bouncingcow.o: $(srcdir)/gllist.h
623 bouncingcow.o: $(srcdir)/gltrackball.h
624 bouncingcow.o: $(srcdir)/rotator.h
625 bouncingcow.o: $(srcdir)/xpm-ximage.h
626 boxed.o: $(srcdir)/boxed.h
627 boxed.o: ../../config.h
628 b_sphere.o: $(srcdir)/bubble3d.h
629 b_sphere.o: ../../config.h
630 bubble3d.o: $(srcdir)/bubble3d.h
631 bubble3d.o: ../../config.h
632 buildlwo.o: $(srcdir)/buildlwo.h
633 cage.o: ../../config.h
634 cage.o: $(srcdir)/e_textures.h
635 chessmodels.o: $(srcdir)/chessmodels.h
636 circuit.o: ../../config.h
637 circuit.o: $(srcdir)/font-ximage.h
638 cow_face.o: $(srcdir)/gllist.h
639 cow_hide.o: $(srcdir)/gllist.h
640 cow_hoofs.o: $(srcdir)/gllist.h
641 cow_horns.o: $(srcdir)/gllist.h
642 cow_tail.o: $(srcdir)/gllist.h
643 cow_udder.o: $(srcdir)/gllist.h
644 cubenetic.o: ../../config.h
645 cubenetic.o: $(srcdir)/gltrackball.h
646 cubenetic.o: $(srcdir)/rotator.h
647 cubestorm.o: ../../config.h
648 cubestorm.o: $(srcdir)/gltrackball.h
649 cubestorm.o: $(srcdir)/rotator.h
650 dangerball.o: ../../config.h
651 dangerball.o: $(srcdir)/gltrackball.h
652 dangerball.o: $(srcdir)/rotator.h
653 dangerball.o: $(srcdir)/sphere.h
654 dangerball.o: $(srcdir)/tube.h
655 dolphin.o: $(srcdir)/atlantis.h
656 endgame.o: $(srcdir)/chessgames.h
657 endgame.o: $(srcdir)/chessmodels.h
658 endgame.o: ../../config.h
659 endgame.o: $(srcdir)/gltrackball.h
660 engine.o: ../../config.h
661 engine.o: $(srcdir)/gltrackball.h
662 engine.o: $(srcdir)/rotator.h
663 extrusion-helix2.o: ../../config.h
664 extrusion-helix3.o: ../../config.h
665 extrusion-helix4.o: ../../config.h
666 extrusion-joinoffset.o: ../../config.h
667 extrusion.o: ../../config.h
668 extrusion.o: $(srcdir)/rotator.h
669 extrusion.o: $(srcdir)/xpm-ximage.h
670 extrusion-screw.o: ../../config.h
671 extrusion-taper.o: ../../config.h
672 extrusion-twistoid.o: ../../config.h
673 flipflop.o: ../../config.h
674 flipflop.o: $(srcdir)/gltrackball.h
675 flipscreen3d.o: ../../config.h
676 flipscreen3d.o: $(srcdir)/gltrackball.h
677 flipscreen3d.o: $(srcdir)/grab-ximage.h
678 flurry.o: ../../config.h
679 flurry.o: $(srcdir)/flurry.h
680 flurry.o: $(srcdir)/gltrackball.h
681 flurry.o: $(srcdir)/rotator.h
682 flurry-smoke.o: ../../config.h
683 flurry-smoke.o: $(srcdir)/flurry.h
684 flurry-smoke.o: $(srcdir)/gltrackball.h
685 flurry-smoke.o: $(srcdir)/rotator.h
686 flurry-spark.o: ../../config.h
687 flurry-spark.o: $(srcdir)/flurry.h
688 flurry-spark.o: $(srcdir)/gltrackball.h
689 flurry-spark.o: $(srcdir)/rotator.h
690 flurry-star.o: ../../config.h
691 flurry-star.o: $(srcdir)/flurry.h
692 flurry-star.o: $(srcdir)/gltrackball.h
693 flurry-star.o: $(srcdir)/rotator.h
694 flurry-texture.o: ../../config.h
695 flurry-texture.o: $(srcdir)/flurry.h
696 flurry-texture.o: $(srcdir)/gltrackball.h
697 flurry-texture.o: $(srcdir)/rotator.h
698 flyingtoasters.o: ../../config.h
699 flyingtoasters.o: $(srcdir)/gllist.h
700 flyingtoasters.o: $(srcdir)/gltrackball.h
701 flyingtoasters.o: $(HACK_SRC)/images/chromesphere.xpm
702 flyingtoasters.o: $(HACK_SRC)/images/toast.xpm
703 flyingtoasters.o: $(srcdir)/xpm-ximage.h
704 font-ximage.o: ../../config.h
705 fps.o: ../../config.h
706 gears.o: ../../config.h
707 gears.o: $(srcdir)/gltrackball.h
708 gears.o: $(srcdir)/rotator.h
709 gflux.o: ../../config.h
710 gflux.o: $(srcdir)/gltrackball.h
711 gflux.o: $(srcdir)/grab-ximage.h
712 glblur.o: ../../config.h
713 glblur.o: $(srcdir)/gltrackball.h
714 glblur.o: $(srcdir)/rotator.h
715 gleidescope.o: ../../config.h
716 gleidescope.o: $(srcdir)/grab-ximage.h
717 gleidescope.o: $(srcdir)/xpm-ximage.h
718 glforestfire.o: ../../config.h
719 glforestfire.o: $(HACK_SRC)/images/ground.xpm
720 glforestfire.o: $(HACK_SRC)/images/tree.xpm
721 glforestfire.o: $(srcdir)/xpm-ximage.h
722 glknots.o: ../../config.h
723 glknots.o: $(srcdir)/gltrackball.h
724 glknots.o: $(srcdir)/rotator.h
725 glknots.o: $(srcdir)/tube.h
726 gllist.o: $(srcdir)/gllist.h
727 glmatrix.o: ../../config.h
728 glmatrix.o: $(srcdir)/gllist.h
729 glmatrix.o: $(HACK_SRC)/images/matrix3.xpm
730 glmatrix.o: $(srcdir)/xpm-ximage.h
731 glplanet.o: ../../config.h
732 glplanet.o: $(srcdir)/gltrackball.h
733 glplanet.o: $(HACK_SRC)/images/earth.xpm
734 glplanet.o: $(srcdir)/rotator.h
735 glplanet.o: $(srcdir)/sphere.h
736 glplanet.o: $(srcdir)/xpm-ximage.h
737 glslideshow.o: ../../config.h
738 glslideshow.o: $(srcdir)/grab-ximage.h
739 glsnake.o: ../../config.h
740 gltext.o: ../../config.h
741 gltext.o: $(srcdir)/gltrackball.h
742 gltext.o: $(srcdir)/glut_roman.h
743 gltext.o: $(srcdir)/glutstroke.h
744 gltext.o: $(srcdir)/rotator.h
745 gltext.o: $(srcdir)/tube.h
746 gltrackball.o: ../../config.h
747 gltrackball.o: $(srcdir)/gltrackball.h
748 gltrackball.o: $(srcdir)/trackball.h
749 glut_stroke.o: ../../config.h
750 glut_stroke.o: $(srcdir)/glutstroke.h
751 glut_swidth.o: ../../config.h
752 glut_swidth.o: $(srcdir)/glutstroke.h
753 grab-ximage.o: ../../config.h
754 hypertorus.o: ../../config.h
755 jigglypuff.o: ../../config.h
756 jigglypuff.o: $(srcdir)/gltrackball.h
757 jigglypuff.o: $(HACK_SRC)/images/jigglymap.xpm
758 jigglypuff.o: $(srcdir)/xpm-ximage.h
759 klein.o: ../../config.h
760 klein.o: $(srcdir)/gltrackball.h
761 klein.o: $(srcdir)/rotator.h
762 lament.o: ../../config.h
763 lament.o: $(srcdir)/gltrackball.h
764 lament.o: $(HACK_SRC)/images/lament.xpm
765 lament.o: $(srcdir)/rotator.h
766 lament.o: $(srcdir)/xpm-ximage.h
767 lavalite.o: ../../config.h
768 lavalite.o: $(srcdir)/gltrackball.h
769 lavalite.o: $(srcdir)/marching.h
770 lavalite.o: $(srcdir)/rotator.h
771 lavalite.o: $(srcdir)/xpm-ximage.h
772 marching.o: ../../config.h
773 marching.o: $(srcdir)/marching.h
774 menger.o: ../../config.h
775 menger.o: $(srcdir)/gltrackball.h
776 menger.o: $(srcdir)/rotator.h
777 mirrorblob.o: ../../config.h
778 mirrorblob.o: $(srcdir)/grab-ximage.h
779 moebius.o: ../../config.h
780 moebius.o: $(srcdir)/e_textures.h
781 moebius.o: $(srcdir)/gltrackball.h
782 moebius.o: $(srcdir)/rotator.h
783 molecule.o: ../../config.h
784 molecule.o: $(srcdir)/gltrackball.h
785 molecule.o: molecules.h
786 molecule.o: $(srcdir)/rotator.h
787 molecule.o: $(srcdir)/sphere.h
788 molecule.o: $(srcdir)/tube.h
789 morph3d.o: ../../config.h
790 noof.o: ../../config.h
791 pipeobjs.o: $(srcdir)/buildlwo.h
792 pipes.o: $(srcdir)/buildlwo.h
793 pipes.o: ../../config.h
794 polytopes.o: ../../config.h
795 pulsar.o: ../../config.h
796 pulsar.o: $(srcdir)/xpm-ximage.h
797 queens.o: ../../config.h
798 queens.o: $(srcdir)/gltrackball.h
799 rotator.o: ../../config.h
800 rotator.o: $(srcdir)/rotator.h
801 rubik.o: ../../config.h
802 s1_1.o: $(srcdir)/gllist.h
803 s1_2.o: $(srcdir)/gllist.h
804 s1_3.o: $(srcdir)/gllist.h
805 s1_4.o: $(srcdir)/gllist.h
806 s1_5.o: $(srcdir)/gllist.h
807 s1_6.o: $(srcdir)/gllist.h
808 s1_b.o: $(srcdir)/gllist.h
809 sballs.o: ../../config.h
810 sballs.o: $(HACK_SRC)/images/sball-bg.xpm
811 sballs.o: $(HACK_SRC)/images/sball.xpm
812 sballs.o: $(srcdir)/xpm-ximage.h
813 shark.o: $(srcdir)/atlantis.h
814 sierpinski3d.o: ../../config.h
815 sierpinski3d.o: $(srcdir)/gltrackball.h
816 sierpinski3d.o: $(srcdir)/rotator.h
817 spheremonics.o: ../../config.h
818 spheremonics.o: $(srcdir)/gltrackball.h
819 spheremonics.o: $(srcdir)/rotator.h
820 sphere.o: ../../config.h
821 sproingies.o: ../../config.h
822 sproingies.o: $(srcdir)/gllist.h
823 sproingiewrap.o: ../../config.h
824 stairs.o: ../../config.h
825 stairs.o: $(srcdir)/e_textures.h
826 starwars.o: ../../config.h
827 starwars.o: $(srcdir)/glut_roman.h
828 starwars.o: $(srcdir)/glutstroke.h
829 stonerview-move.o: ../../config.h
830 stonerview-move.o: $(srcdir)/stonerview-move.h
831 stonerview-move.o: $(srcdir)/stonerview-osc.h
832 stonerview.o: ../../config.h
833 stonerview-osc.o: ../../config.h
834 stonerview-osc.o: $(srcdir)/stonerview-osc.h
835 stonerview.o: $(srcdir)/stonerview-move.h
836 stonerview-view.o: ../../config.h
837 stonerview-view.o: $(srcdir)/stonerview-move.h
838 stonerview-view.o: $(srcdir)/stonerview-osc.h
839 superquadrics.o: ../../config.h
840 swim.o: $(srcdir)/atlantis.h
841 swim.o: ../../config.h
842 toast2.o: $(srcdir)/gllist.h
843 toaster_base.o: $(srcdir)/gllist.h
844 toaster_handle2.o: $(srcdir)/gllist.h
845 toaster_handle.o: $(srcdir)/gllist.h
846 toaster_jet.o: $(srcdir)/gllist.h
847 toaster_knob.o: $(srcdir)/gllist.h
848 toaster.o: $(srcdir)/gllist.h
849 toaster_slots.o: $(srcdir)/gllist.h
850 toaster_wing.o: $(srcdir)/gllist.h
851 toast.o: $(srcdir)/gllist.h
852 trackball.o: ../../config.h
853 trackball.o: $(srcdir)/trackball.h
854 tube.o: ../../config.h
855 tube.o: $(srcdir)/tube.h
856 tunnel_draw.o: ../../config.h
857 tunnel_draw.o: $(srcdir)/tunnel_draw.h
858 whale.o: $(srcdir)/atlantis.h
859 xlock-gl.o: ../../config.h
860 xpm-ximage.o: ../../config.h
861 xscreensaver-gl-helper.o: ../../config.h