SHELL = /bin/sh
INSTALL = @INSTALL@
+SUID_FLAGS = -o root -m 4755
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_SETUID = @INSTALL_SETUID@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_DIRS = @INSTALL_DIRS@
HACKDIR = @HACKDIR@
X_LIBS = @X_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
+XMU_LIBS = @XMU_LIBS@
# Note: see comment in ../driver/Makefile.in for explanation of X_LIBS, etc.
#
HACK_PRE = $(LIBS) $(X_LIBS)
-HACK_POST = $(X_PRE_LIBS) -lXt -lX11 -lXext $(X_EXTRA_LIBS) -lm
+HACK_POST = $(X_PRE_LIBS) -lXt -lX11 $(XMU_LIBS) -lXext $(X_EXTRA_LIBS) -lm
HACK_LIBS = $(HACK_PRE) @HACK_LIBS@ $(HACK_POST)
XPM_LIBS = $(HACK_PRE) @XPM_LIBS@ @HACK_LIBS@ $(HACK_POST)
XLOCK_LIBS = $(HACK_LIBS)
-SGI_VIDEO_OBJS = @SGI_VIDEO_OBJS@
-SGI_VIDEO_LIBS = @SGI_VIDEO_LIBS@
UTILS_SRC = $(srcdir)/../utils
UTILS_BIN = ../utils
-INCLUDES = -I$(srcdir) -I$(UTILS_SRC) -I.. @INCLUDES@
+INCLUDES = -I. -I$(srcdir) -I$(UTILS_SRC) -I.. @INCLUDES@
UTIL_SRCS = $(UTILS_SRC)/alpha.c $(UTILS_SRC)/colors.c \
- $(UTILS_SRC)/grabscreen.c $(UTILS_SRC)/hsv.c \
- $(UTILS_SRC)/resources.c $(UTILS_SRC)/spline.c \
- $(UTILS_SRC)/usleep.c $(UTILS_SRC)/visual.c \
- $(UTILS_SRC)/logo.c $(UTILS_SRC)/yarandom.c \
- $(UTILS_SRC)/erase.c $(UTILS_SRC)/sgivideo.c \
+ $(UTILS_SRC)/grabscreen.c $(UTILS_SRC)/grabclient.c \
+ $(UTILS_SRC)/hsv.c $(UTILS_SRC)/resources.c \
+ $(UTILS_SRC)/spline.c $(UTILS_SRC)/usleep.c \
+ $(UTILS_SRC)/visual.c $(UTILS_SRC)/logo.c \
+ $(UTILS_SRC)/yarandom.c $(UTILS_SRC)/erase.c \
$(UTILS_SRC)/xshm.c $(UTILS_SRC)/xdbe.c
UTIL_OBJS = $(UTILS_BIN)/alpha.o $(UTILS_BIN)/colors.o \
- $(UTILS_BIN)/grabscreen.o $(UTILS_BIN)/hsv.o \
- $(UTILS_BIN)/resources.o $(UTILS_BIN)/spline.o \
- $(UTILS_BIN)/usleep.o $(UTILS_BIN)/visual.o \
- $(UTILS_BIN)/logo.o $(UTILS_BIN)/yarandom.o \
- $(UTILS_BIN)/erase.o $(UTILS_BIN)/sgivideo.o \
+ $(UTILS_BIN)/grabscreen.o $(UTILS_BIN)/grabclient.o \
+ $(UTILS_BIN)/hsv.o $(UTILS_BIN)/resources.o \
+ $(UTILS_BIN)/spline.o $(UTILS_BIN)/usleep.o \
+ $(UTILS_BIN)/visual.o $(UTILS_BIN)/logo.o \
+ $(UTILS_BIN)/yarandom.o $(UTILS_BIN)/erase.o \
$(UTILS_SRC)/xshm.o $(UTILS_SRC)/xdbe.o
SRCS = attraction.c blitspin.c bouboule.c braid.c bubbles.c \
squiral.c xflame.c wander.c spotlight.c critical.c \
phosphor.c xmatrix.c petri.c shadebobs.c xsublim.c ccurve.c \
blaster.c bumps.c ripples.c xteevee.c xspirograph.c \
- nerverot.c xrayswarm.c hyperball.c zoom.c whirlwindwarp.c
+ nerverot.c xrayswarm.c hyperball.c zoom.c whirlwindwarp.c \
+ rotzoomer.c whirlygig.c speedmine.c vermiculate.c
SCRIPTS = vidwhacker webcollage
OBJS = attraction.o blitspin.o bouboule.o braid.o bubbles.o \
squiral.o xflame.o wander.o spotlight.o critical.o \
phosphor.o xmatrix.o petri.o shadebobs.o xsublim.o ccurve.o \
blaster.o bumps.o ripples.o xteevee.o xspirograph.o \
- nerverot.o xrayswarm.o hyperball.o zoom.o whirlwindwarp.o
+ nerverot.o xrayswarm.o hyperball.o zoom.o whirlwindwarp.o \
+ rotzoomer.o whirlygig.o speedmine.o vermiculate.o
-EXES = attraction blitspin bouboule braid bubbles decayscreen deco \
+NEXES = attraction blitspin bouboule braid bubbles decayscreen deco \
drift flag flame forest vines galaxy grav greynetic halo \
helix hopalong hypercube ifs imsmap julia kaleidescope \
laser lightning lisa lmorph maze moire noseguy pedal \
fadeplot rd-bomb coral mountain triangle lissie worm rotor \
ant xjack xlyap jigsaw cynosure moire2 flow epicycle \
interference truchet bsod crystal discrete distort kumppa \
- sonar demon loop t3d penetrate deluxe compass squiral \
- xflame wander spotlight critical phosphor xmatrix petri \
- shadebobs xsublim ccurve blaster bumps ripples xteevee \
- xspirograph nerverot xrayswarm hyperball zoom whirlwindwarp
+ demon loop t3d penetrate deluxe compass squiral xflame \
+ wander spotlight critical phosphor xmatrix petri shadebobs \
+ xsublim ccurve blaster bumps ripples xteevee xspirograph \
+ nerverot xrayswarm hyperball zoom whirlwindwarp rotzoomer \
+ whirlygig speedmine vermiculate
+SEXES = sonar
+EXES = $(NEXES) $(SEXES)
HACK_OBJS_1 = $(UTILS_BIN)/resources.o $(UTILS_BIN)/visual.o \
$(UTILS_BIN)/usleep.o $(UTILS_BIN)/yarandom.o @XMU_OBJS@
HACK_OBJS = screenhack.o $(HACK_OBJS_1)
XLOCK_OBJS = screenhack-xlock.o xlockmore.o $(COLOR_OBJS) $(HACK_OBJS_1)
COLOR_OBJS = $(UTILS_BIN)/hsv.o $(UTILS_BIN)/colors.o
-GRAB_OBJS_1 = $(UTILS_BIN)/grabscreen.o $(SGI_VIDEO_OBJS)
-GRAB_OBJS = $(GRAB_OBJS_1) $(COLOR_OBJS)
+GRAB_OBJS = $(UTILS_BIN)/grabclient.o
XSHM_OBJS = $(UTILS_BIN)/xshm.o
XDBE_OBJS = $(UTILS_BIN)/xdbe.o
-GRAB_LIBS = $(SGI_VIDEO_LIBS)
HDRS = bubbles.h screenhack.h xlockmore.h xlockmoreI.h automata.h \
bumps.h
noseguy.man pedal.man penrose.man pyro.man qix.man \
rocks.man rorschach.man sierpinski.man slidescreen.man \
slip.man sphere.man spiral.man strange.man swirl.man \
- goop.man starfish.man munch.man rd-bomb.man \
+ goop.man starfish.man munch.man rd-bomb.man bumps.man \
xjack.man xlyap.man jigsaw.man epicycle.man bsod.man \
sonar.man t3d.man squiral.man spotlight.man critical.man \
vidwhacker.man webcollage.man xsublim.man distort.man \
phosphor.man xmatrix.man xteevee.man xflame.man petri.man \
- nerverot.man zoom.man whirlwindwarp.man hyperball.man
+ nerverot.man zoom.man whirlwindwarp.man hyperball.man \
+ rotzoomer.man whirlygig.man speedmine.man penetrate.man
STAR = *
EXTRAS = README Makefile.in xlock_23.h .gdbinit \
images/$(STAR).xbm \
images/noseguy/$(STAR).xbm \
images/noseguy/$(STAR).xpm \
images/jigsaw/$(STAR).xbm \
+ images/molecules/$(STAR).pdb
VMSFILES = compile_axp.com compile_decc.com link_axp.com link_decc.com \
vms_axp.opt vms_axp_12.opt vms_decc.opt vms_decc_12.opt
uninstall: uninstall-program uninstall-man
install-strip:
- $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
+ $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
+ install
-install-program: $(EXES)
+# the hacks, in $HACKDIR
+install-program:: $(EXES)
@if [ ! -d $(install_prefix)$(HACKDIR) ]; then \
$(INSTALL_DIRS) $(install_prefix)$(HACKDIR) ; \
fi ; \
- for program in $(EXES); do \
+ for program in $(NEXES); do \
echo $(INSTALL_PROGRAM) $$program \
$(install_prefix)$(HACKDIR)/$$program ; \
$(INSTALL_PROGRAM) $$program \
$(install_prefix)$(HACKDIR)/$$program ; \
+ done ; \
+ if [ @SETUID_HACKS@ = yes ]; then \
+ sinst="$(INSTALL_SETUID)" ; \
+ else \
+ sinst="$(INSTALL_PROGRAM)" ; \
+ fi ; \
+ for program in $(SEXES); do \
+ echo $$sinst $$program $(install_prefix)$(HACKDIR)/$$program ;\
+ $$sinst $$program $(install_prefix)$(HACKDIR)/$$program ;\
done
install-scripts: $(SCRIPTS) munge-scripts
#
$(UTILS_BIN)/alpha.o: $(UTILS_SRC)/alpha.c
$(UTILS_BIN)/colors.o: $(UTILS_SRC)/colors.c
-$(UTILS_BIN)/grabscreen.o: $(UTILS_SRC)/grabscreen.c
-$(UTILS_BIN)/sgivideo.o: $(UTILS_SRC)/sgivideo.c
+$(UTILS_BIN)/grabclient.o: $(UTILS_SRC)/grabclient.c
$(UTILS_BIN)/hsv.o: $(UTILS_SRC)/hsv.c
$(UTILS_BIN)/resources.o: $(UTILS_SRC)/resources.c
$(UTILS_BIN)/spline.o: $(UTILS_SRC)/spline.c
ALP = $(UTILS_BIN)/alpha.o
HSV = $(UTILS_BIN)/hsv.o
SPL = $(UTILS_BIN)/spline.o
-LOGO = $(UTILS_BIN)/logo.o $(SPL)
+LOGO = $(UTILS_BIN)/logo.o
GRAB = $(GRAB_OBJS)
ERASE = $(UTILS_BIN)/erase.o
COL = $(COLOR_OBJS)
SHM = $(XSHM_OBJS)
DBE = $(XDBE_OBJS)
+BARS = $(UTILS_BIN)/colorbars.o $(LOGO)
CC_HACK = $(CC) $(LDFLAGS)
xscreensaver-sgigl: xscreensaver-sgigl.c
$(CC) $(LDFLAGS) -o $@ $< -I$(UTILS_SRC) $(HACK_PRE) \
- -lXmu -lX11 -lXext $(X_EXTRA_LIBS) -lm
+ $(XMU_LIBS) -lX11 -lXext $(X_EXTRA_LIBS) -lm
# The rules for those hacks which follow the `screenhack.c' API.
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(SPL) $(HACK_LIBS)
blitspin: blitspin.o $(HACK_OBJS) $(GRAB)
- $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(XPM_LIBS) $(GRAB_LIBS)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(XPM_LIBS)
bubbles: bubbles.o $(HACK_OBJS) bubbles-default.o
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) bubbles-default.o $(XPM_LIBS)
decayscreen: decayscreen.o $(HACK_OBJS) $(GRAB)
- $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS) $(GRAB_LIBS)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS)
deco: deco.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HSV) $(ERASE) $(HACK_LIBS)
slidescreen: slidescreen.o $(HACK_OBJS) $(GRAB)
- $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS) $(GRAB_LIBS)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS)
goop: goop.o $(HACK_OBJS) $(HSV) $(ALP) $(SPL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HSV) $(ALP) $(SPL) $(HACK_LIBS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
jigsaw: jigsaw.o $(HACK_OBJS) $(GRAB)
- $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS) $(GRAB_LIBS)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS)
cynosure: cynosure.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
bsod: bsod.o $(HACK_OBJS) $(GRAB)
- $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS) $(XPM_LIBS) $(GRAB_LIBS)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS) $(XPM_LIBS)
distort: distort.o $(HACK_OBJS) $(GRAB) $(SHM)
- $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(SHM) $(HACK_LIBS) $(GRAB_LIBS)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(SHM) $(HACK_LIBS)
kumppa: kumppa.o $(HACK_OBJS) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(DBE) $(HACK_LIBS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(ERASE) $(HACK_LIBS)
spotlight: spotlight.o $(HACK_OBJS) $(GRAB)
- $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS) $(GRAB_LIBS)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS)
critical: critical.o $(HACK_OBJS) $(COL) $(ERASE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(ERASE) $(HACK_LIBS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
bumps: bumps.o $(HACK_OBJS) $(GRAB)
- $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS) $(GRAB_LIBS)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS)
-ripples: ripples.o $(HACK_OBJS) $(SHM) $(GRAB)
- $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(SHM) $(GRAB) $(HACK_LIBS) $(GRAB_LIBS)
+ripples: ripples.o $(HACK_OBJS) $(SHM) $(COL) $(GRAB)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(SHM) $(COL) $(GRAB) $(HACK_LIBS)
-xteevee: xteevee.o $(HACK_OBJS) $(GRAB)
- $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS) $(GRAB_LIBS)
+xteevee: xteevee.o $(BARS) $(HACK_OBJS) $(GRAB)
+ $(CC_HACK) -o $@ $@.o $(BARS) $(HACK_OBJS) $(GRAB) $(HACK_LIBS)
xspirograph: xspirograph.o $(HACK_OBJS) $(COL) $(ERASE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(ERASE) $(HACK_LIBS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
zoom: zoom.o $(HACK_OBJS) $(GRAB)
- $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS) $(GRAB_LIBS)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS)
whirlwindwarp: whirlwindwarp.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
+rotzoomer: rotzoomer.o $(HACK_OBJS) $(GRAB) $(SHM)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(SHM) $(HACK_LIBS)
+
+whirlygig: whirlygig.o $(HACK_OBJS) $(COL)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
+
+speedmine: speedmine.o $(HACK_OBJS) $(COL)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
+
+vermiculate: vermiculate.o $(HACK_OBJS) $(COL)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
+
# The rules for those hacks which follow the `xlockmore' API.
#
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
slip: slip.o $(XLOCK_OBJS) $(GRAB)
- $(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(GRAB_OBJS_1) $(HACK_LIBS) $(GRAB_LIBS)
+ $(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(GRAB) $(HACK_LIBS)
sphere: sphere.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
xteevee.o: $(UTILS_SRC)/colors.h
xteevee.o: $(UTILS_SRC)/grabscreen.h
xteevee.o: $(UTILS_SRC)/visual.h
+xteevee.o: $(UTILS_SRC)/colorbars.h
xspirograph.o: $(srcdir)/screenhack.h
xspirograph.o: ../config.h
xspirograph.o: $(UTILS_SRC)/yarandom.h
whirlwindwarp.o: $(UTILS_SRC)/grabscreen.h
whirlwindwarp.o: $(UTILS_SRC)/visual.h
whirlwindwarp.o: $(UTILS_SRC)/erase.h
+rotzoomer.o: $(srcdir)/screenhack.h
+rotzoomer.o: ../config.h
+rotzoomer.o: $(UTILS_SRC)/yarandom.h
+rotzoomer.o: $(UTILS_SRC)/usleep.h
+rotzoomer.o: $(UTILS_SRC)/resources.h
+rotzoomer.o: $(UTILS_SRC)/hsv.h
+rotzoomer.o: $(UTILS_SRC)/colors.h
+rotzoomer.o: $(UTILS_SRC)/grabscreen.h
+rotzoomer.o: $(UTILS_SRC)/visual.h
+rotzoomer.o: $(UTILS_SRC)/xshm.h
+whirlygig.o: $(srcdir)/screenhack.h
+whirlygig.o: ../config.h
+whirlygig.o: $(UTILS_SRC)/yarandom.h
+whirlygig.o: $(UTILS_SRC)/usleep.h
+whirlygig.o: $(UTILS_SRC)/resources.h
+whirlygig.o: $(UTILS_SRC)/hsv.h
+whirlygig.o: $(UTILS_SRC)/colors.h
+whirlygig.o: $(UTILS_SRC)/grabscreen.h
+whirlygig.o: $(UTILS_SRC)/visual.h
+speedmine.o: $(srcdir)/screenhack.h
+speedmine.o: ../config.h
+speedmine.o: $(UTILS_SRC)/yarandom.h
+speedmine.o: $(UTILS_SRC)/usleep.h
+speedmine.o: $(UTILS_SRC)/resources.h
+speedmine.o: $(UTILS_SRC)/hsv.h
+speedmine.o: $(UTILS_SRC)/colors.h
+speedmine.o: $(UTILS_SRC)/grabscreen.h
+speedmine.o: $(UTILS_SRC)/visual.h
+speedmine.o: $(UTILS_SRC)/erase.h
+vermiculate.o: $(srcdir)/screenhack.h
+vermiculate.o: ../config.h
+vermiculate.o: $(UTILS_SRC)/yarandom.h
+vermiculate.o: $(UTILS_SRC)/usleep.h
+vermiculate.o: $(UTILS_SRC)/resources.h
+vermiculate.o: $(UTILS_SRC)/hsv.h
+vermiculate.o: $(UTILS_SRC)/colors.h
+vermiculate.o: $(UTILS_SRC)/grabscreen.h
+vermiculate.o: $(UTILS_SRC)/visual.h