head	1.29;
access;
symbols;
locks; strict;
comment	@# @;


1.29
date	97.01.04.19.02.41;	author morgan;	state Exp;
branches;
next	1.28;

1.28
date	96.12.01.03.29.52;	author morgan;	state Exp;
branches;
next	1.27;

1.27
date	96.11.10.21.34.29;	author morgan;	state Exp;
branches;
next	1.26;

1.26
date	96.09.05.06.55.22;	author morgan;	state Exp;
branches;
next	1.25;

1.25
date	96.08.09.06.31.24;	author morgan;	state Exp;
branches;
next	1.24;

1.24
date	96.07.08.00.07.53;	author morgan;	state Exp;
branches;
next	1.23;

1.23
date	96.06.24.06.08.07;	author morgan;	state Exp;
branches;
next	1.22;

1.22
date	96.06.02.08.51.22;	author morgan;	state Exp;
branches;
next	1.21;

1.21
date	96.05.26.16.06.00;	author morgan;	state Exp;
branches;
next	1.20;

1.20
date	96.05.26.04.40.53;	author morgan;	state Exp;
branches;
next	1.19;

1.19
date	96.05.26.03.40.22;	author morgan;	state Exp;
branches;
next	1.18;

1.18
date	96.05.21.05.43.38;	author morgan;	state Exp;
branches;
next	1.17;

1.17
date	96.05.11.08.33.55;	author morgan;	state Exp;
branches;
next	1.16;

1.16
date	96.05.02.06.12.09;	author morgan;	state Exp;
branches;
next	1.15;

1.15
date	96.04.07.08.20.23;	author morgan;	state Exp;
branches;
next	1.14;

1.14
date	96.04.07.05.47.08;	author morgan;	state Exp;
branches;
next	1.13;

1.13
date	96.03.17.02.53.47;	author morgan;	state Exp;
branches;
next	1.12;

1.12
date	96.03.16.18.30.58;	author morgan;	state Exp;
branches;
next	1.11;

1.11
date	96.03.11.06.28.48;	author morgan;	state Exp;
branches;
next	1.10;

1.10
date	96.03.10.20.14.52;	author morgan;	state Exp;
branches;
next	1.9;

1.9
date	96.03.10.19.56.36;	author morgan;	state Exp;
branches;
next	1.8;

1.8
date	96.03.10.19.28.17;	author morgan;	state Exp;
branches;
next	1.7;

1.7
date	96.03.09.20.40.57;	author morgan;	state Exp;
branches;
next	1.6;

1.6
date	96.03.09.19.59.37;	author morgan;	state Exp;
branches;
next	1.5;

1.5
date	96.03.09.19.46.12;	author morgan;	state Exp;
branches;
next	1.4;

1.4
date	96.03.09.09.25.11;	author morgan;	state Exp;
branches;
next	1.3;

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

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

1.1
date	96.03.09.06.31.24;	author morgan;	state Exp;
branches;
next	;


desc
@Makefile for the Linux-PAM library and modules
@


1.29
log
@make -> $(MAKE)
@
text
@##
## $Id: Makefile,v 1.28 1996/12/01 03:29:52 morgan Exp morgan $
##
## $Log: Makefile,v $
## Revision 1.28  1996/12/01 03:29:52  morgan
## update for .54
##
##

# this should be the name of this directory
RELNAME = Linux-PAM-0.55

# this is the name of the archive file
DISTFILE = $(RELNAME).tar.gz

# Comment out either line to disable that type of linking for *modules only*
# Both at once is a legal configuration!
DYNAMIC=-DPAM_DYNAMIC
#STATIC=-DPAM_STATIC

# Comment out these lines to disable building dynamic/static libpam.*
DYNAMIC_LIBPAM=yes
#STATIC_LIBPAM=yes

# All combinations of the above four variable definitions are legal,
# however, not defining either dynamic or static modules and yet
# creating a some flavor of LIBPAM will make an authentication library
# that always fails!

