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


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

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

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

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

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

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

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


desc
@@


1.7
log
@clean up (using env variables now)
@
text
@#
# $Id: Makefile,v 1.6 1997/01/29 03:34:08 morgan Exp morgan $
#
# add new applications to this list. the tokens are directory names that
# contain the apps.

APPDIRS = login su passwd

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

dummy:

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

all:
	for i in $(APPDIRS) ; do \
		if [ -d $$i ]; then { \
			$(MAKE) -C $$i all ; \
			if [ $$? -ne 0 ]; then exit 1 ; fi ; \
		} elif [ -f ./.$$i ]; then \
			cat ./.$$i ; \
		fi ; \
	done

install: all
	for i in $(APPDIRS) ; do \
		if [ -d $$i ]; then $(MAKE) -C $$i install ; fi ; \
	done


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

clean:
	rm -f core *~
	for i in $(APPDIRS) ; do \
		if [ -d $$i ]; then $(MAKE) -C $$i clean; fi ; \
	done

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


1.6
log
@update for release
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1996/11/10 15:33:54 morgan Exp morgan $
d18 4
a21 5
		$(MAKE) -C $$i all "CC=$(CC)" "CFLAGS=$(CFLAGS)"  "AR=$(AR)" \
		"RANLIB=$(RANLIB)" "LIBDIR=$(LIBDIR)" \
		"LOADLIBES=$(LOADLIBES)" ; \
		if [ $$? -ne 0 ]; then exit 1 ; fi ; \
		} elif [ -f ./.$$i ]; then cat ./.$$i ; \
@


1.5
log
@only passwd su and login searched for
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.4 1996/06/02 07:12:35 morgan Exp morgan $
d7 1
a7 1
APPDIRS = su passwd login
d18 1
a18 1
		make -C $$i all "CC=$(CC)" "CFLAGS=$(CFLAGS)"  "AR=$(AR)" \
d28 1
a28 1
		if [ -d $$i ]; then make -C $$i install ; fi ; \
d34 1
a34 1
		if [ -d $$i ]; then make -C $$i remove ; fi ; \
d40 1
a40 1
		if [ -d $$i ]; then make -C $$i clean; fi ; \
d45 1
a45 1
		if [ -d $$i ]; then make -C $$i extraclean; fi ; \
@


1.4
log
@deleted variable
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1996/05/26 03:42:17 morgan Exp morgan $
d7 1
a7 1
APPDIRS = su passwd login ftpd rlogind
@


1.3
log
@replaced LOADLIBES with an env variable in toplevel makefile
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1996/05/11 08:17:30 morgan Exp morgan $
d20 1
a20 1
		"INCLUDEDIR=$(SYSINCLUDEDIR)" "LOADLIBES=$(LOADLIBES)" ; \
@


1.2
log
@addded rlogind
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1 1996/05/02 05:22:41 morgan Exp morgan $
a13 2

LOADLIBES = $(PAMLIB) -L`pwd`/../libmisc -lmisc -ldl
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Id$
d7 1
a7 1
APPDIRS = su passwd login ftpd
@
