1 # hacks/glx/Makefile.in --- xscreensaver, Copyright (c) 1999-2004
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 polyhedra.c polyhedra-gl.c \
99 antinspect.c providence.c pinion.c
101 OBJS = xscreensaver-gl-helper.o \
102 atlantis.o b_draw.o b_lockglue.o b_sphere.o bubble3d.o \
103 buildlwo.o cage.o dolphin.o gears.o lament.o moebius.o \
104 morph3d.o pipeobjs.o pipes.o rubik.o s1_1.o s1_2.o s1_3.o \
105 s1_4.o s1_5.o s1_6.o s1_b.o shark.o sproingies.o \
106 sproingiewrap.o stairs.o superquadrics.o swim.o whale.o \
107 xlock-gl.o fps.o xpm-ximage.o glplanet.o pulsar.o \
108 extrusion.o extrusion-helix2.o extrusion-helix3.o \
109 extrusion-helix4.o extrusion-joinoffset.o extrusion-screw.o \
110 extrusion-taper.o extrusion-twistoid.o sierpinski3d.o \
111 gflux.o stonerview.o stonerview-move.o stonerview-osc.o \
112 stonerview-view.o starwars.o glut_stroke.o glut_swidth.o \
113 gltext.o molecule.o dangerball.o sphere.o tube.o circuit.o \
114 menger.o engine.o flipscreen3d.o font-ximage.o \
115 grab-ximage.o glsnake.o boxed.o glforestfire.o sballs.o \
116 cubenetic.o spheremonics.o marching.o lavalite.o rotator.o \
117 trackball.o gltrackball.o queens.o endgame.o chessmodels.o \
118 glblur.o gllist.o flurry.o flurry-smoke.o flurry-spark.o \
119 flurry-star.o flurry-texture.o atunnel.o tunnel_draw.o \
120 flyingtoasters.o toaster.o toaster_base.o toaster_handle.o \
121 toaster_handle2.o toaster_jet.o toaster_knob.o \
122 toaster_slots.o toaster_wing.o toast.o toast2.o \
123 bouncingcow.o cow_face.o cow_hide.o cow_hoofs.o cow_horns.o \
124 cow_tail.o cow_udder.o glslideshow.o jigglypuff.o klein.o \
125 hypertorus.o glmatrix.o cubestorm.o glknots.o blocktube.o \
126 flipflop.o antspotlight.o polytopes.o gleidescope.o \
127 mirrorblob.o blinkbox.o noof.o polyhedra.o polyhedra-gl.o \
128 antinspect.o providence.o pinion.o
130 GL_EXES = cage gears moebius pipes sproingies stairs superquadrics \
131 morph3d rubik atlantis lament bubble3d glplanet pulsar \
132 sierpinski3d gflux stonerview starwars gltext molecule \
133 dangerball circuit menger engine flipscreen3d glsnake boxed \
134 glforestfire sballs cubenetic spheremonics lavalite queens \
135 endgame glblur flurry atunnel flyingtoasters bouncingcow \
136 glslideshow jigglypuff klein hypertorus glmatrix cubestorm \
137 glknots blocktube flipflop antspotlight polytopes \
138 gleidescope mirrorblob blinkbox noof polyhedra \
139 antinspect providence pinion
141 GL_UTIL_EXES = xscreensaver-gl-helper
142 HACK_EXES = @GL_EXES@ @GLE_EXES@
143 GRAB_OBJS = $(UTILS_BIN)/grabclient.o grab-ximage.o
144 EXES = @GL_UTIL_EXES@ $(HACK_EXES)
146 HACK_OBJS = screenhack-gl.o xlock-gl.o fps.o $(HACK_BIN)/xlockmore.o \
147 $(UTILS_BIN)/resources.o $(UTILS_BIN)/visual.o \
148 $(UTILS_BIN)/visual-gl.o $(UTILS_BIN)/usleep.o \
149 $(UTILS_BIN)/yarandom.o $(UTILS_BIN)/hsv.o \
150 $(UTILS_BIN)/colors.o
152 HDRS = atlantis.h bubble3d.h buildlwo.h e_textures.h xpm-ximage.h \
153 grab-ximage.h font-ximage.h tube.h sphere.h boxed.h \
154 stonerview-move.h stonerview-osc.h glutstroke.h \
155 glut_roman.h marching.h rotator.h trackball.h gltrackball.h \
156 chessmodels.h chessgames.h gllist.h flurry.h tunnel_draw.h \
158 GL_MEN = atlantis.man boxed.man bubble3d.man cage.man circuit.man \
159 cubenetic.man dangerball.man engine.man extrusion.man \
160 flipscreen3d.man gears.man gflux.man glforestfire.man \
161 glplanet.man glsnake.man gltext.man lament.man lavalite.man \
162 menger.man moebius.man molecule.man morph3d.man pipes.man \
163 pulsar.man queens.man rubik.man sballs.man sierpinski3d.man \
164 spheremonics.man sproingies.man stairs.man starwars.man \
165 stonerview.man superquadrics.man xscreensaver-gl-helper.man \
166 endgame.man flurry.man glblur.man atunnel.man \
167 flyingtoasters.man bouncingcow.man glslideshow.man \
168 jigglypuff.man klein.man hypertorus.man glmatrix.man \
169 cubestorm.man glknots.man blocktube.man flipflop.man \
170 antspotlight.man polytopes.man gleidescope.man \
171 mirrorblob.man blinkbox.man noof.man polyhedra.man \
172 antinspect.man providence.man pinion.man
174 EXTRAS = README Makefile.in dxf2gl.pl
176 TARFILES = $(SRCS) $(HDRS) $(MEN) $(EXTRAS)
182 install: install-program install-man
183 uninstall: uninstall-program uninstall-man
186 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
188 # the hacks, in $HACKDIR
189 install-program:: $(EXES)
190 @exes="$(HACK_EXES)" ; \
191 idir="$(install_prefix)$(HACKDIR)" ; \
192 if [ "$$exes" != "" ]; then \
193 if [ ! -d $$idir ]; then \
194 $(INSTALL_DIRS) $$idir ; \
196 for program in $$exes; do \
197 echo $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
198 $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
202 # the xscreensaver-gl-helper program, in $bindir
203 install-program:: $(EXES)
204 @exes="@GL_UTIL_EXES@" ; \
205 idir="$(install_prefix)$(bindir)" ; \
206 if [ "$$exes" != "" ]; then \
207 if [ ! -d $$idir ]; then \
208 $(INSTALL_DIRS) $$idir ; \
210 for program in $$exes; do \
211 echo $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
212 $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
218 idir="$(install_prefix)$(manNdir)" ; \
219 if [ ! -d $$idir ]; then \
220 $(INSTALL_DIRS) $$idir ; \
222 for man in $$men; do \
223 instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
224 echo $(INSTALL_DATA) $(srcdir)/$$man $$idir/$$instname ; \
225 $(INSTALL_DATA) $(srcdir)/$$man $$idir/$$instname ; \
228 # the hacks, in $HACKDIR
230 @exes="$(HACK_EXES)" ; \
231 idir="$(install_prefix)$(HACKDIR)" ; \
232 for program in $$exes; do \
233 echo rm -f $$idir/$$program ; \
234 rm -f $$idir/$$program ; \
237 # the xscreensaver-gl-helper program, in $bindir
239 @exes="$(GL_UTIL_EXES)" ; \
240 idir="$(install_prefix)$(bindir)" ; \
241 for program in $$exes; do \
242 echo rm -f $$idir/$$program ; \
243 rm -f $$idir/$$program ; \
248 idir="$(install_prefix)$(manNdir)" ; \
249 for man in $$men; do \
250 instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
251 echo rm -f $$idir/$$instname ; \
252 rm -f $$idir/$$instname ; \
256 -rm -f *.o a.out core $(EXES) molecules.h
259 -rm -f Makefile TAGS *~ "#"*
261 # Adds all current dependencies to Makefile
263 $(DEPEND) -s '# DO NOT DELETE: updated by make depend' \
265 $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
268 # Adds some dependencies to Makefile.in -- not totally accurate, but pretty
269 # close. This excludes dependencies on files in /usr/include, etc. It tries
270 # to include only dependencies on files which are themselves a part of this
272 distdepend:: molecules.h
273 @echo updating dependencies in `pwd`/Makefile.in... ; \
274 $(DEPEND) -w 0 -f - \
275 -s '# DO NOT DELETE: updated by make distdepend' $(DEPEND_FLAGS) -- \
276 $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
277 $(SRCS) 2>/dev/null | \
280 awk '/^# .*Makefile.in ---/,/^# DO .*distdepend/' < Makefile.in ; \
282 -e 's@ \./@ @g;s@ /[^ ]*@@g;/^.*:$$/d' \
283 -e 's@\.\./\.\./utils@$$(UTILS_SRC)@g' \
284 -e 's@\.\./glx/@@g' \
285 -e 's@ \.\./@ $$(HACK_SRC)/@g' \
286 -e 's@ \([^$$]\)@ $$(srcdir)/\1@g' \
287 -e 's@ $$(srcdir)/\(.*config.h\)@ \1@g' \
288 -e 's@ $$(HACK_SRC)/\(.*config.h\)@ ../\1@g' \
289 -e 's@ $$(srcdir)/\(.*molecules.h\)@ \1@g' ; \
291 ) > /tmp/distdepend.$$$$ && \
292 mv Makefile.in Makefile.in.bak && \
293 mv /tmp/distdepend.$$$$ Makefile.in
298 find $(srcdir) -name '*.[chly]' -print | xargs etags -a
305 for exe in $(EXES); do \
306 if ! [ -f $(srcdir)/$$exe.man ]; then \
307 badmen="$$badmen $$exe" ; \
310 if [ -n "$$badmen" ]; then \
312 echo "Warning: The following programs have no manuals:" ; \
314 for m in $$badmen ; do \
321 for exe in $(EXES); do \
322 if ! [ -f $(srcdir)/../config/$$exe.xml -o \
323 "$$exe" = xscreensaver-gl-helper ]; then \
324 badxml="$$badxml $$exe" ; \
327 if [ -n "$$badxml" ]; then \
329 echo "Warning: The following programs have no configurators:" ; \
331 for m in $$badxml ; do \
337 distdepend:: check_men check_xml
342 # Rules for noticing when the objects from the utils directory are out of
343 # date with respect to their sources, and going and building them according
344 # to the rules in their own Makefile...
346 $(UTILS_BIN)/colors.o: $(UTILS_SRC)/colors.c
347 $(UTILS_BIN)/hsv.o: $(UTILS_SRC)/hsv.c
348 $(UTILS_BIN)/resources.o: $(UTILS_SRC)/resources.c
349 $(UTILS_BIN)/usleep.o: $(UTILS_SRC)/usleep.c
350 $(UTILS_BIN)/visual.o: $(UTILS_SRC)/visual.c
351 $(UTILS_BIN)/visual-gl.o: $(UTILS_SRC)/visual-gl.c
352 $(UTILS_BIN)/yarandom.o: $(UTILS_SRC)/yarandom.c
356 $(MAKE) $(@F) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
358 $(HACK_BIN)/xlockmore.o: $(HACK_SRC)/xlockmore.c
359 cd $(HACK_BIN) ; $(MAKE) $(@F) CC="$(CC)" CFLAGS="$(CFLAGS)"
362 # How we build object files in this directory.
364 $(CC) -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) $<
367 # How to build the "xscreensaver-gl-helper" program, that lets the daemon
368 # know which visual is the right one for GL programs.
370 HELPER_OBJS = xscreensaver-gl-helper.o $(UTILS_BIN)/visual-gl.o \
371 $(UTILS_BIN)/visual.o $(UTILS_BIN)/resources.o
372 xscreensaver-gl-helper: $(HELPER_OBJS)
373 $(CC) $(LDFLAGS) -o $@ $(HELPER_OBJS) $(LIBS) $(X_LIBS) $(HACK_POST2)
376 # These hacks use a slightly-differently-compiled variant of screenhack.c.
377 # This is how to make the the other .o file from it.
379 screenhack-gl.o: $(HACK_SRC)/screenhack.c
380 $(CC) -o $@ -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) \
381 -DXLOCKMORE -DUSE_GL $(HACK_SRC)/screenhack.c
383 CC_HACK = $(CC) $(LDFLAGS)
385 TRACK_OBJS=rotator.o trackball.o gltrackball.o
387 ATLANTIS_OBJS = $(HACK_OBJS) dolphin.o shark.o swim.o whale.o xpm-ximage.o
388 atlantis: atlantis.o $(ATLANTIS_OBJS)
389 $(CC_HACK) -o $@ $@.o $(ATLANTIS_OBJS) $(XPM_LIBS)
391 ATUNNEL_OBJS = $(HACK_OBJS) tunnel_draw.o xpm-ximage.o
392 atunnel: atunnel.o $(ATUNNEL_OBJS)
393 $(CC_HACK) -o $@ $@.o $(ATUNNEL_OBJS) $(XPM_LIBS)
395 cage: cage.o $(HACK_OBJS)
396 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
398 FLURRY_OBJS_1 = flurry-smoke.o flurry-spark.o flurry-star.o flurry-texture.o
399 FLURRY_OBJS = $(FLURRY_OBJS_1) $(HACK_OBJS)
401 flurry: flurry.o $(FLURRY_OBJS)
402 $(CC_HACK) -o $@ $@.o $(FLURRY_OBJS) $(HACK_LIBS) -lm
404 gears: gears.o $(HACK_OBJS) $(TRACK_OBJS)
405 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
407 moebius: moebius.o $(TRACK_OBJS) $(HACK_OBJS)
408 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
410 pipes: pipes.o $(HACK_OBJS) pipeobjs.o buildlwo.o
411 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) pipeobjs.o buildlwo.o \
414 superquadrics: superquadrics.o $(HACK_OBJS)
415 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
417 morph3d: morph3d.o $(HACK_OBJS)
418 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
420 rubik: rubik.o $(HACK_OBJS)
421 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
423 stairs: stairs.o $(HACK_OBJS)
424 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
426 SPROINGIES = sproingiewrap.o gllist.o \
427 s1_1.o s1_2.o s1_3.o s1_4.o s1_5.o s1_6.o s1_b.o
428 sproingies: sproingies.o $(HACK_OBJS) $(SPROINGIES)
429 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(SPROINGIES) $(HACK_LIBS)
431 lament: lament.o $(TRACK_OBJS) xpm-ximage.o $(HACK_OBJS)
432 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) xpm-ximage.o $(HACK_OBJS) $(XPM_LIBS)
434 B3D = b_sphere.o b_draw.o b_lockglue.o
435 bubble3d: bubble3d.o $(HACK_OBJS) $(B3D)
436 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(B3D) $(HACK_LIBS)
438 PLANETHACKS=sphere.o xpm-ximage.o $(TRACK_OBJS)
439 glplanet: glplanet.o $(PLANETHACKS) $(HACK_OBJS)
440 $(CC_HACK) -o $@ $@.o $(PLANETHACKS) $(HACK_OBJS) $(XPM_LIBS)
442 pulsar: pulsar.o $(HACK_OBJS) xpm-ximage.o
443 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
445 EXTRUSION_OBJS=extrusion.o extrusion-helix2.o extrusion-helix3.o \
446 extrusion-helix4.o extrusion-joinoffset.o extrusion-screw.o \
447 extrusion-taper.o extrusion-twistoid.o xpm-ximage.o $(TRACK_OBJS)
448 extrusion: $(EXTRUSION_OBJS) $(HACK_OBJS)
449 $(CC_HACK) -o $@ $(EXTRUSION_OBJS) $(HACK_OBJS) $(XPM_LIBS) $(GLE_LIBS)
451 sierpinski3d: sierpinski3d.o $(HACK_OBJS) $(TRACK_OBJS)
452 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
454 gflux: gflux.o $(HACK_OBJS) $(TRACK_OBJS) $(GRAB_OBJS)
455 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(GRAB_OBJS) $(HACK_LIBS)
457 SW_OBJS=starwars.o glut_stroke.o glut_swidth.o
458 starwars: $(SW_OBJS) $(HACK_OBJS)
459 $(CC_HACK) -o $@ $(SW_OBJS) $(HACK_OBJS) $(HACK_LIBS)
461 GLT_OBJS=gltext.o glut_stroke.o glut_swidth.o tube.o $(TRACK_OBJS)
462 gltext: $(GLT_OBJS) $(HACK_OBJS)
463 $(CC_HACK) -o $@ $(GLT_OBJS) $(HACK_OBJS) $(HACK_LIBS)
465 DB_OBJS=sphere.o tube.o $(TRACK_OBJS)
466 dangerball: dangerball.o $(DB_OBJS) $(HACK_OBJS)
467 $(CC_HACK) -o $@ $@.o $(DB_OBJS) $(HACK_OBJS) $(HACK_LIBS)
469 circuit: circuit.o $(HACK_OBJS) font-ximage.o
470 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) font-ximage.o $(HACK_LIBS)
472 menger: menger.o $(HACK_OBJS) $(TRACK_OBJS)
473 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
475 engine: engine.o $(HACK_OBJS) $(TRACK_OBJS)
476 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
478 flipscreen3d: flipscreen3d.o $(HACK_OBJS) $(GRAB_OBJS) $(TRACK_OBJS)
479 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
481 glsnake: glsnake.o $(HACK_OBJS)
482 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
484 boxed: boxed.o $(HACK_OBJS)
485 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
487 glforestfire: glforestfire.o $(HACK_OBJS) xpm-ximage.o
488 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
490 sballs: sballs.o $(HACK_OBJS) xpm-ximage.o
491 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
493 cubenetic: cubenetic.o $(HACK_OBJS) $(TRACK_OBJS)
494 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
496 spheremonics: spheremonics.o $(HACK_OBJS) $(TRACK_OBJS)
497 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
499 LLOBJS=marching.o xpm-ximage.o $(TRACK_OBJS) $(HACK_OBJS)
500 lavalite: lavalite.o $(LLOBJS)
501 $(CC_HACK) -o $@ $@.o $(LLOBJS) $(XPM_LIBS)
503 queens: queens.o $(TRACK_OBJS) $(HACK_OBJS)
504 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
506 CHESSOBJS=chessmodels.o $(TRACK_OBJS) $(HACK_OBJS)
507 endgame: endgame.o $(CHESSOBJS)
508 $(CC_HACK) -o $@ $@.o $(CHESSOBJS) $(HACK_LIBS)
510 glblur: glblur.o $(HACK_OBJS) $(TRACK_OBJS)
511 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
514 toaster.o toaster_base.o toaster_handle.o toaster_handle2.o \
515 toaster_jet.o toaster_knob.o toaster_slots.o toaster_wing.o \
517 TOASTOBJS=flyingtoasters.o gllist.o $(TOASTOBJS1) xpm-ximage.o
518 flyingtoasters: $(TOASTOBJS) $(TRACK_OBJS) $(HACK_OBJS)
519 $(CC_HACK) -o $@ $(TOASTOBJS) $(TRACK_OBJS) $(HACK_OBJS) $(XPM_LIBS)
522 cow_face.o cow_hide.o cow_hoofs.o cow_horns.o cow_tail.o cow_udder.o
523 COWOBJS=bouncingcow.o gllist.o $(COWOBJS1) xpm-ximage.o
524 bouncingcow: $(COWOBJS) $(TRACK_OBJS) $(HACK_OBJS)
525 $(CC_HACK) -o $@ $(COWOBJS) $(TRACK_OBJS) $(HACK_OBJS) $(XPM_LIBS)
527 glslideshow: glslideshow.o $(HACK_OBJS) $(GRAB_OBJS)
528 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB_OBJS) $(HACK_LIBS)
530 jigglypuff: jigglypuff.o xpm-ximage.o $(HACK_OBJS) $(TRACK_OBJS)
531 $(CC_HACK) -o $@ $@.o xpm-ximage.o $(HACK_OBJS) $(TRACK_OBJS) $(XPM_LIBS)
533 klein: klein.o $(HACK_OBJS) $(TRACK_OBJS)
534 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
536 hypertorus: hypertorus.o $(HACK_OBJS)
537 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
539 glmatrix: glmatrix.o $(HACK_OBJS) xpm-ximage.o
540 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
542 cubestorm: cubestorm.o $(TRACK_OBJS) $(HACK_OBJS)
543 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
545 glknots: glknots.o tube.o $(TRACK_OBJS) $(HACK_OBJS)
546 $(CC_HACK) -o $@ $@.o tube.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
548 blocktube: blocktube.o $(HACK_OBJS) xpm-ximage.o
549 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
551 flipflop: flipflop.o $(TRACK_OBJS) $(HACK_OBJS)
552 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
554 antspotlight: antspotlight.o $(TRACK_OBJS) $(GRAB_OBJS) $(HACK_OBJS)
555 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(GRAB_OBJS) $(HACK_OBJS) $(HACK_LIBS)
557 polytopes: polytopes.o $(HACK_OBJS)
558 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
560 # This one works differently (it's not xlock-like.)
562 STONER_OBJS=stonerview.o stonerview-move.o stonerview-osc.o stonerview-view.o \
563 $(UTILS_BIN)/yarandom.o $(UTILS_BIN)/usleep.o
564 stonerview: $(STONER_OBJS)
565 $(CC_HACK) -o $@ $(STONER_OBJS) $(HACK_LIBS)
568 @tmp=molecules.h.$$$$ ; \
570 echo "building molecules.h from $(HACK_SRC)/images/molecules/*.pdb" ; \
571 for f in $(HACK_SRC)/images/molecules/*.pdb ; do \
572 $(SHELL) $(UTILS_SRC)/ad2c "$$f" | \
573 sed 's/",$$/\\n"/' >> $$tmp ; \
574 echo ',' >> $$tmp ; \
578 MOLECULEOBJS=sphere.o tube.o $(TRACK_OBJS)
579 molecule: molecule.o $(MOLECULEOBJS) $(HACK_OBJS)
580 $(CC_HACK) -o $@ $@.o $(MOLECULEOBJS) $(HACK_OBJS) $(HACK_LIBS)
582 gleidescope: gleidescope.o xpm-ximage.o $(HACK_OBJS) $(GRAB_OBJS)
583 $(CC_HACK) -o $@ $@.o xpm-ximage.o $(HACK_OBJS) $(GRAB_OBJS) $(XPM_LIBS)
585 mirrorblob: mirrorblob.o $(HACK_OBJS) $(GRAB_OBJS)
586 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB_OBJS) $(XPM_LIBS)
588 blinkbox: blinkbox.o sphere.o $(HACK_OBJS)
589 $(CC_HACK) -o $@ $@.o sphere.o $(HACK_OBJS) $(HACK_LIBS)
591 noof: noof.o $(HACK_OBJS)
592 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
594 PH_OBJS=polyhedra-gl.o $(TRACK_OBJS)
595 polyhedra: polyhedra.o $(PH_OBJS) $(HACK_OBJS)
596 $(CC_HACK) -o $@ $@.o $(PH_OBJS) $(HACK_OBJS) $(HACK_LIBS)
598 antinspect: antinspect.o $(TRACK_OBJS) $(HACK_OBJS)
599 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
601 providence: providence.o $(TRACK_OBJS) $(HACK_OBJS)
602 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
604 pinion: pinion.o $(TRACK_OBJS) $(HACK_OBJS)
605 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
607 dnalogo: dnalogo.o tube.o $(TRACK_OBJS) $(HACK_OBJS)
608 $(CC_HACK) -o $@ $@.o tube.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
610 ##############################################################################
612 # DO NOT DELETE: updated by make distdepend
614 antinspect.o: ../../config.h
615 antinspect.o: $(srcdir)/gltrackball.h
616 antspotlight.o: $(srcdir)/ants.h
617 antspotlight.o: ../../config.h
618 antspotlight.o: $(srcdir)/gltrackball.h
619 antspotlight.o: $(srcdir)/grab-ximage.h
620 antspotlight.o: $(srcdir)/rotator.h
621 atlantis.o: $(srcdir)/atlantis.h
622 atlantis.o: ../../config.h
623 atlantis.o: $(HACK_SRC)/images/sea-texture.xpm
624 atlantis.o: $(srcdir)/xpm-ximage.h
625 atunnel.o: ../../config.h
626 atunnel.o: $(HACK_SRC)/images/tunnel0.xpm
627 atunnel.o: $(HACK_SRC)/images/tunnel1.xpm
628 atunnel.o: $(HACK_SRC)/images/tunnel2.xpm
629 atunnel.o: $(HACK_SRC)/images/tunnel3.xpm
630 atunnel.o: $(HACK_SRC)/images/tunnel4.xpm
631 atunnel.o: $(HACK_SRC)/images/tunnel5.xpm
632 atunnel.o: $(srcdir)/tunnel_draw.h
633 atunnel.o: $(srcdir)/xpm-ximage.h
634 b_draw.o: $(srcdir)/bubble3d.h
635 b_draw.o: ../../config.h
636 blinkbox.o: ../../config.h
637 blinkbox.o: $(srcdir)/sphere.h
638 b_lockglue.o: $(srcdir)/bubble3d.h
639 b_lockglue.o: ../../config.h
640 blocktube.o: ../../config.h
641 blocktube.o: $(HACK_SRC)/images/blocktube.xpm
642 blocktube.o: $(srcdir)/xpm-ximage.h
643 bouncingcow.o: ../../config.h
644 bouncingcow.o: $(srcdir)/gllist.h
645 bouncingcow.o: $(srcdir)/gltrackball.h
646 bouncingcow.o: $(srcdir)/rotator.h
647 bouncingcow.o: $(srcdir)/xpm-ximage.h
648 boxed.o: $(srcdir)/boxed.h
649 boxed.o: ../../config.h
650 b_sphere.o: $(srcdir)/bubble3d.h
651 b_sphere.o: ../../config.h
652 bubble3d.o: $(srcdir)/bubble3d.h
653 bubble3d.o: ../../config.h
654 buildlwo.o: $(srcdir)/buildlwo.h
655 cage.o: ../../config.h
656 cage.o: $(srcdir)/e_textures.h
657 chessmodels.o: $(srcdir)/chessmodels.h
658 circuit.o: ../../config.h
659 circuit.o: $(srcdir)/font-ximage.h
660 cow_face.o: $(srcdir)/gllist.h
661 cow_hide.o: $(srcdir)/gllist.h
662 cow_hoofs.o: $(srcdir)/gllist.h
663 cow_horns.o: $(srcdir)/gllist.h
664 cow_tail.o: $(srcdir)/gllist.h
665 cow_udder.o: $(srcdir)/gllist.h
666 cubenetic.o: ../../config.h
667 cubenetic.o: $(srcdir)/gltrackball.h
668 cubenetic.o: $(srcdir)/rotator.h
669 cubestorm.o: ../../config.h
670 cubestorm.o: $(srcdir)/gltrackball.h
671 cubestorm.o: $(srcdir)/rotator.h
672 dangerball.o: ../../config.h
673 dangerball.o: $(srcdir)/gltrackball.h
674 dangerball.o: $(srcdir)/rotator.h
675 dangerball.o: $(srcdir)/sphere.h
676 dangerball.o: $(srcdir)/tube.h
677 dolphin.o: $(srcdir)/atlantis.h
678 endgame.o: $(srcdir)/chessgames.h
679 endgame.o: $(srcdir)/chessmodels.h
680 endgame.o: ../../config.h
681 endgame.o: $(srcdir)/gltrackball.h
682 engine.o: ../../config.h
683 engine.o: $(srcdir)/gltrackball.h
684 engine.o: $(srcdir)/rotator.h
685 extrusion-helix2.o: ../../config.h
686 extrusion-helix3.o: ../../config.h
687 extrusion-helix4.o: ../../config.h
688 extrusion-joinoffset.o: ../../config.h
689 extrusion.o: ../../config.h
690 extrusion.o: $(srcdir)/rotator.h
691 extrusion.o: $(srcdir)/xpm-ximage.h
692 extrusion-screw.o: ../../config.h
693 extrusion-taper.o: ../../config.h
694 extrusion-twistoid.o: ../../config.h
695 flipflop.o: ../../config.h
696 flipflop.o: $(srcdir)/gltrackball.h
697 flipscreen3d.o: ../../config.h
698 flipscreen3d.o: $(srcdir)/gltrackball.h
699 flipscreen3d.o: $(srcdir)/grab-ximage.h
700 flurry.o: ../../config.h
701 flurry.o: $(srcdir)/flurry.h
702 flurry.o: $(srcdir)/gltrackball.h
703 flurry.o: $(srcdir)/rotator.h
704 flurry-smoke.o: ../../config.h
705 flurry-smoke.o: $(srcdir)/flurry.h
706 flurry-smoke.o: $(srcdir)/gltrackball.h
707 flurry-smoke.o: $(srcdir)/rotator.h
708 flurry-spark.o: ../../config.h
709 flurry-spark.o: $(srcdir)/flurry.h
710 flurry-spark.o: $(srcdir)/gltrackball.h
711 flurry-spark.o: $(srcdir)/rotator.h
712 flurry-star.o: ../../config.h
713 flurry-star.o: $(srcdir)/flurry.h
714 flurry-star.o: $(srcdir)/gltrackball.h
715 flurry-star.o: $(srcdir)/rotator.h
716 flurry-texture.o: ../../config.h
717 flurry-texture.o: $(srcdir)/flurry.h
718 flurry-texture.o: $(srcdir)/gltrackball.h
719 flurry-texture.o: $(srcdir)/rotator.h
720 flyingtoasters.o: ../../config.h
721 flyingtoasters.o: $(srcdir)/gllist.h
722 flyingtoasters.o: $(srcdir)/gltrackball.h
723 flyingtoasters.o: $(HACK_SRC)/images/chromesphere.xpm
724 flyingtoasters.o: $(HACK_SRC)/images/toast.xpm
725 flyingtoasters.o: $(srcdir)/xpm-ximage.h
726 font-ximage.o: ../../config.h
727 fps.o: ../../config.h
728 gears.o: ../../config.h
729 gears.o: $(srcdir)/gltrackball.h
730 gears.o: $(srcdir)/rotator.h
731 gflux.o: ../../config.h
732 gflux.o: $(srcdir)/gltrackball.h
733 gflux.o: $(srcdir)/grab-ximage.h
734 glblur.o: ../../config.h
735 glblur.o: $(srcdir)/gltrackball.h
736 glblur.o: $(srcdir)/rotator.h
737 gleidescope.o: ../../config.h
738 gleidescope.o: $(srcdir)/grab-ximage.h
739 gleidescope.o: $(srcdir)/xpm-ximage.h
740 glforestfire.o: ../../config.h
741 glforestfire.o: $(HACK_SRC)/images/ground.xpm
742 glforestfire.o: $(HACK_SRC)/images/tree.xpm
743 glforestfire.o: $(srcdir)/xpm-ximage.h
744 glknots.o: ../../config.h
745 glknots.o: $(srcdir)/gltrackball.h
746 glknots.o: $(srcdir)/rotator.h
747 glknots.o: $(srcdir)/tube.h
748 gllist.o: $(srcdir)/gllist.h
749 glmatrix.o: ../../config.h
750 glmatrix.o: $(srcdir)/gllist.h
751 glmatrix.o: $(HACK_SRC)/images/matrix3.xpm
752 glmatrix.o: $(srcdir)/xpm-ximage.h
753 glplanet.o: ../../config.h
754 glplanet.o: $(srcdir)/gltrackball.h
755 glplanet.o: $(HACK_SRC)/images/earth.xpm
756 glplanet.o: $(srcdir)/rotator.h
757 glplanet.o: $(srcdir)/sphere.h
758 glplanet.o: $(srcdir)/xpm-ximage.h
759 glslideshow.o: ../../config.h
760 glslideshow.o: $(srcdir)/grab-ximage.h
761 glsnake.o: ../../config.h
762 gltext.o: ../../config.h
763 gltext.o: $(srcdir)/gltrackball.h
764 gltext.o: $(srcdir)/glut_roman.h
765 gltext.o: $(srcdir)/glutstroke.h
766 gltext.o: $(srcdir)/rotator.h
767 gltext.o: $(srcdir)/tube.h
768 gltrackball.o: ../../config.h
769 gltrackball.o: $(srcdir)/gltrackball.h
770 gltrackball.o: $(srcdir)/trackball.h
771 glut_stroke.o: ../../config.h
772 glut_stroke.o: $(srcdir)/glutstroke.h
773 glut_swidth.o: ../../config.h
774 glut_swidth.o: $(srcdir)/glutstroke.h
775 grab-ximage.o: ../../config.h
776 hypertorus.o: ../../config.h
777 jigglypuff.o: ../../config.h
778 jigglypuff.o: $(srcdir)/gltrackball.h
779 jigglypuff.o: $(HACK_SRC)/images/jigglymap.xpm
780 jigglypuff.o: $(srcdir)/xpm-ximage.h
781 klein.o: ../../config.h
782 klein.o: $(srcdir)/gltrackball.h
783 klein.o: $(srcdir)/rotator.h
784 lament.o: ../../config.h
785 lament.o: $(srcdir)/gltrackball.h
786 lament.o: $(HACK_SRC)/images/lament.xpm
787 lament.o: $(srcdir)/rotator.h
788 lament.o: $(srcdir)/xpm-ximage.h
789 lavalite.o: ../../config.h
790 lavalite.o: $(srcdir)/gltrackball.h
791 lavalite.o: $(srcdir)/marching.h
792 lavalite.o: $(srcdir)/rotator.h
793 lavalite.o: $(srcdir)/xpm-ximage.h
794 marching.o: ../../config.h
795 marching.o: $(srcdir)/marching.h
796 menger.o: ../../config.h
797 menger.o: $(srcdir)/gltrackball.h
798 menger.o: $(srcdir)/rotator.h
799 mirrorblob.o: ../../config.h
800 mirrorblob.o: $(srcdir)/grab-ximage.h
801 moebius.o: ../../config.h
802 moebius.o: $(srcdir)/e_textures.h
803 moebius.o: $(srcdir)/gltrackball.h
804 moebius.o: $(srcdir)/rotator.h
805 molecule.o: ../../config.h
806 molecule.o: $(srcdir)/gltrackball.h
807 molecule.o: molecules.h
808 molecule.o: $(srcdir)/rotator.h
809 molecule.o: $(srcdir)/sphere.h
810 molecule.o: $(srcdir)/tube.h
811 morph3d.o: ../../config.h
812 noof.o: ../../config.h
813 pinion.o: ../../config.h
814 pinion.o: $(srcdir)/gltrackball.h
815 pipeobjs.o: $(srcdir)/buildlwo.h
816 pipes.o: $(srcdir)/buildlwo.h
817 pipes.o: ../../config.h
818 polyhedra-gl.o: ../../config.h
819 polyhedra-gl.o: $(srcdir)/gltrackball.h
820 polyhedra-gl.o: $(srcdir)/polyhedra.h
821 polyhedra-gl.o: $(srcdir)/rotator.h
822 polyhedra.o: ../../config.h
823 polyhedra.o: $(srcdir)/polyhedra.h
824 polytopes.o: ../../config.h
825 providence.o: ../../config.h
826 providence.o: $(srcdir)/gltrackball.h
827 pulsar.o: ../../config.h
828 pulsar.o: $(srcdir)/xpm-ximage.h
829 queens.o: ../../config.h
830 queens.o: $(srcdir)/gltrackball.h
831 rotator.o: ../../config.h
832 rotator.o: $(srcdir)/rotator.h
833 rubik.o: ../../config.h
834 s1_1.o: $(srcdir)/gllist.h
835 s1_2.o: $(srcdir)/gllist.h
836 s1_3.o: $(srcdir)/gllist.h
837 s1_4.o: $(srcdir)/gllist.h
838 s1_5.o: $(srcdir)/gllist.h
839 s1_6.o: $(srcdir)/gllist.h
840 s1_b.o: $(srcdir)/gllist.h
841 sballs.o: ../../config.h
842 sballs.o: $(HACK_SRC)/images/sball-bg.xpm
843 sballs.o: $(HACK_SRC)/images/sball.xpm
844 sballs.o: $(srcdir)/xpm-ximage.h
845 shark.o: $(srcdir)/atlantis.h
846 sierpinski3d.o: ../../config.h
847 sierpinski3d.o: $(srcdir)/gltrackball.h
848 sierpinski3d.o: $(srcdir)/rotator.h
849 spheremonics.o: ../../config.h
850 spheremonics.o: $(srcdir)/gltrackball.h
851 spheremonics.o: $(srcdir)/rotator.h
852 sphere.o: ../../config.h
853 sproingies.o: ../../config.h
854 sproingies.o: $(srcdir)/gllist.h
855 sproingiewrap.o: ../../config.h
856 stairs.o: ../../config.h
857 stairs.o: $(srcdir)/e_textures.h
858 starwars.o: ../../config.h
859 starwars.o: $(srcdir)/glut_roman.h
860 starwars.o: $(srcdir)/glutstroke.h
861 stonerview-move.o: ../../config.h
862 stonerview-move.o: $(srcdir)/stonerview-move.h
863 stonerview-move.o: $(srcdir)/stonerview-osc.h
864 stonerview.o: ../../config.h
865 stonerview-osc.o: ../../config.h
866 stonerview-osc.o: $(srcdir)/stonerview-osc.h
867 stonerview.o: $(srcdir)/stonerview-move.h
868 stonerview-view.o: ../../config.h
869 stonerview-view.o: $(srcdir)/stonerview-move.h
870 stonerview-view.o: $(srcdir)/stonerview-osc.h
871 superquadrics.o: ../../config.h
872 swim.o: $(srcdir)/atlantis.h
873 swim.o: ../../config.h
874 toast2.o: $(srcdir)/gllist.h
875 toaster_base.o: $(srcdir)/gllist.h
876 toaster_handle2.o: $(srcdir)/gllist.h
877 toaster_handle.o: $(srcdir)/gllist.h
878 toaster_jet.o: $(srcdir)/gllist.h
879 toaster_knob.o: $(srcdir)/gllist.h
880 toaster.o: $(srcdir)/gllist.h
881 toaster_slots.o: $(srcdir)/gllist.h
882 toaster_wing.o: $(srcdir)/gllist.h
883 toast.o: $(srcdir)/gllist.h
884 trackball.o: ../../config.h
885 trackball.o: $(srcdir)/trackball.h
886 tube.o: ../../config.h
887 tube.o: $(srcdir)/tube.h
888 tunnel_draw.o: ../../config.h
889 tunnel_draw.o: $(srcdir)/tunnel_draw.h
890 whale.o: $(srcdir)/atlantis.h
891 xlock-gl.o: ../../config.h
892 xpm-ximage.o: ../../config.h
893 xscreensaver-gl-helper.o: ../../config.h