# Here we indicate which libraries are present on the local system
# they control the building of some modules in this distribution
# Note, these definitions are all "export"ed below...

HAVE_PWDBLIB=yes
HAVE_CRACKLIB=yes
HAVE_AFSLIBS=no
HAVE_KRBLIBS=no

# NB. The following is the generic defines for compilation.
# They can be overridden in the default.defs file below
#
WARNINGS = -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings \
        -Wpointer-arith -Wcast-qual -Wcast-align \
        -Wtraditional -Wstrict-prototypes -Wmissing-prototypes \
        -Wnested-externs -Winline -Wshadow -pedantic
PIC=-fPIC

# Here we include the defines for the preferred operating system
# these include things like CC, CFLAGS and destination directories 
# etc.. By default, this is a symbolic link to one of the .defs files
# the .../defs/ directory. Please take a moment to check that you are
# using the correct one.

include default.defs

# Uncomment this for the pam_fail_delay() libpam function to be
# activated. There is an example of how it might be used in
# examples/blank.c and also in the pam_unix module
EXTRAS += -DPAM_FAIL_DELAY_ON

# to turn on the fprintf(stderr, ..) debugging lines throughout the
# distribution uncomment this line
#EXTRAS += -DDEBUG

#
# Changing the next defines requires that you 'make sterile'
# before you next do a generic make.
#

# For serious memory allocation tracing uncomment the following
#MEMORY_DEBUG=-DMEMORY_DEBUG

#######################################################################
# The pam_unix module in this file will not work on NIS based systems.#
#######################################################################

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

# the sub-directories to make things in

DIRS = modules libpam conf libpam_misc examples

#
# Conditional defines..
#

ifdef DYNAMIC
# need the dynamic library functions
LIBDL=-ldl
ifdef STATIC_LIBPAM
# needed because pam_xxx() fn's are now in statically linked library
RDYNAMIC = -rdynamic
endif
endif

#
# basic defines
#

INCLUDEDIR=-I$(shell pwd)/include
PAMLIB=-L$(shell pwd)/libpam -lpam

# This is Linux-PAM and not a version from Sun etc..
# [Note, this does not describe the operating system you are using
# only that you are compiling the "Linux" (read FREE) implementation
# of Pluggable Authentication Modules.
EXTRAS += -DLINUX_PAM

#
# build composite defines
#

LOADLIBES = $(PAMLIB) $(RDYNAMIC) -L$(shell pwd)/libpam_misc -lpam_misc \
	$(LIBDL) $(ULIBS)
CFLAGS += $(EXTRAS) $(MEMORY_DEBUG) $(WARNINGS) $(INCLUDEDIR) $(PIC)

#
# export the libraries-available info; the modules should know how
# to deal with this...
#
export HAVE_PWDBLIB		
export HAVE_CRACKLIB
export HAVE_AFSLIBS
export HAVE_KRBLIBS

#
# generic exports
#
export OS			# operating system
export ARCH			# architecture
export CC			# the C compiler
export INSTALL			# to do instalations with
export MKDIR			# to ensure directories exist
export CFLAGS			# CC flags used to compile everything
export LD_D			# build a shared object file (module)
export LD			# build a generic library
export LDCONFIG			# rebuild the shared libraries
export AR			# build a static library
export RANLIB			# reorder a static library
export LOADLIBES		# libraries needed for application linking
export PAMLIB			# where to find the local libpam.xx file
#
# where to install things
#
export PREFIX			# the basic prefix for all other directories
export INCLUDED			# where to store pam---.h files
export SUPLEMENTED		# where to store module helper binaries
export CONFIGED			# where pam.conf file goes
export LIBDIR			# where libpam and libpam_misc go
export SECUREDIR		# where the modules will be placed

#
# Conditional exporting ( ... these go on for a while... )
#
ifdef DYNAMIC 
export DYNAMIC
endif
ifdef STATIC
export STATIC
endif
ifdef DYNAMIC_LIBPAM
export DYNAMIC_LIBPAM
endif
ifdef STATIC_LIBPAM
export STATIC_LIBPAM
endif
ifdef MEMORY_DEBUG
export MEMORY_DEBUG
endif

