http://www.jwz.org/xscreensaver/xscreensaver-5.13.tar.gz
[xscreensaver] / hacks / Makefile.in
index 148a7624685faa4750cb022272d9999a3a0b59d0..5684f0623776120a81bac42e5f05546747f15460 100644 (file)
@@ -1,4 +1,4 @@
-# hacks/Makefile.in --- xscreensaver, Copyright (c) 1997-2005 Jamie Zawinski.
+# hacks/Makefile.in --- xscreensaver, Copyright (c) 1997-2011 Jamie Zawinski.
 # the `../configure' script generates `hacks/Makefile' from this file.
 
 @SET_MAKE@
@@ -62,10 +62,11 @@ MINIXPM             = $(UTILS_BIN)/minixpm.o
 UTILS_SRC      = $(srcdir)/../utils
 UTILS_BIN      = ../utils
 
-INCLUDES       = -I. -I$(srcdir) -I$(UTILS_SRC) -I.. @INCLUDES@
+INCLUDES_1     = -I. -I$(srcdir) -I$(UTILS_SRC) -I..
+INCLUDES       = $(INCLUDES_1) @INCLUDES@
 
 UTIL_SRCS      = $(UTILS_SRC)/alpha.c $(UTILS_SRC)/colors.c \
-                 $(UTILS_SRC)/grabscreen.c $(UTILS_SRC)/grabclient.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 \
@@ -73,7 +74,7 @@ UTIL_SRCS     = $(UTILS_SRC)/alpha.c $(UTILS_SRC)/colors.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)/grabclient.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 \
@@ -117,7 +118,7 @@ SCRIPTS             = vidwhacker webcollage ljlatest
 # Programs that are mentioned in XScreenSaver.ad, and that have XML files,
 # but that are not shipped with xscreensaver itself.
 #
-EXTERNALS      = cosmos electricsheep extrusion fireflies goban \
+EXTERNALS      = cosmos electricsheep fireflies goban \
                  sphereeversion ssystem xaos xdaliclock xearth xfishtank \
                  xmountains xplanet xsnow
 
@@ -154,7 +155,7 @@ OBJS                = attraction.o blitspin.o bouboule.o braid.o bubbles.o \
 
 EXES           = attraction blitspin bouboule braid decayscreen deco \
                  drift flame galaxy grav greynetic halo \
-                 helix hopalong hypercube ifs imsmap julia kaleidescope \
+                 helix hopalong ifs imsmap julia kaleidescope \
                  maze moire noseguy pedal \
                  penrose pyro qix rocks rorschach sierpinski slidescreen \
                  slip strange swirl goop starfish munch \
@@ -164,9 +165,9 @@ EXES                = attraction blitspin bouboule braid decayscreen deco \
                  demon loop penetrate deluxe compass squiral xflame \
                  wander spotlight phosphor xmatrix petri shadebobs \
                  ccurve blaster bumps ripples xspirograph \
-                 nerverot xrayswarm hyperball zoom whirlwindwarp rotzoomer \
+                 nerverot xrayswarm zoom whirlwindwarp rotzoomer \
                  speedmine vermiculate twang apollonian euler2d \
-                 juggle polyominoes thornbird  fluidballs anemone halftone \
+                 polyominoes thornbird  fluidballs anemone halftone \
                  metaballs eruption popsquares barcode piecewise cloudlife \
                  fontglide apple2 xanalogtv pong  wormhole \
                  pacman fuzzyflakes anemotaxis memscroller substrate \
@@ -175,9 +176,9 @@ EXES                = attraction blitspin bouboule braid decayscreen deco \
                  @JPEG_EXES@
 JPEG_EXES      = webcollage-helper
 
-RETIRED_EXES   = ant bubbles critical flag forest laser lightning lisa \
-                 lissie lmorph rotor sphere spiral t3d vines whirlygig \
-                 worm xsublim
+RETIRED_EXES   = ant bubbles critical flag forest hyperball hypercube laser \
+                 lightning lisa lissie lmorph rotor sphere spiral t3d vines \
+                 whirlygig worm xsublim juggle
 
 HACK_OBJS_1    = fps.o $(UTILS_BIN)/resources.o $(UTILS_BIN)/visual.o \
                  $(UTILS_BIN)/usleep.o $(UTILS_BIN)/yarandom.o @XMU_OBJS@
@@ -200,8 +201,8 @@ MEN         = anemone.man apollonian.man attraction.man \
                  drift.man epicycle.man euler2d.man fadeplot.man \
                  flame.man flow.man fluidballs.man galaxy.man \
                  goop.man grav.man greynetic.man halo.man helix.man \
