############################################################
#
# $Id : Makefile.in 4.04 1997/07/10 $
#
# xlockmore Makefile.in for autoconf (UNIX/VMS X11 support)
############################################################

SUBDIRS = xlock modes/glx modes xmlock xalock

MAKE_SUBDIR = for dir in $(SUBDIRS) ; do ( cd $$dir ; $(MAKE) $@ ) ; done
# convenient not to use configure just to clean
MAKEIN_SUBDIR = for dir in $(SUBDIRS) ; do ( cd $$dir ; $(MAKE) -f Makefile.in $@ ) ; done

all :
	@$(MAKE_SUBDIR)

# this tells GNU make not to export variables into the environment
# But other makes do not understand its significance, so it must
# not be the first target in the file. So it is here, before
# any variables are created, but after the default target
.NOEXPORT :

SHELL = /bin/sh

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@/

TAR = tar
RM = rm -f

VER = xlockmore
DISTVER = xlockmore-4.04

install :
	@$(MAKE_SUBDIR)

install-program :
	@$(MAKE_SUBDIR)

install-man :
	@$(MAKE_SUBDIR)

install-ad :
	@$(MAKE_SUBDIR)

uninstall :
	@$(MAKE_SUBDIR)

uninstall-program :
	@$(MAKE_SUBDIR)

uninstall-man :
	@$(MAKE_SUBDIR)

depend :
	@$(MAKE_SUBDIR)

lint :
	@$(MAKE_SUBDIR)

xrdb :
	@$(MAKE_SUBDIR)

man :
	@$(MAKE_SUBDIR)

html :
	@$(MAKE_SUBDIR)

hlp :
	@$(MAKE_SUBDIR)

clean :
	$(RM) core *~ *% *.bak *.orig make.log MakeOut
	@$(MAKEIN_SUBDIR)

distclean : clean
	$(RM) -f Makefile config.status config.cache config.log config.h
	@$(MAKEIN_SUBDIR)

Makefile : Makefile.in config.status
	$(SHELL) config.status
config.status : configure
	$(SHELL) config.status --recheck
#configure : configure.in
# enable this rule if you want autoconf to be executed automatically when
# configure.in is changed. This is commented out, since patching might give
# configure.in a newer timestamp than configure and not everybody has autoconf
#	cd $(srcdir); autoconf

clean.all : distclean

tar : distclean
	cd .. ; $(TAR) cvf $(VER).tar $(VER)/*

compress : tar
	cd .. ; compress -f $(VER).tar

gzip : tar
	cd .. ; gzip -best -f $(VER).tar

dist : gzip

tgz : tar
	cd .. ; gzip -best -c $(VER).tar > `echo $(VER) | cut -c1-8`.tgz ; \
$(RM) $(VER).tar

read :
	more README