##
## the rules
##

all: .freezemake
	@@for i in $(DIRS) ; do \
		$(MAKE) -C $$i all ; \
		if [ $$? -ne 0 ]; then break ; fi ; \
	done

.freezemake: Makefile
	@@touch .freezemake
	@@echo "*WARNING*: If you are running a system that is dependent"
	@@echo "  on PAM to work. DO NOT make sterile NOR make remove."
	@@echo "  These options will delete the PAM files on your system"
	@@echo "  and make it unusable!"
	@@echo ""
	@@echo "If you are in any doubt, just do 'make all' (or just"
	@@echo "'make'). It is likely that this is the SAFEST thing to do...."
	@@exit 1

install:
	@@for i in $(DIRS) ; do \
		$(MAKE) -C $$i install ; \
		if [ $$? -ne 0 ]; then break ; fi ; \
	done

sterile: .freezemake
	@@$(MAKE) remove
	@@$(MAKE) extraclean

remove: .freezemake
	@@for i in $(DIRS) ; do \
		$(MAKE) -C $$i remove ; \
	done

clean:
	@@rm -f *~ core
	@@for i in $(DIRS) ; do \
		$(MAKE) -C $$i clean ; \
	done

extraclean:
	@@for i in $(DIRS) doc; do \
		$(MAKE) -C $$i extraclean ; \
	done

check:
	@@$(MAKE) -C conf check

RCScheck:
	@@$(MAKE) -C conf RCScheck

# this can be used to see what hasn't been check'd into RCS

open:
	@@find . \( -type f -a -perm 644 \) -print

release:
	@@$(MAKE) extraclean
	@@rm -f .filelist .RCSlist .freezemake
	@@cd .. ; find $(RELNAME) \! -type d -print | grep -v RCS | grep -v 'conf/.md5sum' > $(RELNAME)/.filelist
	@@chmod 444 .filelist
	@@$(MAKE) check
	@@(cat .filelist ; echo $(RELNAME)/conf/.md5sum) | (cd .. ; tar -cz -f$(DISTFILE) -T-)
	@@cd .. ; find $(RELNAME) -type f -print | grep RCS | fgrep -v 'conf/.RCSsum' > $(RELNAME)/.RCSlist
	@@chmod 444 .RCSlist
	@@$(MAKE) RCScheck
	@@(cat .RCSlist ; echo $(RELNAME)/conf/.RCSsum) | (cd .. ; tar -cz -fRCS+$(DISTFILE) -T-)
@


1.28
log
@update for .54
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.27 1996/11/10 21:34:29 morgan Exp morgan $
d5 2
a6 8
## Revision 1.27  1996/11/10 21:34:29  morgan
## *** empty log message ***
##
## Revision 1.26  1996/09/05 06:55:22  morgan
## update for .52
##
## Revision 1.25  1996/08/09 06:31:24  morgan
## reorganized to make better use of prefix directories and updated for .51
d11 1
a11 1
RELNAME = Linux-PAM-0.54
d30 9
d120 9
a130 1

d179 1
a179 1
		make -C $$i all ; \
d196 1
a196 1
		make -C $$i install ; \
d201 2
a202 2
	@@make remove
	@@make extraclean
d206 1
a206 1
		make -C $$i remove ; \
d212 1
a212 1
		make -C $$i clean ; \
d217 1
a217 1
		make -C $$i extraclean ; \
d221 1
a221 1
	@@make -C conf check
d224 1
a224 1
	@@make -C conf RCScheck
d232 1
a232 1
	@@make extraclean
d236 1
a236 1
	@@make check
d240 1
a240 1
	@@make RCScheck
@


1.27
log
@*** empty log message ***
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.26 1996/09/05 06:55:22 morgan Exp morgan $
d5 3
d17 1
a17 1
RELNAME = Linux-PAM-0.53
d68 1
a68 1
MEMORY_DEBUG=-DMEMORY_DEBUG
d167 1
a167 2
	@@echo $(LD_D)
	for i in $(DIRS) ; do \
