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
97 OBJS = xscreensaver-gl-helper.o \
98 atlantis.o b_draw.o b_lockglue.o b_sphere.o bubble3d.o \
99 buildlwo.o cage.o dolphin.o gears.o lament.o moebius.o \
100 morph3d.o pipeobjs.o pipes.o rubik.o s1_1.o s1_2.o s1_3.o \
101 s1_4.o s1_5.o s1_6.o s1_b.o shark.o sproingies.o \
102 sproingiewrap.o stairs.o superquadrics.o swim.o whale.o \
103 xlock-gl.o fps.o xpm-ximage.o glplanet.o pulsar.o \
104 extrusion.o extrusion-helix2.o extrusion-helix3.o \
105 extrusion-helix4.o extrusion-joinoffset.o extrusion-screw.o \
106 extrusion-taper.o extrusion-twistoid.o sierpinski3d.o \
107 gflux.o stonerview.o stonerview-move.o stonerview-osc.o \
108 stonerview-view.o starwars.o glut_stroke.o glut_swidth.o \
109 gltext.o molecule.o dangerball.o sphere.o tube.o circuit.o \
110 menger.o engine.o flipscreen3d.o font-ximage.o \
111 grab-ximage.o glsnake.o boxed.o glforestfire.o sballs.o \
112 cubenetic.o spheremonics.o marching.o lavalite.o rotator.o \
113 trackball.o gltrackball.o queens.o endgame.o chessmodels.o \
114 glblur.o gllist.o flurry.o flurry-smoke.o flurry-spark.o \
115 flurry-star.o flurry-texture.o atunnel.o tunnel_draw.o \
116 flyingtoasters.o toaster.o toaster_base.o toaster_handle.o \
117 toaster_handle2.o toaster_jet.o toaster_knob.o \
118 toaster_slots.o toaster_wing.o toast.o toast2.o \
119 bouncingcow.o cow_face.o cow_hide.o cow_hoofs.o cow_horns.o \
120 cow_tail.o cow_udder.o glslideshow.o jigglypuff.o
122 GL_EXES = cage gears moebius pipes sproingies stairs superquadrics \
123 morph3d rubik atlantis lament bubble3d glplanet pulsar \
124 sierpinski3d gflux stonerview starwars gltext molecule \
125 dangerball circuit menger engine flipscreen3d glsnake boxed \
126 glforestfire sballs cubenetic spheremonics lavalite queens \
127 endgame glblur flurry atunnel flyingtoasters bouncingcow \
128 glslideshow jigglypuff
130 GL_UTIL_EXES = xscreensaver-gl-helper
131 HACK_EXES = @GL_EXES@ @GLE_EXES@
132 GRAB_OBJS = $(UTILS_BIN)/grabclient.o grab-ximage.o
133 EXES = @GL_UTIL_EXES@ $(HACK_EXES)
135 HACK_OBJS = screenhack-gl.o xlock-gl.o fps.o $(HACK_BIN)/xlockmore.o \
136 $(UTILS_BIN)/resources.o $(UTILS_BIN)/visual.o \
137 $(UTILS_BIN)/visual-gl.o $(UTILS_BIN)/usleep.o \
138 $(UTILS_BIN)/yarandom.o $(UTILS_BIN)/hsv.o \
139 $(UTILS_BIN)/colors.o
141 HDRS = atlantis.h bubble3d.h buildlwo.h e_textures.h xpm-ximage.h \
142 grab-ximage.h font-ximage.h tube.h sphere.h boxed.h \
143 stonerview-move.h stonerview-osc.h glutstroke.h \
144 glut_roman.h marching.h rotator.h trackball.h gltrackball.h \
145 chessmodels.h chessgames.h gllist.h flurry.h tunnel_draw.h
146 GL_MEN = atlantis.man boxed.man bubble3d.man cage.man circuit.man \
147 cubenetic.man dangerball.man engine.man extrusion.man \
148 flipscreen3d.man gears.man gflux.man glforestfire.man \
149 glplanet.man glsnake.man gltext.man lament.man lavalite.man \
150 menger.man moebius.man molecule.man morph3d.man pipes.man \
151 pulsar.man queens.man rubik.man sballs.man sierpinski3d.man \
152 spheremonics.man sproingies.man stairs.man starwars.man \
153 stonerview.man superquadrics.man xscreensaver-gl-helper.man \
154 endgame.man flurry.man glblur.man atunnel.man \
155 flyingtoasters.man bouncingcow.man glslideshow.man
157 EXTRAS = README Makefile.in dxf2gl.pl
159 TARFILES = $(SRCS) $(HDRS) $(MEN) $(EXTRAS)
165 install: install-program install-man
166 uninstall: uninstall-program uninstall-man
169 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
171 # the hacks, in $HACKDIR
172 install-program:: $(EXES)
173 @exes="$(HACK_EXES)" ; \
174 idir="$(install_prefix)$(HACKDIR)" ; \
175 if [ "$$exes" != "" ]; then \
176 if [ ! -d $$idir ]; then \
177 $(INSTALL_DIRS) $$idir ; \
179 for program in $$exes; do \
180 echo $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
181 $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
185 # the xscreensaver-gl-helper program, in $bindir
186 install-program:: $(EXES)
187 @exes="@GL_UTIL_EXES@" ; \
188 idir="$(install_prefix)$(bindir)" ; \
189 if [ "$$exes" != "" ]; then \
190 if [ ! -d $$idir ]; then \
191 $(INSTALL_DIRS) $$idir ; \
193 for program in $$exes; do \
194 echo $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
195 $(INSTALL_PROGRAM) $$program $$idir/$$program ; \
201 idir="$(install_prefix)$(manNdir)" ; \
202 if [ ! -d $$idir ]; then \
203 $(INSTALL_DIRS) $$idir ; \
205 for man in $$men; do \
206 instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
207 echo $(INSTALL_DATA) $(srcdir)/$$man $$idir/$$instname ; \
208 $(INSTALL_DATA) $(srcdir)/$$man $$idir/$$instname ; \
211 # the hacks, in $HACKDIR
213 @exes="$(HACK_EXES)" ; \
214 idir="$(install_prefix)$(HACKDIR)" ; \
215 for program in $$exes; do \
216 echo rm -f $$idir/$$program ; \
217 rm -f $$idir/$$program ; \
220 # the xscreensaver-gl-helper program, in $bindir
222 @exes="$(GL_UTIL_EXES)" ; \
223 idir="$(install_prefix)$(bindir)" ; \
224 for program in $$exes; do \
225 echo rm -f $$idir/$$program ; \
226 rm -f $$idir/$$program ; \
231 idir="$(install_prefix)$(manNdir)" ; \
232 for man in $$men; do \
233 instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
234 echo rm -f $$idir/$$instname ; \
235 rm -f $$idir/$$instname ; \
239 -rm -f *.o a.out core $(EXES) molecules.h
242 -rm -f Makefile TAGS *~ "#"*
244 # Adds all current dependencies to Makefile
246 $(DEPEND) -s '# DO NOT DELETE: updated by make depend' \
248 $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
251 # Adds some dependencies to Makefile.in -- not totally accurate, but pretty
252 # close. This excludes dependencies on files in /usr/include, etc. It tries
253 # to include only dependencies on files which are themselves a part of this
255 distdepend:: molecules.h
256 @echo updating dependencies in `pwd`/Makefile.in... ; \
257 $(DEPEND) -w 0 -f - \
258 -s '# DO NOT DELETE: updated by make distdepend' $(DEPEND_FLAGS) -- \
259 $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
260 $(SRCS) 2>/dev/null | \
263 awk '/^# .*Makefile.in ---/,/^# DO .*distdepend/' < Makefile.in ; \
265 -e 's@ \./@ @g;s@ /[^ ]*@@g;/^.*:$$/d' \
266 -e 's@\.\./\.\./utils@$$(UTILS_SRC)@g' \
267 -e 's@\.\./glx/@@g' \
268 -e 's@ \.\./@ $$(HACK_SRC)/@g' \
269 -e 's@ \([^$$]\)@ $$(srcdir)/\1@g' \
270 -e 's@ $$(srcdir)/\(.*config.h\)@ \1@g' \
271 -e 's@ $$(HACK_SRC)/\(.*config.h\)@ ../\1@g' \
272 -e 's@ $$(srcdir)/\(.*molecules.h\)@ \1@g' ; \
274 ) > /tmp/distdepend.$$$$ && \
275 mv Makefile.in Makefile.in.bak && \
276 mv /tmp/distdepend.$$$$ Makefile.in
281 find $(srcdir) -name '*.[chly]' -print | xargs etags -a
288 for exe in $(EXES); do \
289 if ! [ -f $(srcdir)/$$exe.man ]; then \
290 badmen="$$badmen $$exe" ; \
293 if [ -n "$$badmen" ]; then \
295 echo "Warning: The following programs have no manuals:" ; \
297 for m in $$badmen ; do \
304 for exe in $(EXES); do \
305 if ! [ -f $(srcdir)/../config/$$exe.xml -o \
306 "$$exe" = xscreensaver-gl-helper ]; then \
307 badxml="$$badxml $$exe" ; \
310 if [ -n "$$badxml" ]; then \
312 echo "Warning: The following programs have no configurators:" ; \
314 for m in $$badxml ; do \
320 distdepend:: check_men check_xml
325 # Rules for noticing when the objects from the utils directory are out of
326 # date with respect to their sources, and going and building them according
327 # to the rules in their own Makefile...
329 $(UTILS_BIN)/colors.o: $(UTILS_SRC)/colors.c
330 $(UTILS_BIN)/hsv.o: $(UTILS_SRC)/hsv.c
331 $(UTILS_BIN)/resources.o: $(UTILS_SRC)/resources.c
332 $(UTILS_BIN)/usleep.o: $(UTILS_SRC)/usleep.c
333 $(UTILS_BIN)/visual.o: $(UTILS_SRC)/visual.c
334 $(UTILS_BIN)/visual-gl.o: $(UTILS_SRC)/visual-gl.c
335 $(UTILS_BIN)/yarandom.o: $(UTILS_SRC)/yarandom.c
339 $(MAKE) $(@F) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
341 $(HACK_BIN)/xlockmore.o: $(HACK_SRC)/xlockmore.c
342 cd $(HACK_BIN) ; $(MAKE) $(@F) CC="$(CC)" CFLAGS="$(CFLAGS)"
345 # How we build object files in this directory.
347 $(CC) -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) $<
350 # How to build the "xscreensaver-gl-helper" program, that lets the daemon
351 # know which visual is the right one for GL programs.
353 HELPER_OBJS = xscreensaver-gl-helper.o $(UTILS_BIN)/visual-gl.o \
354 $(UTILS_BIN)/visual.o $(UTILS_BIN)/resources.o
355 xscreensaver-gl-helper: $(HELPER_OBJS)
356 $(CC) $(LDFLAGS) -o $@ $(HELPER_OBJS) $(LIBS) $(X_LIBS) $(HACK_POST2)
359 # These hacks use a slightly-differently-compiled variant of screenhack.c.
360 # This is how to make the the other .o file from it.
362 screenhack-gl.o: $(HACK_SRC)/screenhack.c
363 $(CC) -o $@ -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) \
364 -DXLOCKMORE -DUSE_GL $(HACK_SRC)/screenhack.c
366 CC_HACK = $(CC) $(LDFLAGS)
368 TRACK_OBJS=rotator.o trackball.o gltrackball.o
370 ATLANTIS_OBJS = $(HACK_OBJS) dolphin.o shark.o swim.o whale.o xpm-ximage.o
371 atlantis: atlantis.o $(ATLANTIS_OBJS)
372 $(CC_HACK) -o $@ $@.o $(ATLANTIS_OBJS) $(HACK_LIBS) $(XPM_LIBS)
374 ATUNNEL_OBJS = $(HACK_OBJS) tunnel_draw.o xpm-ximage.o
375 atunnel: atunnel.o $(ATUNNEL_OBJS)
376 $(CC_HACK) -o $@ $@.o $(ATUNNEL_OBJS) $(HACK_LIBS) $(XPM_LIBS)
378 cage: cage.o $(HACK_OBJS)
379 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
381 FLURRY_OBJS_1 = flurry-smoke.o flurry-spark.o flurry-star.o flurry-texture.o
382 FLURRY_OBJS = $(FLURRY_OBJS_1) $(HACK_OBJS)
384 flurry: flurry.o $(FLURRY_OBJS)
385 $(CC_HACK) -o $@ $@.o $(FLURRY_OBJS) $(HACK_LIBS) -lm
387 gears: gears.o $(HACK_OBJS) $(TRACK_OBJS)
388 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
390 moebius: moebius.o $(TRACK_OBJS) $(HACK_OBJS)
391 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
393 pipes: pipes.o $(HACK_OBJS) pipeobjs.o buildlwo.o
394 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) pipeobjs.o buildlwo.o \
397 superquadrics: superquadrics.o $(HACK_OBJS)
398 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
400 morph3d: morph3d.o $(HACK_OBJS)
401 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
403 rubik: rubik.o $(HACK_OBJS)
404 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
406 stairs: stairs.o $(HACK_OBJS)
407 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
409 SPROINGIES = sproingiewrap.o gllist.o \
410 s1_1.o s1_2.o s1_3.o s1_4.o s1_5.o s1_6.o s1_b.o
411 sproingies: sproingies.o $(HACK_OBJS) $(SPROINGIES)
412 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(SPROINGIES) $(HACK_LIBS)
414 lament: lament.o $(TRACK_OBJS) xpm-ximage.o $(HACK_OBJS)
415 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) xpm-ximage.o $(HACK_OBJS) $(XPM_LIBS)
417 B3D = b_sphere.o b_draw.o b_lockglue.o
418 bubble3d: bubble3d.o $(HACK_OBJS) $(B3D)
419 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(B3D) $(HACK_LIBS)
421 PLANETHACKS=sphere.o xpm-ximage.o $(TRACK_OBJS)
422 glplanet: glplanet.o $(PLANETHACKS) $(HACK_OBJS)
423 $(CC_HACK) -o $@ $@.o $(PLANETHACKS) $(HACK_OBJS) $(XPM_LIBS)
425 pulsar: pulsar.o $(HACK_OBJS) xpm-ximage.o
426 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(HACK_LIBS) $(XPM_LIBS)
428 EXTRUSION_OBJS=extrusion.o extrusion-helix2.o extrusion-helix3.o \
429 extrusion-helix4.o extrusion-joinoffset.o extrusion-screw.o \
430 extrusion-taper.o extrusion-twistoid.o xpm-ximage.o $(TRACK_OBJS)
431 extrusion: $(EXTRUSION_OBJS) $(HACK_OBJS)
432 $(CC_HACK) -o $@ $(EXTRUSION_OBJS) $(HACK_OBJS) $(XPM_LIBS) $(GLE_LIBS)
434 sierpinski3d: sierpinski3d.o $(HACK_OBJS) $(TRACK_OBJS)
435 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
437 gflux: gflux.o $(HACK_OBJS) $(TRACK_OBJS) $(GRAB_OBJS)
438 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(GRAB_OBJS) $(HACK_LIBS)
440 SW_OBJS=starwars.o glut_stroke.o glut_swidth.o
441 starwars: $(SW_OBJS) $(HACK_OBJS)
442 $(CC_HACK) -o $@ $(SW_OBJS) $(HACK_OBJS) $(HACK_LIBS)
444 GLT_OBJS=gltext.o glut_stroke.o glut_swidth.o tube.o $(TRACK_OBJS)
445 gltext: $(GLT_OBJS) $(HACK_OBJS)
446 $(CC_HACK) -o $@ $(GLT_OBJS) $(HACK_OBJS) $(HACK_LIBS)
448 DB_OBJS=sphere.o tube.o $(TRACK_OBJS)
449 dangerball: dangerball.o $(DB_OBJS) $(HACK_OBJS)
450 $(CC_HACK) -o $@ $@.o $(DB_OBJS) $(HACK_OBJS) $(HACK_LIBS)
452 circuit: circuit.o $(HACK_OBJS) font-ximage.o
453 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) font-ximage.o $(HACK_LIBS)
455 menger: menger.o $(HACK_OBJS) $(TRACK_OBJS)
456 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
458 engine: engine.o $(HACK_OBJS) $(TRACK_OBJS)
459 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
461 flipscreen3d: flipscreen3d.o $(HACK_OBJS) $(GRAB_OBJS) $(TRACK_OBJS)
462 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
464 glsnake: glsnake.o $(HACK_OBJS)
465 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
467 boxed: boxed.o $(HACK_OBJS)
468 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
470 glforestfire: glforestfire.o $(HACK_OBJS) xpm-ximage.o
471 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
473 sballs: sballs.o $(HACK_OBJS) xpm-ximage.o
474 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
476 cubenetic: cubenetic.o $(HACK_OBJS) $(TRACK_OBJS)
477 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
479 spheremonics: spheremonics.o $(HACK_OBJS) $(TRACK_OBJS)
480 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
482 LLOBJS=marching.o xpm-ximage.o $(TRACK_OBJS) $(HACK_OBJS)
483 lavalite: lavalite.o $(LLOBJS)
484 $(CC_HACK) -o $@ $@.o $(LLOBJS) $(XPM_LIBS)
486 queens: queens.o $(TRACK_OBJS) $(HACK_OBJS)
487 $(CC_HACK) -o $@ $@.o $(TRACK_OBJS) $(HACK_OBJS) $(HACK_LIBS)
489 CHESSOBJS=chessmodels.o $(TRACK_OBJS) $(HACK_OBJS)
490 endgame: endgame.o $(CHESSOBJS)
491 $(CC_HACK) -o $@ $@.o $(CHESSOBJS) $(HACK_LIBS)
493 glblur: glblur.o $(HACK_OBJS) $(TRACK_OBJS)
494 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
497 toaster.o toaster_base.o toaster_handle.o toaster_handle2.o \
498 toaster_jet.o toaster_knob.o toaster_slots.o toaster_wing.o \
500 TOASTOBJS=flyingtoasters.o gllist.o $(TOASTOBJS1) xpm-ximage.o
501 flyingtoasters: $(TOASTOBJS) $(TRACK_OBJS) $(HACK_OBJS)
502 $(CC_HACK) -o $@ $(TOASTOBJS) $(TRACK_OBJS) $(HACK_OBJS) $(XPM_LIBS)
505 cow_face.o cow_hide.o cow_hoofs.o cow_horns.o cow_tail.o cow_udder.o
506 COWOBJS=bouncingcow.o gllist.o $(COWOBJS1) xpm-ximage.o
507 bouncingcow: $(COWOBJS) $(TRACK_OBJS) $(HACK_OBJS)
508 $(CC_HACK) -o $@ $(COWOBJS) $(TRACK_OBJS) $(HACK_OBJS) $(XPM_LIBS)
510 glslideshow: glslideshow.o $(HACK_OBJS) $(GRAB_OBJS)
511 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB_OBJS) $(HACK_LIBS)
513 jigglypuff: jigglypuff.o $(HACK_OBJS) $(TRACK_OBJS)
514 $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(TRACK_OBJS) $(HACK_LIBS)
517 # This one works differently (it's not xlock-like.)
519 STONER_OBJS=stonerview.o stonerview-move.o stonerview-osc.o stonerview-view.o \
520 $(UTILS_BIN)/yarandom.o
521 stonerview: $(STONER_OBJS)
522 $(CC_HACK) -o $@ $(STONER_OBJS) $(HACK_LIBS)
525 @tmp=molecules.h.$$$$ ; \
527 echo "building molecules.h from $(HACK_SRC)/images/molecules/*.pdb" ; \
528 for f in $(HACK_SRC)/images/molecules/*.pdb ; do \
529 $(SHELL) $(UTILS_SRC)/ad2c "$$f" | \
530 sed 's/",$$/\\n"/' >> $$tmp ; \
531 echo ',' >> $$tmp ; \
535 MOLECULEOBJS=sphere.o tube.o $(TRACK_OBJS)
536 molecule: molecule.o $(MOLECULEOBJS) $(HACK_OBJS)
537 $(CC_HACK) -o $@ $@.o $(MOLECULEOBJS) $(HACK_OBJS) $(HACK_LIBS)
539 dnalogo: dnalogo.o tube.o $(HACK_OBJS)
540 $(CC_HACK) -o $@ $@.o tube.o $(HACK_OBJS) $(HACK_LIBS)
542 ##############################################################################
544 # DO NOT DELETE: updated by make distdepend
546 atlantis.o: $(srcdir)/atlantis.h
547 atlantis.o: ../../config.h
548 atlantis.o: $(HACK_SRC)/images/sea-texture.xpm
549 atlantis.o: $(srcdir)/xpm-ximage.h
550 atunnel.o: ../../config.h
551 atunnel.o: $(HACK_SRC)/images/tunnel0.xpm
552 atunnel.o: $(HACK_SRC)/images/tunnel1.xpm
553 atunnel.o: $(HACK_SRC)/images/tunnel2.xpm
554 atunnel.o: $(srcdir)/tunnel_draw.h
555 atunnel.o: $(srcdir)/xpm-ximage.h
556 b_draw.o: $(srcdir)/bubble3d.h
557 b_draw.o: ../../config.h
558 b_lockglue.o: $(srcdir)/bubble3d.h
559 b_lockglue.o: ../../config.h
560 bouncingcow.o: ../../config.h
561 bouncingcow.o: $(srcdir)/gllist.h
562 bouncingcow.o: $(srcdir)/gltrackball.h
563 bouncingcow.o: $(srcdir)/rotator.h
564 bouncingcow.o: $(srcdir)/xpm-ximage.h
565 boxed.o: $(srcdir)/boxed.h
566 boxed.o: ../../config.h
567 b_sphere.o: $(srcdir)/bubble3d.h
568 b_sphere.o: ../../config.h
569 bubble3d.o: $(srcdir)/bubble3d.h
570 bubble3d.o: ../../config.h
571 buildlwo.o: $(srcdir)/buildlwo.h
572 cage.o: ../../config.h
573 cage.o: $(srcdir)/e_textures.h
574 chessmodels.o: $(srcdir)/chessmodels.h
575 circuit.o: ../../config.h
576 circuit.o: $(srcdir)/font-ximage.h
577 cow_face.o: $(srcdir)/gllist.h
578 cow_hide.o: $(srcdir)/gllist.h
579 cow_hoofs.o: $(srcdir)/gllist.h
580 cow_horns.o: $(srcdir)/gllist.h
581 cow_tail.o: $(srcdir)/gllist.h
582 cow_udder.o: $(srcdir)/gllist.h
583 cubenetic.o: ../../config.h
584 cubenetic.o: $(srcdir)/gltrackball.h
585 cubenetic.o: $(srcdir)/rotator.h
586 dangerball.o: ../../config.h
587 dangerball.o: $(srcdir)/gltrackball.h
588 dangerball.o: $(srcdir)/rotator.h
589 dangerball.o: $(srcdir)/sphere.h
590 dangerball.o: $(srcdir)/tube.h
591 dolphin.o: $(srcdir)/atlantis.h
592 endgame.o: $(srcdir)/chessgames.h
593 endgame.o: $(srcdir)/chessmodels.h
594 endgame.o: ../../config.h
595 endgame.o: $(srcdir)/gltrackball.h
596 engine.o: ../../config.h
597 engine.o: $(srcdir)/gltrackball.h
598 engine.o: $(srcdir)/rotator.h
599 extrusion-helix2.o: ../../config.h
600 extrusion-helix3.o: ../../config.h
601 extrusion-helix4.o: ../../config.h
602 extrusion-joinoffset.o: ../../config.h
603 extrusion.o: ../../config.h
604 extrusion.o: $(srcdir)/rotator.h
605 extrusion.o: $(srcdir)/xpm-ximage.h
606 extrusion-screw.o: ../../config.h
607 extrusion-taper.o: ../../config.h
608 extrusion-twistoid.o: ../../config.h
609 flipscreen3d.o: ../../config.h
610 flipscreen3d.o: $(srcdir)/gltrackball.h
611 flipscreen3d.o: $(srcdir)/grab-ximage.h
612 flurry.o: ../../config.h
613 flurry.o: $(srcdir)/flurry.h
614 flurry.o: $(srcdir)/gltrackball.h
615 flurry.o: $(srcdir)/rotator.h
616 flurry-smoke.o: $(srcdir)/flurry.h
617 flurry-smoke.o: $(srcdir)/gltrackball.h
618 flurry-smoke.o: $(srcdir)/rotator.h
619 flurry-spark.o: $(srcdir)/flurry.h
620 flurry-spark.o: $(srcdir)/gltrackball.h
621 flurry-spark.o: $(srcdir)/rotator.h
622 flurry-star.o: $(srcdir)/flurry.h
623 flurry-star.o: $(srcdir)/gltrackball.h
624 flurry-star.o: $(srcdir)/rotator.h
625 flurry-texture.o: $(srcdir)/flurry.h
626 flurry-texture.o: $(srcdir)/gltrackball.h
627 flurry-texture.o: $(srcdir)/rotator.h
628 flyingtoasters.o: ../../config.h
629 flyingtoasters.o: $(srcdir)/gllist.h
630 flyingtoasters.o: $(srcdir)/gltrackball.h
631 flyingtoasters.o: $(HACK_SRC)/images/chromesphere.xpm
632 flyingtoasters.o: $(HACK_SRC)/images/toast.xpm
633 flyingtoasters.o: $(srcdir)/xpm-ximage.h
634 font-ximage.o: ../../config.h
635 fps.o: ../../config.h
636 gears.o: ../../config.h
637 gears.o: $(srcdir)/gltrackball.h
638 gears.o: $(srcdir)/rotator.h
639 gflux.o: ../../config.h
640 gflux.o: $(srcdir)/gltrackball.h
641 gflux.o: $(srcdir)/grab-ximage.h
642 glblur.o: ../../config.h
643 glblur.o: $(srcdir)/gltrackball.h
644 glblur.o: $(srcdir)/rotator.h
645 glforestfire.o: ../../config.h
646 glforestfire.o: $(HACK_SRC)/images/ground.xpm
647 glforestfire.o: $(HACK_SRC)/images/tree.xpm
648 glforestfire.o: $(srcdir)/xpm-ximage.h
649 gllist.o: $(srcdir)/gllist.h
650 glplanet.o: ../../config.h
651 glplanet.o: $(srcdir)/gltrackball.h
652 glplanet.o: $(HACK_SRC)/images/earth.xpm
653 glplanet.o: $(srcdir)/rotator.h
654 glplanet.o: $(srcdir)/sphere.h
655 glplanet.o: $(srcdir)/xpm-ximage.h
656 glslideshow.o: ../../config.h
657 glslideshow.o: $(srcdir)/grab-ximage.h
658 glsnake.o: ../../config.h
659 gltext.o: ../../config.h
660 gltext.o: $(srcdir)/gltrackball.h
661 gltext.o: $(srcdir)/glut_roman.h
662 gltext.o: $(srcdir)/glutstroke.h
663 gltext.o: $(srcdir)/rotator.h
664 gltext.o: $(srcdir)/tube.h
665 gltrackball.o: ../../config.h
666 gltrackball.o: $(srcdir)/gltrackball.h
667 gltrackball.o: $(srcdir)/trackball.h
668 glut_stroke.o: ../../config.h
669 glut_stroke.o: $(srcdir)/glutstroke.h
670 glut_swidth.o: ../../config.h
671 glut_swidth.o: $(srcdir)/glutstroke.h
672 grab-ximage.o: ../../config.h
673 jigglypuff.o: ../../config.h
674 lament.o: ../../config.h
675 lament.o: $(srcdir)/gltrackball.h
676 lament.o: $(HACK_SRC)/images/lament.xpm
677 lament.o: $(srcdir)/rotator.h
678 lament.o: $(srcdir)/xpm-ximage.h
679 lavalite.o: ../../config.h
680 lavalite.o: $(srcdir)/gltrackball.h
681 lavalite.o: $(srcdir)/marching.h
682 lavalite.o: $(srcdir)/rotator.h
683 lavalite.o: $(srcdir)/xpm-ximage.h
684 marching.o: ../../config.h
685 marching.o: $(srcdir)/marching.h
686 menger.o: ../../config.h
687 menger.o: $(srcdir)/gltrackball.h
688 menger.o: $(srcdir)/rotator.h
689 moebius.o: ../../config.h
690 moebius.o: $(srcdir)/e_textures.h
691 moebius.o: $(srcdir)/gltrackball.h
692 moebius.o: $(srcdir)/rotator.h
693 molecule.o: ../../config.h
694 molecule.o: $(srcdir)/gltrackball.h
695 molecule.o: molecules.h
696 molecule.o: $(srcdir)/rotator.h
697 molecule.o: $(srcdir)/sphere.h
698 molecule.o: $(srcdir)/tube.h
699 morph3d.o: ../../config.h
700 pipeobjs.o: $(srcdir)/buildlwo.h
701 pipes.o: $(srcdir)/buildlwo.h
702 pipes.o: ../../config.h
703 pulsar.o: ../../config.h
704 pulsar.o: $(srcdir)/xpm-ximage.h
705 queens.o: ../../config.h
706 queens.o: $(srcdir)/gltrackball.h
707 rotator.o: ../../config.h
708 rotator.o: $(srcdir)/rotator.h
709 rubik.o: ../../config.h
710 s1_1.o: $(srcdir)/gllist.h
711 s1_2.o: $(srcdir)/gllist.h
712 s1_3.o: $(srcdir)/gllist.h
713 s1_4.o: $(srcdir)/gllist.h
714 s1_5.o: $(srcdir)/gllist.h
715 s1_6.o: $(srcdir)/gllist.h
716 s1_b.o: $(srcdir)/gllist.h
717 sballs.o: ../../config.h
718 sballs.o: $(HACK_SRC)/images/sball-bg.xpm
719 sballs.o: $(HACK_SRC)/images/sball.xpm
720 sballs.o: $(srcdir)/xpm-ximage.h
721 shark.o: $(srcdir)/atlantis.h
722 sierpinski3d.o: ../../config.h
723 sierpinski3d.o: $(srcdir)/gltrackball.h
724 sierpinski3d.o: $(srcdir)/rotator.h
725 spheremonics.o: ../../config.h
726 spheremonics.o: $(srcdir)/gltrackball.h
727 spheremonics.o: $(srcdir)/rotator.h
728 sphere.o: ../../config.h
729 sproingies.o: ../../config.h
730 sproingies.o: $(srcdir)/gllist.h
731 sproingiewrap.o: ../../config.h
732 stairs.o: ../../config.h
733 stairs.o: $(srcdir)/e_textures.h
734 starwars.o: ../../config.h
735 starwars.o: $(srcdir)/glut_roman.h
736 starwars.o: $(srcdir)/glutstroke.h
737 stonerview-move.o: ../../config.h
738 stonerview-move.o: $(srcdir)/stonerview-move.h
739 stonerview-move.o: $(srcdir)/stonerview-osc.h
740 stonerview.o: ../../config.h
741 stonerview.o: $(srcdir)/stonerview-move.h
742 stonerview-osc.o: ../../config.h
743 stonerview-osc.o: $(srcdir)/stonerview-osc.h
744 stonerview-view.o: ../../config.h
745 stonerview-view.o: $(srcdir)/stonerview-move.h
746 stonerview-view.o: $(srcdir)/stonerview-osc.h
747 superquadrics.o: ../../config.h
748 swim.o: $(srcdir)/atlantis.h
749 swim.o: ../../config.h
750 toast2.o: $(srcdir)/gllist.h
751 toaster_base.o: $(srcdir)/gllist.h
752 toaster_handle2.o: $(srcdir)/gllist.h
753 toaster_handle.o: $(srcdir)/gllist.h
754 toaster_jet.o: $(srcdir)/gllist.h
755 toaster_knob.o: $(srcdir)/gllist.h
756 toaster.o: $(srcdir)/gllist.h
757 toaster_slots.o: $(srcdir)/gllist.h
758 toaster_wing.o: $(srcdir)/gllist.h
759 toast.o: $(srcdir)/gllist.h
760 trackball.o: ../../config.h
761 trackball.o: $(srcdir)/trackball.h
762 tube.o: ../../config.h
763 tube.o: $(srcdir)/tube.h
764 tunnel_draw.o: ../../config.h
765 tunnel_draw.o: $(srcdir)/tunnel_draw.h
766 whale.o: $(srcdir)/atlantis.h
767 xlock-gl.o: ../../config.h
768 xpm-ximage.o: ../../config.h
769 xscreensaver-gl-helper.o: ../../config.h