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
92 OBJS = xscreensaver-gl-helper.o \
93 atlantis.o b_draw.o b_lockglue.o b_sphere.o bubble3d.o \
94 buildlwo.o cage.o dolphin.o gears.o lament.o moebius.o \
95 morph3d.o pipeobjs.o pipes.o rubik.o s1_1.o s1_2.o s1_3.o \
96 s1_4.o s1_5.o s1_6.o s1_b.o shark.o sproingies.o \
97 sproingiewrap.o stairs.o superquadrics.o swim.o whale.o \
98 xlock-gl.o fps.o xpm-ximage.o glplanet.o pulsar.o \
99 extrusion.o extrusion-helix2.o extrusion-helix3.o \
100 extrusion-helix4.o extrusion-joinoffset.o extrusion-screw.o \
101 extrusion-taper.o extrusion-twistoid.o sierpinski3d.o \
102 gflux.o stonerview.o stonerview-move.o stonerview-osc.o \
103 stonerview-view.o starwars.o glut_stroke.o glut_swidth.o \
104 gltext.o molecule.o dangerball.o sphere.o tube.o circuit.o \
105 menger.o engine.o flipscreen3d.o font-ximage.o \
106 grab-ximage.o glsnake.o boxed.o glforestfire.o sballs.o \
107 cubenetic.o spheremonics.o marching.o lavalite.o rotator.o \
108 trackball.o gltrackball.o queens.o endgame.o chessmodels.o \
109 glblur.o gllist.o flurry.o flurry-smoke.o flurry-spark.o \
110 flurry-star.o flurry-texture.o atunnel.o tunnel_draw.o
112 GL_EXES = cage gears moebius pipes sproingies stairs superquadrics \
113 morph3d rubik atlantis lament bubble3d glplanet pulsar \
114 sierpinski3d gflux stonerview starwars gltext molecule \
115 dangerball circuit menger engine flipscreen3d glsnake boxed \
116 glforestfire sballs cubenetic spheremonics lavalite queens \
117 endgame glblur flurry atunnel
119 GL_UTIL_EXES = xscreensaver-gl-helper
120 HACK_EXES = @GL_EXES@ @GLE_EXES@
121 GRAB_OBJS = $(UTILS_BIN)/grabclient.o grab-ximage.o
122 EXES = @GL_UTIL_EXES@ $(HACK_EXES)
124 HACK_OBJS = screenhack-gl.o xlock-gl.o fps.o $(HACK_BIN)/xlockmore.o \
125 $(UTILS_BIN)/resources.o $(UTILS_BIN)/visual.o \
126 $(UTILS_BIN)/visual-gl.o $(UTILS_BIN)/usleep.o \
127 $(UTILS_BIN)/yarandom.o $(UTILS_BIN)/hsv.o \
128 $(UTILS_BIN)/colors.o
130 HDRS = atlantis.h bubble3d.h buildlwo.h e_textures.h xpm-ximage.h \
131 grab-ximage.h font-ximage.h tube.h sphere.h boxed.h \
132 stonerview-move.h stonerview-osc.h glutstroke.h \
133 glut_roman.h marching.h rotator.h trackball.h gltrackball.h \
134 chessmodels.h chessgames.h gllist.h flurry.h tunnel_draw.h
135 GL_MEN = atlantis.man boxed.man bubble3d.man cage.man circuit.man \
136 cubenetic.man dangerball.man engine.man extrusion.man \
137 flipscreen3d.man gears.man gflux.man glforestfire.man \
138 glplanet.man glsnake.man gltext.man lament.man lavalite.man \
139 menger.man moebius.man molecule.man morph3d.man pipes.man \
140 pulsar.man queens.man rubik.man sballs.man sierpinski3d.man \
141 spheremonics.man sproingies.man stairs.man starwars.man \
142 stonerview.man superquadrics.man xscreensaver-gl-helper.man \
143 endgame.man flurry.man glblur.man atunnel.man
145 EXTRAS = README Makefile.in
147 TARFILES = $(SRCS) $(HDRS) $(MEN) $(EXTRAS)
153 install: install-program install-man
154 uninstall: uninstall-program uninstall-man
157 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
159 # the hacks, in $HACKDIR
160 install-program:: $(EXES)
161 @exes="$(HACK_EXES)" ; \
162 idir="$(install_prefix)$(HACKDIR)" ; \
163 if [ "$$exes" != "" ]; then \
164 if [ ! -d $$idir ]; then \
165 $(INSTALL_DIRS) $$idir ; \
167 for program in $$exes; do \
168 echo $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
169 $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
173 # the xscreensaver-gl-helper program, in $bindir
174 install-program:: $(EXES)
175 @exes="@GL_UTIL_EXES@" ; \
176 idir="$(install_prefix)$(bindir)" ; \
177 if [ "$$exes" != "" ]; then \
178 if [ ! -d $$idir ]; then \
179 $(INSTALL_DIRS) $$idir ; \
181 for program in $$exes; do \
182 echo $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
183 $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
189 idir="$(install_prefix)$(manNdir)" ; \
190 if [ ! -d $$idir ]; then \
191 $(INSTALL_DIRS) $$idir ; \
193 for man in $$men; do \
194 instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
195 echo $(INSTALL_DATA) $(srcdir)/$$man $$idir/$$instname ; \
196 $(INSTALL_DATA) $(srcdir)/$$man $$idir/$$instname ; \
199 # the hacks, in $HACKDIR
201 @exes="$(HACK_EXES)" ; \
202 idir="$(install_prefix)$(HACKDIR)" ; \
203 for program in $$exes; do \
204 echo rm -f $$idir/$$program ; \
205 rm -f $$idir/$$program ; \
208 # the xscreensaver-gl-helper program, in $bindir
210 @exes="$(GL_UTIL_EXES)" ; \
211 idir="$(install_prefix)$(bindir)" ; \
212 for program in $$exes; do \
213 echo rm -f $$idir/$$program ; \
214 rm -f $$idir/$$program ; \
219 idir="$(install_prefix)$(manNdir)" ; \
220 for man in $$men; do \
221 instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
222 echo rm -f $$idir/$$instname ; \
223 rm -f $$idir/$$instname ; \
227 -rm -f *.o a.out core $(EXES) molecules.h
230 -rm -f Makefile TAGS *~ "#"*
232 # Adds all current dependencies to Makefile
234 $(DEPEND) -s '# DO NOT DELETE: updated by make depend' \
236 $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
239 # Adds some dependencies to Makefile.in -- not totally accurate, but pretty
240 # close. This excludes dependencies on files in /usr/include, etc. It tries
241 # to include only dependencies on files which are themselves a part of this
243 distdepend:: molecules.h
244 @echo updating dependencies in `pwd`/Makefile.in... ; \
245 $(DEPEND) -w 0 -f - \
246 -s '# DO NOT DELETE: updated by make distdepend' $(DEPEND_FLAGS) -- \
247 $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
248 $(SRCS) 2>/dev/null | \
251 awk '/^# .*Makefile.in ---/,/^# DO .*distdepend/' < Makefile.in ; \
253 -e 's@ \./@ @g;s@ /[^ ]*@@g;/^.*:$$/d' \
254 -e 's@\.\./\.\./utils@$$(UTILS_SRC)@g' \
255 -e 's@\.\./glx/@@g' \
256 -e 's@ \.\./@ $$(HACK_SRC)/@g' \
257 -e 's@ \([^$$]\)@ $$(srcdir)/\1@g' \
258 -e 's@ $$(srcdir)/\(.*config.h\)@ \1@g' \
259 -e 's@ $$(HACK_SRC)/\(.*config.h\)@ ../\1@g' \
260 -e 's@ $$(srcdir)/\(.*molecules.h\)@ \1@g' ; \
262 ) > /tmp/distdepend.$$$$ && \
263 mv Makefile.in Makefile.in.bak && \
264 mv /tmp/distdepend.$$$$ Makefile.in
269 find $(srcdir) -name '*.[chly]' -print | xargs etags -a
276 for exe in $(EXES); do \
277 if ! [ -f $(srcdir)/$$exe.man ]; then \
278 badmen="$$badmen $$exe" ; \
281 if [ -n "$$badmen" ]; then \
283 echo "Warning: The following programs have no manuals:" ; \
285 for m in $$badmen ; do \
292 for exe in $(EXES); do \
293 if ! [ -f $(srcdir)/../config/$$exe.xml -o \
294 "$$exe" = xscreensaver-gl-helper ]; then \
295 badxml="$$badxml $$exe" ; \
298 if [ -n "$$badxml" ]; then \
300 echo "Warning: The following programs have no configurators:" ; \
302 for m in $$badxml ; do \
308 distdepend:: check_men check_xml
313 # Rules for noticing when the objects from the utils directory are out of
314 # date with respect to their sources, and going and building them according
315 # to the rules in their own Makefile...
317 $(UTILS_BIN)/colors.o: $(UTILS_SRC)/colors.c
318 $(UTILS_BIN)/hsv.o: $(UTILS_SRC)/hsv.c
319 $(UTILS_BIN)/resources.o: $(UTILS_SRC)/resources.c
320 $(UTILS_BIN)/usleep.o: $(UTILS_SRC)/usleep.c
321 $(UTILS_BIN)/visual.o: $(UTILS_SRC)/visual.c
322 $(UTILS_BIN)/visual-gl.o: $(UTILS_SRC)/visual-gl.c
323 $(UTILS_BIN)/yarandom.o: $(UTILS_SRC)/yarandom.c
327 $(MAKE) $(@F) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
329 $(HACK_BIN)/xlockmore.o: $(HACK_SRC)/xlockmore.c
330 cd $(HACK_BIN) ; $(MAKE) $(@F) CC="$(CC)" CFLAGS="$(CFLAGS)"
333 # How we build object files in this directory.
335 $(CC) -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) $<
338 # How to build the "xscreensaver-gl-helper" program, that lets the daemon
339 # know which visual is the right one for GL programs.
341 HELPER_OBJS = xscreensaver-gl-helper.o $(UTILS_BIN)/visual-gl.o \
342 $(UTILS_BIN)/visual.o $(UTILS_BIN)/resources.o
343 xscreensaver-gl-helper: $(HELPER_OBJS)
344 $(CC) $(LDFLAGS) -o $@ $(HELPER_OBJS) $(LIBS) $(X_LIBS) $(HACK_POST2)
347 # These hacks use a slightly-differently-compiled variant of screenhack.c.
348 # This is how to make the the other .o file from it.
350 screenhack-gl.o: $(HACK_SRC)/screenhack.c
351 $(CC) -o $@ -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) \
352 -DXLOCKMORE -DUSE_GL $(HACK_SRC)/screenhack.c
354 CC_HACK = $(CC) $(LDFLAGS)
356 TRACK_OBJS=rotator.o trackball.o gltrackball.o
358 ATLANTIS_OBJS = $(HACK_OBJS) dolphin.o shark.o swim.o whale.o xpm-ximage.o
359 atlantis: atlantis.o $(ATLANTIS_OBJS)
360 $(CC_HACK) -o $@ $@.o $(ATLANTIS_OBJS) $(HACK_LIBS) $(XPM_LIBS)
362 ATUNNEL_OBJS = $(HACK_OBJS) tunnel_draw.o xpm-ximage.o
363 atunnel: atunnel.o $(ATUNNEL_OBJS)
364 $(CC_HACK) -o $@ $@.o $(ATUNNEL_OBJS) $(HACK_LIBS) $(XPM_LIBS)
366 cage: cage.o $(HACK_OBJS)
367 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
369 FLURRY_OBJS_1 = flurry-smoke.o flurry-spark.o flurry-star.o flurry-texture.o
370 FLURRY_OBJS = $(FLURRY_OBJS_1) $(HACK_OBJS)
372 flurry: flurry.o $(FLURRY_OBJS)
373 $(CC_HACK) -o $@ $@.o $(FLURRY_OBJS) $(HACK_LIBS) -lm
375 gears: gears.o $(HACK_OBJS) $(TRACK_OBJS)
376 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
378 moebius: moebius.o $(TRACK_OBJS) $(HACK_OBJS)
379 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
381 pipes: pipes.o $(HACK_OBJS) pipeobjs.o buildlwo.o
382 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) pipeobjs.o buildlwo.o \
385 superquadrics: superquadrics.o $(HACK_OBJS)
386 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
388 morph3d: morph3d.o $(HACK_OBJS)
389 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
391 rubik: rubik.o $(HACK_OBJS)
392 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
394 stairs: stairs.o $(HACK_OBJS)
395 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
397 SPROINGIES = sproingiewrap.o gllist.o \
398 s1_1.o s1_2.o s1_3.o s1_4.o s1_5.o s1_6.o s1_b.o
399 sproingies: sproingies.o $(HACK_OBJS) $(SPROINGIES)
400 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(SPROINGIES) $(HACK_LIBS)
402 lament: lament.o $(TRACK_OBJS) xpm-ximage.o $(HACK_OBJS)
403 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) xpm-ximage.o $(HACK_OBJS) $(XPM_LIBS)
405 B3D = b_sphere.o b_draw.o b_lockglue.o
406 bubble3d: bubble3d.o $(HACK_OBJS) $(B3D)
407 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(B3D) $(HACK_LIBS)
409 PLANETHACKS=sphere.o xpm-ximage.o $(TRACK_OBJS)
410 glplanet: glplanet.o $(PLANETHACKS) $(HACK_OBJS)
411 $(CC_HACK) -o $@ $@.o $(PLANETHACKS) $(HACK_OBJS) $(XPM_LIBS)
413 pulsar: pulsar.o $(HACK_OBJS) xpm-ximage.o
414 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(HACK_LIBS) $(XPM_LIBS)
416 EXTRUSION_OBJS=extrusion.o extrusion-helix2.o extrusion-helix3.o \
417 extrusion-helix4.o extrusion-joinoffset.o extrusion-screw.o \
418 extrusion-taper.o extrusion-twistoid.o xpm-ximage.o $(TRACK_OBJS)
419 extrusion: $(EXTRUSION_OBJS) $(HACK_OBJS)
420 $(CC_HACK) -o $@ $(EXTRUSION_OBJS) $(HACK_OBJS) $(XPM_LIBS) $(GLE_LIBS)
422 sierpinski3d: sierpinski3d.o $(HACK_OBJS) $(TRACK_OBJS)
423 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
425 gflux: gflux.o $(HACK_OBJS) $(GRAB_OBJS)
426 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB_OBJS) $(HACK_LIBS)
428 SW_OBJS=starwars.o glut_stroke.o glut_swidth.o
429 starwars: $(SW_OBJS) $(HACK_OBJS)
430 $(CC_HACK) -o $@ $(SW_OBJS) $(HACK_OBJS) $(HACK_LIBS)
432 GLT_OBJS=gltext.o glut_stroke.o glut_swidth.o tube.o $(TRACK_OBJS)
433 gltext: $(GLT_OBJS) $(HACK_OBJS)
434 $(CC_HACK) -o $@ $(GLT_OBJS) $(HACK_OBJS) $(HACK_LIBS)
436 DB_OBJS=sphere.o tube.o $(TRACK_OBJS)
437 dangerball: dangerball.o $(DB_OBJS) $(HACK_OBJS)
438 $(CC_HACK) -o $@ $@.o $(DB_OBJS) $(HACK_OBJS) $(HACK_LIBS)
440 circuit: circuit.o $(HACK_OBJS) font-ximage.o
441 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) font-ximage.o $(HACK_LIBS)
443 menger: menger.o $(HACK_OBJS) $(TRACK_OBJS)
444 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
446 engine: engine.o $(HACK_OBJS) $(TRACK_OBJS)
447 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
449 flipscreen3d: flipscreen3d.o $(HACK_OBJS) $(GRAB_OBJS)
450 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB_OBJS) $(HACK_LIBS)
452 glsnake: glsnake.o $(HACK_OBJS)
453 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
455 boxed: boxed.o $(HACK_OBJS)
456 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
458 glforestfire: glforestfire.o $(HACK_OBJS) xpm-ximage.o
459 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
461 sballs: sballs.o $(HACK_OBJS) xpm-ximage.o
462 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
464 cubenetic: cubenetic.o $(HACK_OBJS) $(TRACK_OBJS)
465 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
467 spheremonics: spheremonics.o $(HACK_OBJS) $(TRACK_OBJS)
468 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
470 LLOBJS=marching.o xpm-ximage.o $(TRACK_OBJS) $(HACK_OBJS)
471 lavalite: lavalite.o $(LLOBJS)
472 $(CC_HACK) -o $@ $@.o $(LLOBJS) $(XPM_LIBS)
474 queens: queens.o $(TRACK_OBJS) $(HACK_OBJS)
475 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
477 CHESSOBJS=chessmodels.o $(TRACK_OBJS) $(HACK_OBJS)
478 endgame: endgame.o $(CHESSOBJS)
479 $(CC_HACK) -o $@ $@.o $(CHESSOBJS) $(HACK_LIBS)
481 glblur: glblur.o $(HACK_OBJS) $(TRACK_OBJS)
482 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
485 # This one works differently (it's not xlock-like.)
487 STONER_OBJS=stonerview.o stonerview-move.o stonerview-osc.o stonerview-view.o \
488 $(UTILS_BIN)/yarandom.o
489 stonerview: $(STONER_OBJS)
490 $(CC_HACK) -o $@ $(STONER_OBJS) $(HACK_LIBS)
493 @tmp=molecules.h.$$$$ ; \
495 echo "building molecules.h from $(HACK_SRC)/images/molecules/*.pdb" ; \
496 for f in $(HACK_SRC)/images/molecules/*.pdb ; do \
497 $(SHELL) $(UTILS_SRC)/ad2c "$$f" | \
498 sed 's/",$$/\\n"/' >> $$tmp ; \
499 echo ',' >> $$tmp ; \
503 MOLECULEOBJS=sphere.o tube.o $(TRACK_OBJS)
504 molecule: molecule.o $(MOLECULEOBJS) $(HACK_OBJS)
505 $(CC_HACK) -o $@ $@.o $(MOLECULEOBJS) $(HACK_OBJS) $(HACK_LIBS)
507 dnalogo: dnalogo.o tube.o $(HACK_OBJS)
508 $(CC_HACK) -o $@ $@.o tube.o $(HACK_OBJS) $(HACK_LIBS)
510 ##############################################################################
512 # DO NOT DELETE: updated by make distdepend
514 atlantis.o: $(srcdir)/atlantis.h
515 atlantis.o: ../../config.h
516 atlantis.o: $(HACK_SRC)/images/sea-texture.xpm
517 atlantis.o: $(srcdir)/xpm-ximage.h
518 atunnel.o: ../../config.h
519 atunnel.o: $(HACK_SRC)/images/tunnel0.xpm
520 atunnel.o: $(HACK_SRC)/images/tunnel1.xpm
521 atunnel.o: $(HACK_SRC)/images/tunnel2.xpm
522 atunnel.o: $(srcdir)/tunnel_draw.h
523 atunnel.o: $(srcdir)/xpm-ximage.h
524 b_draw.o: $(srcdir)/bubble3d.h
525 b_draw.o: ../../config.h
526 b_lockglue.o: $(srcdir)/bubble3d.h
527 b_lockglue.o: ../../config.h
528 boxed.o: $(srcdir)/boxed.h
529 boxed.o: ../../config.h
530 b_sphere.o: $(srcdir)/bubble3d.h
531 b_sphere.o: ../../config.h
532 bubble3d.o: $(srcdir)/bubble3d.h
533 bubble3d.o: ../../config.h
534 buildlwo.o: $(srcdir)/buildlwo.h
535 cage.o: ../../config.h
536 cage.o: $(srcdir)/e_textures.h
537 chessmodels.o: $(srcdir)/chessmodels.h
538 circuit.o: ../../config.h
539 circuit.o: $(srcdir)/font-ximage.h
540 cubenetic.o: ../../config.h
541 cubenetic.o: $(srcdir)/gltrackball.h
542 cubenetic.o: $(srcdir)/rotator.h
543 dangerball.o: ../../config.h
544 dangerball.o: $(srcdir)/gltrackball.h
545 dangerball.o: $(srcdir)/rotator.h
546 dangerball.o: $(srcdir)/sphere.h
547 dangerball.o: $(srcdir)/tube.h
548 dolphin.o: $(srcdir)/atlantis.h
549 endgame.o: $(srcdir)/chessgames.h
550 endgame.o: $(srcdir)/chessmodels.h
551 endgame.o: ../../config.h
552 endgame.o: $(srcdir)/gltrackball.h
553 engine.o: ../../config.h
554 engine.o: $(srcdir)/gltrackball.h
555 engine.o: $(srcdir)/rotator.h
556 extrusion-helix2.o: ../../config.h
557 extrusion-helix3.o: ../../config.h
558 extrusion-helix4.o: ../../config.h
559 extrusion-joinoffset.o: ../../config.h
560 extrusion.o: ../../config.h
561 extrusion.o: $(srcdir)/rotator.h
562 extrusion.o: $(srcdir)/xpm-ximage.h
563 extrusion-screw.o: ../../config.h
564 extrusion-taper.o: ../../config.h
565 extrusion-twistoid.o: ../../config.h
566 flipscreen3d.o: ../../config.h
567 flipscreen3d.o: $(srcdir)/grab-ximage.h
568 flurry.o: ../../config.h
569 flurry.o: $(srcdir)/flurry.h
570 flurry.o: $(srcdir)/gltrackball.h
571 flurry.o: $(srcdir)/rotator.h
572 flurry-smoke.o: $(srcdir)/flurry.h
573 flurry-smoke.o: $(srcdir)/gltrackball.h
574 flurry-smoke.o: $(srcdir)/rotator.h
575 flurry-spark.o: $(srcdir)/flurry.h
576 flurry-spark.o: $(srcdir)/gltrackball.h
577 flurry-spark.o: $(srcdir)/rotator.h
578 flurry-star.o: $(srcdir)/flurry.h
579 flurry-star.o: $(srcdir)/gltrackball.h
580 flurry-star.o: $(srcdir)/rotator.h
581 flurry-texture.o: $(srcdir)/flurry.h
582 flurry-texture.o: $(srcdir)/gltrackball.h
583 flurry-texture.o: $(srcdir)/rotator.h
584 font-ximage.o: ../../config.h
585 fps.o: ../../config.h
586 gears.o: ../../config.h
587 gears.o: $(srcdir)/gltrackball.h
588 gears.o: $(srcdir)/rotator.h
589 gflux.o: ../../config.h
590 gflux.o: $(srcdir)/grab-ximage.h
591 glblur.o: ../../config.h
592 glblur.o: $(srcdir)/gltrackball.h
593 glblur.o: $(srcdir)/rotator.h
594 glforestfire.o: ../../config.h
595 glforestfire.o: $(HACK_SRC)/images/ground.xpm
596 glforestfire.o: $(HACK_SRC)/images/tree.xpm
597 glforestfire.o: $(srcdir)/xpm-ximage.h
598 gllist.o: $(srcdir)/gllist.h
599 glplanet.o: ../../config.h
600 glplanet.o: $(srcdir)/gltrackball.h
601 glplanet.o: $(HACK_SRC)/images/earth.xpm
602 glplanet.o: $(srcdir)/rotator.h
603 glplanet.o: $(srcdir)/sphere.h
604 glplanet.o: $(srcdir)/xpm-ximage.h
605 glsnake.o: ../../config.h
606 gltext.o: ../../config.h
607 gltext.o: $(srcdir)/gltrackball.h
608 gltext.o: $(srcdir)/glut_roman.h
609 gltext.o: $(srcdir)/glutstroke.h
610 gltext.o: $(srcdir)/rotator.h
611 gltext.o: $(srcdir)/tube.h
612 gltrackball.o: ../../config.h
613 gltrackball.o: $(srcdir)/gltrackball.h
614 gltrackball.o: $(srcdir)/trackball.h
615 glut_stroke.o: ../../config.h
616 glut_stroke.o: $(srcdir)/glutstroke.h
617 glut_swidth.o: ../../config.h
618 glut_swidth.o: $(srcdir)/glutstroke.h
619 grab-ximage.o: ../../config.h
620 lament.o: ../../config.h
621 lament.o: $(srcdir)/gltrackball.h
622 lament.o: $(HACK_SRC)/images/lament.xpm
623 lament.o: $(srcdir)/rotator.h
624 lament.o: $(srcdir)/xpm-ximage.h
625 lavalite.o: ../../config.h
626 lavalite.o: $(srcdir)/gltrackball.h
627 lavalite.o: $(srcdir)/marching.h
628 lavalite.o: $(srcdir)/rotator.h
629 lavalite.o: $(srcdir)/xpm-ximage.h
630 marching.o: ../../config.h
631 marching.o: $(srcdir)/marching.h
632 menger.o: ../../config.h
633 menger.o: $(srcdir)/gltrackball.h
634 menger.o: $(srcdir)/rotator.h
635 moebius.o: ../../config.h
636 moebius.o: $(srcdir)/e_textures.h
637 moebius.o: $(srcdir)/gltrackball.h
638 moebius.o: $(srcdir)/rotator.h
639 molecule.o: ../../config.h
640 molecule.o: $(srcdir)/gltrackball.h
641 molecule.o: molecules.h
642 molecule.o: $(srcdir)/rotator.h
643 molecule.o: $(srcdir)/sphere.h
644 molecule.o: $(srcdir)/tube.h
645 morph3d.o: ../../config.h
646 pipeobjs.o: $(srcdir)/buildlwo.h
647 pipes.o: $(srcdir)/buildlwo.h
648 pipes.o: ../../config.h
649 pulsar.o: ../../config.h
650 pulsar.o: $(srcdir)/xpm-ximage.h
651 queens.o: ../../config.h
652 queens.o: $(srcdir)/gltrackball.h
653 rotator.o: ../../config.h
654 rotator.o: $(srcdir)/rotator.h
655 rubik.o: ../../config.h
656 s1_1.o: $(srcdir)/gllist.h
657 s1_2.o: $(srcdir)/gllist.h
658 s1_3.o: $(srcdir)/gllist.h
659 s1_4.o: $(srcdir)/gllist.h
660 s1_5.o: $(srcdir)/gllist.h
661 s1_6.o: $(srcdir)/gllist.h
662 s1_b.o: $(srcdir)/gllist.h
663 sballs.o: ../../config.h
664 sballs.o: $(HACK_SRC)/images/sball-bg.xpm
665 sballs.o: $(HACK_SRC)/images/sball.xpm
666 sballs.o: $(srcdir)/xpm-ximage.h
667 shark.o: $(srcdir)/atlantis.h
668 sierpinski3d.o: ../../config.h
669 sierpinski3d.o: $(srcdir)/gltrackball.h
670 sierpinski3d.o: $(srcdir)/rotator.h
671 spheremonics.o: ../../config.h
672 spheremonics.o: $(srcdir)/gltrackball.h
673 spheremonics.o: $(srcdir)/rotator.h
674 sphere.o: ../../config.h
675 sproingies.o: ../../config.h
676 sproingies.o: $(srcdir)/gllist.h
677 sproingiewrap.o: ../../config.h
678 stairs.o: ../../config.h
679 stairs.o: $(srcdir)/e_textures.h
680 starwars.o: ../../config.h
681 starwars.o: $(srcdir)/glut_roman.h
682 starwars.o: $(srcdir)/glutstroke.h
683 stonerview-move.o: ../../config.h
684 stonerview-move.o: $(srcdir)/stonerview-move.h
685 stonerview-move.o: $(srcdir)/stonerview-osc.h
686 stonerview.o: ../../config.h
687 stonerview.o: $(srcdir)/stonerview-move.h
688 stonerview-osc.o: ../../config.h
689 stonerview-osc.o: $(srcdir)/stonerview-osc.h
690 stonerview-view.o: ../../config.h
691 stonerview-view.o: $(srcdir)/stonerview-move.h
692 stonerview-view.o: $(srcdir)/stonerview-osc.h
693 superquadrics.o: ../../config.h
694 swim.o: $(srcdir)/atlantis.h
695 swim.o: ../../config.h
696 trackball.o: ../../config.h
697 trackball.o: $(srcdir)/trackball.h
698 tube.o: ../../config.h
699 tube.o: $(srcdir)/tube.h
700 tunnel_draw.o: ../../config.h
701 tunnel_draw.o: $(srcdir)/tunnel_draw.h
702 whale.o: $(srcdir)/atlantis.h
703 xlock-gl.o: ../../config.h
704 xpm-ximage.o: ../../config.h
705 xscreensaver-gl-helper.o: ../../config.h