d173 9
a181 3
	touch .freezemake
	@@echo "Reminder: did you 'make sterile' first?"
	exit 1
d184 1
a184 1
	for i in $(DIRS) ; do \
d189 1
a189 1
sterile:
d193 2
a194 2
remove:
	for i in $(DIRS) ; do \
d199 2
a200 2
	rm -f *~ core
	for i in $(DIRS) ; do \
d205 1
a205 1
	for i in $(DIRS) doc; do \
d210 1
a210 1
	make -C conf check
d213 1
a213 1
	make -C conf RCScheck
d218 1
a218 1
	find . \( -type f -a -perm 644 \) -print
d222 3
a224 3
	rm -f .filelist .RCSlist .freezemake
	cd .. ; find $(RELNAME) \! -type d -print | grep -v RCS | grep -v 'conf/.md5sum' > $(RELNAME)/.filelist
	chmod 444 .filelist
d226 3
a228 3
	(cat .filelist ; echo $(RELNAME)/conf/.md5sum) | (cd .. ; tar -cz -f$(DISTFILE) -T-)
	cd .. ; find $(RELNAME) -type f -print | grep RCS | fgrep -v 'conf/.RCSsum' > $(RELNAME)/.RCSlist
	chmod 444 .RCSlist
d230 1
a230 1
	(cat .RCSlist ; echo $(RELNAME)/conf/.RCSsum) | (cd .. ; tar -cz -fRCS+$(DISTFILE) -T-)
@


1.26
log
@update for .52
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.25 1996/08/09 06:31:24 morgan Exp morgan $
d5 3
d14 1
a14 1
RELNAME = Linux-PAM-0.52
a21 1
export DYNAMIC
a22 1
#export STATIC
a25 1
export DYNAMIC_LIBPAM
a26 1
#export STATIC_LIBPAM
a27 1
#
d32 3
d36 11
d48 1
a48 1
EXTRAS=
d53 1
d55 3
a57 1
EXTRAS += -DPAM_FAIL_DELAY_ON
d60 2
a61 2
# Some prefixes. These control where the various parts of the distribution
# are to be placed.
d64 2
a65 5
# a general prefix for convenience
PPFIX=

PREFIX=$(PPFIX)/usr
export PREFIX		# the basic prefix for all other directories
d67 3
a69 14
INCLUDED=$(PPFIX)/usr/include/security
export INCLUDED		# where to store pam---.h files

SUPLEMENTED=$(PREFIX)/sbin
export SUPLEMENTED	# where to store module helper binaries

CONFIGED=$(PPFIX)/etc
export CONFIGED		# where pam.conf file goes

LIBDIR=$(PREFIX)/lib
export LIBDIR		# where libpam and libpam_misc will be installed

SECUREDIR=$(LIBDIR)/security
export SECUREDIR	# where the modules will be placed
a78 40
# this is the only C-compiler that we are using...
CC=gcc
export CC

# stuff for building/linking libraries
AR=ar -cr
export AR
LD_D=gcc -shared -Xlinker "-x"
export LD_D
LD=ld
export LD
RANLIB=ranlib
export RANLIB
LDCONFIG=/sbin/ldconfig
export LDCONFIG

#
# the shared library for including by applications... [eventutally,
# this should be replaced with an absolute path since there may be
# some security issue involved with respect to LD_LIBRARY_PATH?]  this
# uses the libpam/libpam.so file for compilation but the system
# library for running... So 'make install' before you try it!
#

PAMLIB=-L$(shell pwd)/libpam -lpam # -lefence
export PAMLIB

# build the FLAGS for gcc
CFLAG=-O7 -pipe $(EXTRAS) # -ggdb
DEBUG= -g #-DDEBUG
INCLUDEDIR=$(shell pwd)/include
WARNINGS = -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings \
        -Wpointer-arith -Wcast-qual -Wcast-align \
        -Wtraditional -Wstrict-prototypes -Wmissing-prototypes \
        -Wnested-externs -Winline -Wshadow -pedantic