-                 hopalong.man hyperball.man hypercube.man ifs.man imsmap.man \
-                 interference.man juggle.man julia.man \
+                 hopalong.man ifs.man imsmap.man \
+                 interference.man julia.man \
                  kaleidescope.man kumppa.man \
                  loop.man maze.man moire.man \
                  moire2.man mountain.man munch.man nerverot.man noseguy.man \
@@ -228,7 +229,8 @@ MEN         = anemone.man apollonian.man attraction.man \
 RETIRED_MEN    = ant.man bubbles.man critical.man flag.man forest.man \
                  laser.man lightning.man lisa.man lissie.man lmorph.man \
                  rotor.man sphere.man spiral.man t3d.man vines.man \
-                 whirlygig.man worm.man xsublim.man
+                 whirlygig.man worm.man xsublim.man juggle.man \
+                 hypercube.man hyperball.man
 
 STAR           = *
 EXTRAS         = README Makefile.in xml2man.pl m6502.sh .gdbinit \
@@ -250,7 +252,8 @@ EXTRAS              = README Makefile.in xml2man.pl m6502.sh .gdbinit \
 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
 
-TARFILES       = $(SRCS) $(HDRS) $(SCRIPTS) $(MEN) $(EXTRAS) $(VMSFILES)
+TARFILES       = $(SRCS) $(HDRS) $(SCRIPTS) $(MEN) $(RETIRED_MEN) \
+                 $(EXTRAS) $(VMSFILES)
 
 
 default: all
@@ -273,7 +276,7 @@ install-program:: $(EXES)
            $(install_prefix)$(HACKDIR)/$$program ;                     \
          $(INSTALL_PROGRAM) $$program                                  \
            $(install_prefix)$(HACKDIR)/$$program ;                     \
-       done ;                                                          \
+       done
 
 install-scripts: $(SCRIPTS) munge-scripts
        @for program in $(SCRIPTS); do                                  \
@@ -349,13 +352,13 @@ install-xml:
        done
 
 uninstall-program:
-       @for program in $(EXES) $(SCRIPTS); do                          \
+       @for program in $(EXES) $(RETIRED_EXES) $(SCRIPTS); do          \
          echo rm -f $(install_prefix)$(HACKDIR)/$$program ;            \
          rm -f $(install_prefix)$(HACKDIR)/$$program ;                 \
        done
 
 uninstall-man:
-       @men="$(MEN)" ;                                                 \
+       @men="$(MEN) $(RETIRED_MEN)" ;                                  \
        for man in $$men; do                                            \
          instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ;     \
          echo rm -f $(install_prefix)$(manNdir)/$$instname* ;          \
@@ -364,13 +367,13 @@ uninstall-man:
 
 uninstall-xml:
        @dest=$(install_prefix)$(HACK_CONF_DIR) ;                       \
-        for file in $(EXES) $(SCRIPTS) $(EXTERNALS) ; do               \
+        for file in $(EXES) $(RETIRED_EXES) $(SCRIPTS) $(EXTERNALS) ; do \
             echo rm -f $$dest/$$file.xml ;                             \
                  rm -f $$dest/$$file.xml ;                             \
        done
 
 clean:
-       -rm -f *.o a.out core $(EXES) m6502.h
+       -rm -f *.o a.out core $(EXES) $(RETIRED_EXES) m6502.h
 
 distclean: clean
        -rm -f Makefile TAGS *~ "#"*
@@ -390,7 +393,7 @@ distdepend:: m6502.h
        @echo updating dependencies in `pwd`/Makefile.in... ;               \
        $(DEPEND) -w 0 -f -                                                 \
        -s '# DO NOT DELETE: updated by make distdepend' $(DEPEND_FLAGS) -- \
-       $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) --      \
+       $(INCLUDES_1) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) --    \
        $(SRCS) 2>/dev/null |                                               \
        sort -d |                                                           \
        (                                                                   \
@@ -825,6 +828,7 @@ m6502.h:
        UTILS_SRC="$(UTILS_SRC)" \
        $(srcdir)/m6502.sh m6502.h $(srcdir)/images/m6502/*.asm
 
+m6502.o:       m6502.h
 m6502:         m6502.o         asm6502.o $(HACK_OBJS) $(ATV)
        $(CC_HACK) -o $@ $@.o   asm6502.o $(HACK_OBJS) $(ATV) $(HACK_LIBS)