ftp://ftp.uni-heidelberg.de/pub/X11/contrib/applications/xscreensaver-1.27.tar.Z
[xscreensaver] / hacks / Imakefile
index cf6b3e19fe7e3bd96a34502af62522e49b04fe78..e9e6ed87423e8ca783aad3562d7929b1a95f3d12 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Imakefile file for xscreensaver, Copyright (c) 1993 Jamie Zawinski.
+ * Imakefile file for xscreensaver, Copyright (c) 1993, 1995 Jamie Zawinski.
  *
  * You should not need to edit this file; edit ../config.h instead.
  *
@@ -9,7 +9,7 @@
 
 #ifdef HAVE_XPM
  /* Yeah, this means that all hacks link against libXpm even though only
-    one hack actually use it.  It doesn't matter: it's a library. */
+    one hack actually uses it.  It doesn't matter: it's a library. */
 # define XPMDEFS -DHAVE_XPM
 # define XPMLIB -lXpm
 #else
 # define XPMLIB
 #endif
 
+          STAR = *
           UTILS = ../utils
        INCLUDES = -I$(UTILS)
         DEFINES = R5ISMS XPMDEFS
-EXTRA_LIBRARIES = $(XMULIB) $(XTOOLLIB) XPMLIB $(EXTENSIONLIB) $(XLIB) -lm
+LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) XPMLIB $(EXTENSIONLIB) $(XLIB) -lm
           HACKS = attraction.c greynetic.c helix.c hopalong.c xroger-hack.c \
                   noseguy.c pyro.c qix.c rocks.c rorschach.c blitspin.c \
                   imsmap.c slidescreen.c decayscreen.c maze.c hypercube.c \
-                  halo.c flame.c
+                  halo.c flame.c pedal.c lmorph.c \
+                 bubbles.c bubbles.h bubbles_default.c
             MEN = attraction.man greynetic.man helix.man hopalong.man \
                   noseguy.man pyro.man xroger.man qix.man rocks.man \
                   rorschach.man blitspin.man imsmap.man slidescreen.man \
-                  decayscreen.man maze.man hypercube.man halo.man flame.man
+                  decayscreen.man maze.man hypercube.man halo.man flame.man \
+                  pedal.man lmorph.man \
+                 bubbles.man bubbles.README
        TARFILES = README Imakefile screenhack.c $(HACKS) screenhack.h \
-                  vroot.h xlock.h default.xbm $(MEN) .gdbinit noses/\*
+                  vroot.h xlock.h default.xbm $(MEN) .gdbinit \
+                 noses/nose.$(STAR) \
+                 bubbles-tools/bubbles$(STAR) \
+                 bubbles-tools/xpm$(STAR) \
+                 bubbles-sources/$(STAR).pov \
+                 bubbles-samples/$(STAR).bub.gz
 
 all::
 
@@ -41,14 +50,16 @@ echo_tarfiles:
 all:: p                                                                         @@\
 p: deps screenhack.h ps.o $(DEPLIBS)                                    @@\
        RemoveTargetProgram($@)                                          @@\
-       $(CC) -o $@ $(LDOPTIONS) deps ps.o $(LDLIBS) $(EXTRA_LOAD_FLAGS) @@\
+       $(CCENVSETUP)                                                      \
+       $(CC) -o $@ $(LDOPTIONS) deps ps.o $(LOCAL_LIBRARIES) $(LDLIBS)  @@\
                                                                         @@\
 InstallProgram(p,$(BINDIR))                                             @@\
 InstallManPage(p,$(MANDIR))                                             @@\
 clean::                                                                         @@\
        $(RM) p
 
-HOBJS=screenhack.o $(UTILS)/resources.o $(UTILS)/usleep.o
+HOBJS=screenhack.o $(UTILS)/resources.o $(UTILS)/visual.o \
+                  $(UTILS)/usleep.o $(UTILS)/yarandom.o
 
 ScreenhackTarget (qix, qix, $(HOBJS) $(UTILS)/hsv.o)
 ScreenhackTarget (helix, helix, $(HOBJS) $(UTILS)/hsv.o)
@@ -68,3 +79,6 @@ ScreenhackTarget (maze, maze, $(HOBJS) $(UTILS)/xroger.o)
 ScreenhackTarget (hypercube, hypercube, $(HOBJS))
 ScreenhackTarget (halo, halo, $(HOBJS) $(UTILS)/hsv.o)
 ScreenhackTarget (flame, flame, $(HOBJS) $(UTILS)/hsv.o)
+ScreenhackTarget (pedal, pedal, $(HOBJS) $(UTILS)/hsv.o)
+ScreenhackTarget (lmorph, lmorph, $(HOBJS))
+ScreenhackTarget (bubbles, bubbles, bubbles_default.o $(HOBJS))