# -Wenum-clash

CFLAGS = -DLINUX $(WARNINGS) $(DEBUG) $(CFLAG) -I$(INCLUDEDIR) -fPIC
export CFLAGS

d80 1
a80 2
# the following is used for linking the executables in examples:
# this ifdef is needed because the functions will be in the executable
d84 1
d87 2
a88 2
RDYNAMIC = -rdynamic	# needed to indicate that the pam_xxx() functions
			# are in the statically linked library
d93 5
d99 5
a103 4
LOADLIBES = $(PAMLIB) $(RDYNAMIC) \
	-L$(shell pwd)/libpam_misc -lpam_misc \
	$(LIBDL)
export LOADLIBES
d105 55
d161 1
d164 1
d197 1
a197 1
	for i in $(DIRS) ; do \
@


1.25
log
@reorganized to make better use of prefix directories and updated for .51
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.24 1996/07/08 00:07:53 morgan Exp morgan $
d5 3
d11 1
a11 1
RELNAME = Linux-PAM-0.51
d36 2
d40 1
a40 1
# examples/blank.c
d42 1
a42 1
#EXTRAS= -DPAM_FAIL_DELAY_ON
d85 2
@


1.24
log
@updated for .50 added option to compile pam_fail_delay() functionality
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.22 1996/06/02 08:51:22 morgan Exp morgan $
d8 1
a8 1
RELNAME = Linux-PAM-0.50
d37 27
a63 1
EXTRAS= -DPAM_FAIL_DELAY_ON
d69 5
d75 3
a77 2
CFLAG=-O7 -pipe $(EXTRAS) # -ggdb
DEBUG= -g #-DDEBUG
d79 1
d81 1
d83 1
d85 1
d87 1
a87 2
INCLUDEDIR=$(shell pwd)/include

d93 1
d96 1
d98 12
a109 4
PREFIX=/usr
SYSINCLUDES=$(PREFIX)/include/security
LIBDIR=$(PREFIX)/lib
SECUREDIR=/usr/lib/security
d115 1
d119 2
a120 1
RDYNAMIC = -rdynamic
d123 1
d125 1
a129 9
#

DIRS = modules libpam conf libpam_misc examples # apps

WARNINGS = -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings \
        -Wpointer-arith -Wcast-qual -Wcast-align \
        -Wtraditional -Wstrict-prototypes -Wmissing-prototypes \
        -Wnested-externs -Winline -Wshadow -pedantic
# -Wenum-clash
d131 1
a131 2
CFLAGS  = -DLINUX $(WARNINGS) $(DEBUG) $(CFLAG) -I$(INCLUDEDIR) -fPIC
export CFLAGS
d135 1
a135 4
		make -C $$i all "CC=$(CC)" "AR=$(AR)" \
		"RANLIB=$(RANLIB)" "LIBDIR=$(LIBDIR)" \
		"INCLUDEDIR=$(SYSINCLUDES)" "PAMLIB=$(PAMLIB)" \
		"LDCONFIG=$(LDCONFIG)" ; \
d146 1
a146 4
		make -C $$i install "CC=$(CC)" "AR=$(AR)" \
		"RANLIB=$(RANLIB)" "LIBDIR=$(LIBDIR)" "PAMLIB=$(PAMLIB)" \
		"INCLUDEDIR=$(SYSINCLUDES)" "SECUREDIR=$(SECUREDIR)" \
		"LDCONFIG=$(LDCONFIG)" ; \
d156 1
a156 3
		make -C $$i remove  "LIBDIR=$(LIBDIR)" \
		"INCLUDEDIR=$(SYSINCLUDES)" "SECUREDIR=$(SECUREDIR)" \
		"LDCONFIG=$(LDCONFIG)" ; \
@


