head	1.10;
access;
symbols
	Real-Release-0-58:1.9
	Release-0-58:1.9
	broken-signals-0-57:1.9.0.2
	Release-0-56-last:1.8
	Release-0-57:1.9;
locks; strict;
comment	@# @;


1.10
date	98.11.23.10.04.26;	author saw;	state dead;
branches;
next	1.9;

1.9
date	98.06.12.17.11.03;	author saw;	state Exp;
branches;
next	1.8;

1.8
date	98.06.12.16.24.57;	author saw;	state Exp;
branches;
next	1.7;

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.10
log
@Directory hierarchy was changed.
@
text
@#
# $Id: Makefile,v 1.9 1998/06/12 17:11:03 saw Exp $
#
# 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 \
		$(MAKE) -C $$i all ; \
		if [ $$? -ne 0 ]; then exit 1 ; 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.9
log
@A code cleanup:
  - _BSD_SOURCE was defined. We had already used several non-POSIX features
    like fchown() and setgroups(). The program can't be compiled
    in a strictly POSIX environment.
  - SU_STRICTLY_POSIX condition was removed.
  - Variable 'login' was renamed to 'is_login' in su.c.
  - Some my earlier comment were rewritten.
  - Return value checks were added to an additional calls.
  - The stdin ownership change was allowed only if is_terminal and is_login
    for security reasons.
  - A major restructurization of the code in su.c as it had been done
    by Andrew in sshd.
  - More detailed error reporting was implemented.
  - A few '(void)' were added to calls like fprintf().
  - More correct handling of a child exit in wait_for_child() was implemented.
  - Changes enabling terminal ownership control for 'su - -c ...'
    were undone.
  - Improper call of pwdb_error was fixed.
  - A new documentation file with the description of tty session and ownership
    control was added.
  - Andrew's email address was fixed in several places.
  - Ancient files were moved to 'Historic' directory.
  - Something else what I've forgotten.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1998/06/12 16:24:57 saw Exp $
@


1.8
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.7 1997/02/24 05:58:12 morgan Exp morgan $
d16 2
a17 6
		if [ -d $$i ]; then { \
			$(MAKE) -C $$i all ; \
			if [ $$? -ne 0 ]; then exit 1 ; fi ; \
		} elif [ -f ./.$$i ]; then \
			cat ./.$$i ; \
		fi ; \
@


1.7
log
@clean up (using env variables now)
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.6 1997/01/29 03:34:08 morgan Exp morgan $
a11 1

@


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
@
