I got this to work on various Linux distributions. It should work on any system
that has a working xscreensaver. I used xscreensaver-4.05.

Compiling:

1) add 'xlawn.c' to SRCS in xscreensaver-dist/hacks/Makefile
2) add 'xlawn.o' to OBJS in xscreensaver-dist/hacks/Makefile
3) add 'xlawn' to NEXECS in xscreensaver-dist/hacks/Makefile
4) add the following rule to the section of xscreensaver-dist/hacks/Makefile
that follows the 'screenhack.c' API. 

The spacing should be tabbed, not spaced. So if you copy-paste, replace the spaces with tabs.  

xlawn:          xlawn.o         $(HACK_OBJS) $(XPM)
        $(CC_HACK) -o $@ $@.o   $(HACK_OBJS) $(XPM) $(XPM_LIBS)

5) make xlawn

6) Add xlawn to whereever the rest of the hacks get installed and
then add it to your XScreenSaver configuration.

7) The XPMs that came with the source need to be in the same working
directory as the binary.