1.23
log
@updated for .43
@
text
@a4 2
## Revision 1.22  1996/06/02 08:51:22  morgan
## update for .42
d8 1
a8 1
RELNAME = Linux-PAM-0.43
d33 6
d44 1
a44 1
CFLAG=-O7 -pipe # -ggdb
d59 1
a59 2
PAMLIB=-L$(shell pwd)/libpam -lpam
# -lefence
d67 1
a67 1
# the following is used for linking the executables in apps and examples:
d77 3
a79 1
LOADLIBES = $(PAMLIB) $(RDYNAMIC) -L$(shell pwd)/libmisc -lmisc $(LIBDL)
d83 1
a83 1
DIRS = modules libpam conf libmisc apps examples
@


1.22
log
@update for .42
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.22 1996/06/02 08:42:19 morgan Exp $
d5 2
a6 3
## Revision 1.22  1996/06/02 08:42:19  morgan
## many changes, updated for .42
##
d10 1
a10 1
RELNAME = Linux-PAM-0.42
@


1.21
log
@updated version
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.20 1996/05/26 04:40:53 morgan Exp morgan $
d5 2
a6 2
## Revision 1.20  1996/05/26 04:40:53  morgan
## clean .freezemake too
a7 9
## Revision 1.19  1996/05/26 03:40:22  morgan
## added Michael's patches.
## added 'sterile', made static linking optional
##
## Revision 1.18  1996/05/21 05:43:38  morgan
## updated for .34
##
## Revision 1.17  1996/05/11 08:33:55  morgan
## updated for .33 and added LDCONFIG variable
d11 1
a11 1
RELNAME = Linux-PAM-0.41
d31 3
a33 2
# however, not defining static modules and yet creating a STATIC_LIBPAM
# will make an authentication library that always fails!
d68 2
d73 1
d75 1
a75 1
LOADLIBES = $(PAMLIB) $(RDYNAMIC) -L$(shell pwd)/libmisc -lmisc -ldl
d94 1
a94 1
		"INCLUDEDIR=$(SYSINCLUDEDIR)" "PAMLIB=$(PAMLIB)" \
d101 1
a101 1
	@@echo "Makefile changed: as root you should 'make sterile'..."
@


1.20
log
@clean .freezemake too
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.19 1996/05/26 03:40:22 morgan Exp morgan $
d5 3
d20 1
a20 1
RELNAME = Linux-PAM-0.40
@


1.19
log
@added Michael's patches.
added 'sterile', made static linking optional
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.18 1996/05/21 05:43:38 morgan Exp morgan $
d5 4
d150 1
a150 1
	rm -f .filelist .RCSlist
@


1.18
log
@updated for .34
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.17 1996/05/11 08:33:55 morgan Exp morgan $
d5 3
d13 1
a13 1
RELNAME = Linux-PAM-0.34
d18 19
d42 1
a42 1
CFLAG=-O7 -pipe
d49 1
a49 1
INCLUDEDIR=`pwd`/include
d57 1
a57 1
PAMLIB=-L`pwd`/libpam -lpam
d65 13
a77 1
DIRS = libpam conf libmisc modules apps examples
d86 1
d88 1
a88 1
all:	
d90 1
a90 1
		make -C $$i all "CC=$(CC)" "CFLAGS=$(CFLAGS)"  "AR=$(AR)" \
d97 5
d104 1
a104 1
		make -C $$i install "CC=$(CC)" "CFLAGS=$(CFLAGS)"  "AR=$(AR)" \
d110 4
@


1.17
log
@updated for .33 and added LDCONFIG variable
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.16 1996/05/02 06:12:09 morgan Exp morgan $
d5 2
a6 5
## Revision 1.16  1996/05/02 06:12:09  morgan
## updated for 0.32 release
##
##
## See RCS log for pre 1.15
d10 1
a10 1
RELNAME = Linux-PAM-0.33
@


1.16
log
@updated for 0.32 release
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.15 1996/04/07 08:20:23 morgan Exp morgan $
d5 3
d13 1
a13 1
RELNAME = Linux-PAM-0.32
d60 2
a61 1
		"INCLUDEDIR=$(SYSINCLUDEDIR)" "PAMLIB=$(PAMLIB)" ; \
