-# hacks/glx/Makefile.in --- xscreensaver, Copyright (c) 1997 Jamie Zawinski.
+# hacks/glx/Makefile.in --- xscreensaver, Copyright (c) 1999 Jamie Zawinski.
# the `../../configure' script generates `hacks/glx/Makefile' from this file.
@SET_MAKE@
xlock-gl.c xpm-ximage.c glplanet.c pulsar.c \
extrusion.c extrusion-helix2.c extrusion-helix3.c \
extrusion-helix4.c extrusion-joinoffset.c extrusion-screw.c \
- extrusion-taper.c extrusion-twistoid.c
+ extrusion-taper.c extrusion-twistoid.c sierpinski3d.c
OBJS = atlantis.o b_draw.o b_lockglue.o b_sphere.o bubble3d.o \
buildlwo.o cage.o dolphin.o gears.o lament.o moebius.o \
xlock-gl.o xpm-ximage.o glplanet.o pulsar.o \
extrusion.o extrusion-helix2.o extrusion-helix3.o \
extrusion-helix4.o extrusion-joinoffset.o extrusion-screw.o \
- extrusion-taper.o extrusion-twistoid.o
+ extrusion-taper.o extrusion-twistoid.o sierpinski3d.o
GL_EXES = cage gears moebius pipes sproingies stairs superquadrics \
- morph3d rubik atlantis lament bubble3d glplanet pulsar
+ morph3d rubik atlantis lament bubble3d glplanet pulsar \
+ sierpinski3d
GLE_EXES = extrusion
EXES = @GL_EXES@ @GLE_EXES@
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
install-program: $(EXES)
- @exes="$(EXES)" ; \
- if [ ! -d $(HACKDIR) ]; then $(INSTALL_DIRS) $(HACKDIR) ; fi ; \
+ @if [ ! -d $(install_prefix)$(HACKDIR) ]; then \
+ $(INSTALL_DIRS) $(install_prefix)$(HACKDIR) ; \
+ fi ; \
+ exes="$(EXES)" ; \
for program in $$exes; do \
- echo $(INSTALL_PROGRAM) $$program $(HACKDIR)/$$program ; \
- $(INSTALL_PROGRAM) $$program $(HACKDIR)/$$program ; \
+ echo $(INSTALL_PROGRAM) $$program \
+ $(install_prefix)$(HACKDIR)/$$program ; \
+ $(INSTALL_PROGRAM) $$program \
+ $(install_prefix)$(HACKDIR)/$$program ; \
done
install-man: $(MEN)
@men="$(MEN)" ; \
- if [ ! -d $(man1dir) ]; then $(INSTALL_DIRS) $(man1dir) ; fi ; \
+ if [ ! -d $(install_prefix)$(man1dir) ]; then \
+ $(INSTALL_DIRS) $(install_prefix)$(man1dir) ; \
+ fi ; \
for man in $$men; do \
instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
- echo $(INSTALL_DATA) $(srcdir)/$$man $(man1dir)/$$instname ; \
- $(INSTALL_DATA) $(srcdir)/$$man $(man1dir)/$$instname ; \
+ echo $(INSTALL_DATA) $(srcdir)/$$man \
+ $(install_prefix)$(man1dir)/$$instname ; \
+ $(INSTALL_DATA) $(srcdir)/$$man \
+ $(install_prefix)$(man1dir)/$$instname ; \
done
uninstall-program:
- @for program in $(EXES); do \
- echo rm -f $(HACKDIR)/$$program ; \
- rm -f $(HACKDIR)/$$program ; \
+ @exes="$(EXES)" ; \
+ for program in $$exes; do \
+ echo rm -f $(install_prefix)$(HACKDIR)/$$program ; \
+ rm -f $(install_prefix)$(HACKDIR)/$$program ; \
done
uninstall-man:
@men="$(MEN)" ; \
for man in $$men; do \
instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
- echo rm -f $(man1dir)/$$instname ; \
- rm -f $(man1dir)/$$instname ; \
+ echo rm -f $(install_prefix)$(man1dir)/$$instname ; \
+ rm -f $(install_prefix)$(man1dir)/$$instname ; \
done
clean:
glplanet: glplanet.o $(HACK_OBJS) xpm-ximage.o
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) xpm-ximage.o $(XPM_LIBS)
-pulsar: pulsar.o $(HACK_OBJS)
+pulsar: pulsar.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
EXTRUSION_OBJS=extrusion.o extrusion-helix2.o extrusion-helix3.o \
extrusion: $(EXTRUSION_OBJS) $(HACK_OBJS)
$(CC_HACK) -o $@ $(EXTRUSION_OBJS) $(HACK_OBJS) $(GLE_LIBS)
+sierpinski3d: sierpinski3d.o $(HACK_OBJS)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
+
##############################################################################
#
pulsar.o: $(UTILS_SRC)/grabscreen.h
pulsar.o: $(UTILS_SRC)/visual.h
pulsar.o: $(UTILS_SRC)/xshm.h
-extrusion.o: $(HACK_SRC)/xlockmore.h
extrusion.o: ../../config.h
+extrusion.o: $(HACK_SRC)/xlockmore.h
extrusion.o: $(HACK_SRC)/xlockmoreI.h
extrusion.o: $(HACK_SRC)/screenhack.h
extrusion.o: $(UTILS_SRC)/yarandom.h
extrusion.o: $(UTILS_SRC)/grabscreen.h
extrusion.o: $(UTILS_SRC)/visual.h
extrusion.o: $(UTILS_SRC)/xshm.h
+extrusion-helix2.o: ../../config.h
+extrusion-helix3.o: ../../config.h
+extrusion-helix4.o: ../../config.h
+extrusion-joinoffset.o: ../../config.h
+extrusion-screw.o: ../../config.h
+extrusion-taper.o: ../../config.h
+extrusion-twistoid.o: ../../config.h
+sierpinski3d.o: $(HACK_SRC)/xlockmore.h
+sierpinski3d.o: ../../config.h
+sierpinski3d.o: $(HACK_SRC)/xlockmoreI.h
+sierpinski3d.o: $(HACK_SRC)/screenhack.h
+sierpinski3d.o: $(UTILS_SRC)/yarandom.h
+sierpinski3d.o: $(UTILS_SRC)/usleep.h
+sierpinski3d.o: $(UTILS_SRC)/resources.h
+sierpinski3d.o: $(UTILS_SRC)/hsv.h
+sierpinski3d.o: $(UTILS_SRC)/colors.h
+sierpinski3d.o: $(UTILS_SRC)/grabscreen.h
+sierpinski3d.o: $(UTILS_SRC)/visual.h
+sierpinski3d.o: $(UTILS_SRC)/xshm.h