77 lines
2.1 KiB
Makefile
77 lines
2.1 KiB
Makefile
# Makefile.in --- xscreensaver, Copyright (c) 1997 Jamie Zawinski.
|
|
# the `../configure' script generates `Makefile' from this file.
|
|
|
|
@SET_MAKE@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
SHELL = /bin/sh
|
|
SUBDIRS = utils driver xlockmore/xlock xlockmore/modes hacks hacks/glx
|
|
TARFILES = README README.VMS README.debugging INSTALL xscreensaver.lsm \
|
|
configure configure.in Makefile.in config.h.in \
|
|
config.h-vms install-sh setup.com config.guess \
|
|
config.sub makevms.com screenblank.txt \
|
|
xscreensaver.lsm.sh
|
|
TAR = gtar
|
|
COMPRESS = gzip --verbose --best
|
|
COMPRESS_EXT = gz
|
|
# COMPRESS = compress
|
|
# COMPRESS_EXT = Z
|
|
|
|
MAKE_SUBDIR = for dir in $(SUBDIRS) ; do ( cd $$dir ; $(MAKE) $@ ) ; done
|
|
|
|
all::
|
|
@$(MAKE_SUBDIR)
|
|
install:
|
|
@$(MAKE_SUBDIR)
|
|
install-program:
|
|
@$(MAKE_SUBDIR)
|
|
install-man:
|
|
@$(MAKE_SUBDIR)
|
|
install-strip:
|
|
@$(MAKE_SUBDIR)
|
|
uninstall:
|
|
@$(MAKE_SUBDIR)
|
|
uninstall-program:
|
|
@$(MAKE_SUBDIR)
|
|
uninstall-man:
|
|
@$(MAKE_SUBDIR)
|
|
depend:
|
|
@$(MAKE_SUBDIR)
|
|
distdepend:
|
|
@$(MAKE_SUBDIR)
|
|
TAGS: tags
|
|
tags:
|
|
@$(MAKE_SUBDIR)
|
|
clean:
|
|
@$(MAKE_SUBDIR)
|
|
distclean: clean
|
|
-rm -f config.h Makefile config.status config.cache config.log *~ "#"*
|
|
@$(MAKE_SUBDIR)
|
|
|
|
dist: tar
|
|
|
|
# This really makes me sick...
|
|
tar:
|
|
@$(MAKE) distdepend ; \
|
|
sh config.status ; \
|
|
sh xscreensaver.lsm.sh > xscreensaver.lsm.$$$$ ; \
|
|
mv xscreensaver.lsm.$$$$ xscreensaver.lsm ; \
|
|
NAME=`sed -n \
|
|
's/[^0-9]*\([0-9]\.[0-9][0-9]*\).*/xscreensaver-\1/p' utils/version.h` ; \
|
|
rm -f $$NAME ; ln -s . $$NAME ; \
|
|
FILES= ; \
|
|
for subdir in $(SUBDIRS) ; do \
|
|
d=`pwd` ; \
|
|
cd $$subdir ; \
|
|
FILES="$$FILES `$(MAKE) echo_tarfiles \
|
|
| grep -v '^.*make\[' \
|
|
| sed \"s|^|$$subdir/|g;s| | $$subdir/|g\" \
|
|
` "; \
|
|
cd $$d ; done ; \
|
|
echo creating tar file $${NAME}.tar.$(COMPRESS_EXT)... ; \
|
|
$(TAR) -vchf - \
|
|
`echo $(TARFILES) $$FILES | sed "s|^|$$NAME/|g; s| | $$NAME/|g" ` \
|
|
| $(COMPRESS) > $${NAME}.tar.$(COMPRESS_EXT) ; \
|
|
rm $$NAME
|