d77 2
a78 1
		"INCLUDEDIR=$(SYSINCLUDES)" "SECUREDIR=$(SECUREDIR)" ; \
@


1.15
log
@fixed some grammer(!)
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.14 1996/04/07 05:47:08 morgan Exp morgan $
a4 2
## Revision 1.14  1996/04/07 05:47:08  morgan
## updated version number
d6 1
a6 2
##
## See RCS log for pre 1.13
d10 1
a10 1
RELNAME = Linux-PAM-0.31
d25 1
d43 1
a43 1
DIRS = libpam conf libmisc modules test examples # doc
d65 2
a66 1
		"INCLUDEDIR=$(SYSINCLUDES)" "SECUREDIR=$(SECUREDIR)" ; \
@


1.14
log
@updated version number
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.13 1996/03/17 02:53:47 morgan Exp morgan $
d5 3
d32 4
a35 4
# this should be replaced with an absolute path since if there may
# be some security issue involved with respect to LD_LIBRARY_PATH?]
# this uses the libpam/libpam.so file for compilation but the system
# library for running... So make install before you try it!
d53 1
a53 1
CFLAGS  = $(WARNINGS) $(DEBUG) $(CFLAG) -I$(INCLUDEDIR) -fPIC
@


1.13
log
@another .RCS md5 recursive problem fixed!
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.12 1996/03/16 18:30:58 morgan Exp morgan $
a4 4
## Revision 1.12  1996/03/16 18:30:58  morgan
## added 'remove' option for deleting the Linux-PAM files that are
## installed on the system. All this does is pass 'remove' to all of the
## subdirectory Makefile.
d6 1
a6 3
##
##
## See RCS log for pre 1.11
d10 1
a10 1
RELNAME = Linux-PAM-0.3
d35 1
@


1.12
log
@added 'remove' option for deleting the Linux-PAM files that are
installed on the system. All this does is pass 'remove' to all of the
subdirectory Makefile.
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.11 1996/03/11 06:28:48 morgan Exp morgan $
d5 5
d108 1
a108 1
	cd .. ; find $(RELNAME) -type f -print | grep RCS | grep -v 'conf/.RCSsum' > $(RELNAME)/.RCSlist
@


1.11
log
@version 0.3 now
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.10 1996/03/10 20:14:52 morgan Exp morgan $
a4 2
## Revision 1.10  1996/03/10 20:14:52  morgan
## oops!: made the RCS+..tar file contain .RCSlist.
a5 24
## Revision 1.9  1996/03/10 19:56:36  morgan
## excluded md5 checksum files from md5 checksum computation ;]
##
## Revision 1.8  1996/03/10 19:28:17  morgan
## added make open to list the files that have not been checked with RCS.
##
## Revision 1.7  1996/03/09 20:40:57  morgan
## tidied PAMLIB use
##
## Revision 1.6  1996/03/09 19:59:37  morgan
## added LIBPAM variable
##
## Revision 1.5  1996/03/09 19:46:12  morgan
## *** empty log message ***
##
## Revision 1.4  1996/03/09 09:25:11  morgan
## really fixed ar confusion
##
## Revision 1.3  1996/03/09 09:20:09  morgan
## fixed AR definition
##
## Revision 1.2  1996/03/09 09:02:46  morgan
## added error checking. The makefile now bails out when it gets an
## error.
d7 1
d58 1
a58 1
	  done
d66 7
a72 1
	  done
@


1.10
log
@oops!: made the RCS+..tar file contain .RCSlist.
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.9 1996/03/10 19:56:36 morgan Exp morgan $
d5 3
d36 1
a36 1
RELNAME = Linux-PAM-0.21
@


1.9
log
@excluded md5 checksum files from md5 checksum computation ;]
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.8 1996/03/10 19:28:17 morgan Exp morgan $
d5 3
d118 2
a119 2
	(cat .filelist ; echo $(RELNAME)/conf/.md5sum) | (cd .. ; tar -czv -f$(DISTFILE) -T-)
	cd .. ; find $(RELNAME) \! -type d -print | grep RCS | grep -v 'conf/.RCSsum' > $(RELNAME)/.RCSlist
