head	1.3;
access;
symbols
	Linux-PAM-0-66:1.3
	PRE_REL_0_66:1.1.1.1
	OPEN_SOURCE:1.1.1;
locks; strict;
comment	@# @;


1.3
date	98.12.27.04.26.22;	author morgan;	state Exp;
branches;
next	1.2;

1.2
date	98.12.14.06.01.19;	author morgan;	state Exp;
branches;
next	1.1;

1.1
date	98.07.12.05.17.15;	author morgan;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.07.12.05.17.15;	author morgan;	state Exp;
branches;
next	;


desc
@@


1.3
log
@added hook for easy-download of more modules.. (please submit patches telling
this file where to look).
@
text
@# $Id: Makefile,v 1.2 1998/12/14 06:01:19 morgan Exp $
#
# Makefile
#
# This makefile controls the build process of shared and static PAM modules.
#
#

MODDIRS=$(shell /bin/ls -d pam_*)

# ////////////////////////////////////////////////////
# // You should not modify anything below this line //
# ////////////////////////////////////////////////////

dummy:
	@@echo	"*** This is not a top-level Makefile! ***"

# -----------------------------------------------------------

all:	
	@@echo modules for $(OS) are:
	@@ls -d $(MODDIRS) 2>/dev/null ; echo :--------
	@@echo
ifdef STATIC
	rm -f ./_static_module_*
endif
	@@for i in $(MODDIRS) ; do \
		if [ -d $$i ]; then { \
		   $(MAKE) -C $$i all ; \
		   if [ $$? -ne 0 ]; then exit 1 ; fi ; \
		} elif [ -f ./.$$i ]; then { \
		   cat ./.$$i ; \
		} fi ; \
	done

download:
	@@./download-all

install:
	for i in $(MODDIRS) ; do \
		if [ -d $$i ]; then { \
		$(MAKE) -C $$i install ; \
		if [ $$? -ne 0 ]; then exit 1 ; fi ; \
		} fi ; \
	done

remove:
	for i in $(MODDIRS) ; do \
		if [ -d $$i ]; then { \
			$(MAKE) -C $$i remove ; \
		} fi ; \
	done

lclean:
	rm -f _static_module_*

clean: lclean
	for i in $(MODDIRS) ; do \
		if [ -d $$i ]; then { \
			$(MAKE) -C $$i clean ; \
		} fi ; \
	done 

extraclean: lclean
	for i in $(MODDIRS) ; do \
		if [ -d $$i ]; then \
			$(MAKE) -C $$i extraclean ; \
		fi ; \
	done

@


1.2
log
@junked these files.  They were becoming silly to maintain
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1.1.1 1998/07/12 05:17:15 morgan Exp $
d35 3
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.21 1997/04/05 06:44:43 morgan Exp morgan $
a6 3
# $Log: Makefile,v $
# Revision 1.21  1997/04/05 06:44:43  morgan
# pam_env and pam_tally added
a7 63
# Revision 1.20  1997/02/15 18:57:11  morgan
# fixed bash syntax
#
# Revision 1.19  1997/01/04 20:21:32  morgan
# moved responsibility of conditional compilation to modules (more flexible)
#
# Revision 1.18  1996/12/01 03:34:40  morgan
# update for .54
#
# Revision 1.17  1996/11/10 20:20:15  morgan
# cross platform support and new modules
#
# Revision 1.16  1996/09/05 06:20:45  morgan
# added two modules: listfile and shells
#
# Revision 1.15  1996/08/09 05:38:28  morgan
# added new/proposed modules.
# fixed makefile installation dependencies
#
# Revision 1.14  1996/07/08 00:00:33  morgan
# added wheel and group modules
#

MODDIRS=\
	pam_access \
	pam_afs \
	pam_afsauth \
	pam_afspass \
	pam_afstok \
	pam_cracklib \
	pam_deny \
	pam_desgold \
	pam_env \
	pam_filter \
	pam_ftp \
	pam_group \
	pam_kerberos \
	pam_krb4 \
	pam_lastlog \
	pam_listfile \
	pam_limits \
	pam_mail \
	pam_nologin \
	pam_opie \
	pam_passwd+ \
	pam_permit \
	pam_pwdb \
	pam_radius \
	pam_restrict \
	pam_rhosts \
	pam_rootok \
	pam_securetty \
	pam_shells \
	pam_sid \
	pam_skey \
	pam_skey2 \
	pam_stress \
	pam_syslog \
	pam_tally \
	pam_time \
	pam_unix \
	pam_warn \
	pam_wheel
d9 1
@


1.1.1.1
log
@Linux PAM sources pre-0.66
@
text
@@