d122 1
a122 1
	(cat .RCSlist ; echo $(RELNAME)/conf/.RCSsum) | (cd .. ; tar -czv -fRCS+$(DISTFILE) -T-)
@


1.8
log
@added make open to list the files that have not been checked with RCS.
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.7 1996/03/09 20:40:57 morgan Exp morgan $
d5 3
d112 1
a112 1
	cd .. ; find $(RELNAME) \! -type d -print | grep -v conf/.md5sum | grep -v RCS > $(RELNAME)/.filelist
d116 1
a116 1
	cd .. ; find $(RELNAME) \! -type d -print | grep RCS | grep -v conf/.RCSsum > $(RELNAME)/.RCSlist
@


1.7
log
@tidied PAMLIB use
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.6 1996/03/09 19:59:37 morgan Exp morgan $
d5 3
d47 1
a47 1
# be some security issue involved with respect to LD_LIBRARY_PATH ]
d58 1
a58 1
DIRS = libpam conf libmisc modules test examples doc
a90 1
	rm -f *~ core bin/*
d95 11
d108 9
a116 5
	rm -f .filelist
#	cd .. ; tar zcvf $(DISTFILE) $(RELNAME)
	cd .. ; find $(RELNAME) -type f -print | grep -v RCS \
		| grep -v $(DISTFILE) > $(RELNAME)/.filelist
#	cd .. ; tar -czv -f$(DISTFILE) -T.filelist`
@


1.6
log
@added LIBPAM variable
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.5 1996/03/09 19:46:12 morgan Exp morgan $
d5 3
d48 1
a48 1
LIBPAM=-L`pwd`/libpam -lpam
@


1.5
log
@*** empty log message ***
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.4 1996/03/09 09:25:11 morgan Exp morgan $
d5 3
d39 8
d66 1
a66 1
		"INCLUDEDIR=$(SYSINCLUDEDIR)" ; \
d73 1
a73 1
		"RANLIB=$(RANLIB)" "LIBDIR=$(LIBDIR)" \
@


1.4
log
@really fixed ar confusion
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.3 1996/03/09 09:20:09 morgan Exp morgan $
d5 3
d29 1
a48 1
DEBUG   = -g #-DDEBUG
@


1.3
log
@fixed AR definition
@
text
@d2 1
a2 1
## $Id: Makefile,v 1.2 1996/03/09 09:02:46 morgan Exp morgan $
d5 3
d27 1
a46 3
AR = ar
LD=ld
RANLIB=ranlib
@


1.2
log
@added error checking. The makefile now bails out when it gets an
error.
@
text
@d2 6
a7 1
## $Id$
a8 1
## $Log$
d23 1
a23 1
AR=ar r
@


1.1
log
@Initial revision
@
text
@d1 15
a15 15
# $Id: Makefile,v 1.2 1996/02/17 22:01:29 alex Exp alex $
# 
# Makefile
#
# This Makefile controls buid of the PAM subsystem for Linux.
#
# $Log: Makefile,v $
# Revision 1.2  1996/02/17 22:01:29  alex
# small bugs fixed
#
# Revision 1.1  1996/02/08 04:12:18  alex
# Initial revision
#
# Manual revisions by Andrew Morgan <morgan@@physics.ucla.edu> 1996/3/6
#
d29 1
a29 11
# ////////////////////////////////////////////////////
# // You should not modify anything below this line //
# ////////////////////////////////////////////////////

# this should be the name of this directory
RELNAME = Linux-PAM-0.21

# this is the name of the archive file
DISTFILE = $(RELNAME).tar.gz

DIRS = libpam conf libmisc modules test examples
d39 3
d48 1
d51 1
a51 1
install:	
d56 1
d77 1
a77 1
#	cd .. ; tar czvf $(DISTFILE) `cat .filelist`
@
