head	1.6;
access;
symbols
	Real-Release-0-58:1.5
	Release-0-58:1.5
	broken-signals-0-57:1.5.0.2
	Release-0-56-last:1.5
	Release-0-57:1.5;
locks; strict;
comment	@# @;


1.6
date	98.11.23.10.04.31;	author saw;	state dead;
branches;
next	1.5;

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

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

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

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

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


desc
@@


1.6
log
@Directory hierarchy was changed.
@
text
@#
# $Id: Makefile,v 1.5 1997/02/24 05:59:32 morgan Exp $
#

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

PROGSUID = login
SRCS = login.c
ISRCS=wtmp.-c setcred.-c shell_args.-c make_env.-c wait4shell.-c
ESRCS=$(addprefix ../inc/,$(ISRCS))

all: $(PROGS) $(PROGSUID)

login: $(SRCS) $(ESRCS)
	$(CC) $(CFLAGS) -o login login.c $(LOADLIBES)

install: all
	if [ -n "$(PROGS)" ]; then \
		strip $(PROGS) ; \
		cp $(PROGS) ../../bin ; \
	fi
	if [ -n "$(PROGSUID)" ]; then \
		strip $(PROGSUID) ; \
		install -m 4555 -o root -g bin $(PROGSUID) ../../bin ; \
	fi

remove:
	cd ../../bin ; rm -f $(PROGS) $(PROGSUID)

clean:
	rm -f core *.a *.so *.o *~ $(PROGS) $(PROGSUID)

extraclean: clean remove
	rm -f *.out

@


1.5
log
@strip binaries before installing
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.4 1997/02/11 15:22:38 morgan Exp morgan $
@


1.4
log
@update for .54
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1997/01/29 03:34:32 morgan Exp morgan $
d19 4
a22 1
	if [ -n "$(PROGS)" ]; then cp $(PROGS) ../../bin ; fi
d24 1
d29 1
a29 1
	cd ../../bin ; rm -f $(PROGS)
@


1.3
log
@update for release
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1996/12/01 02:32:53 morgan Exp morgan $
d8 1
a8 1
PROGS = login
d10 2
a11 2
ISRCS=wtmp.-c lastlog.-c setcred.-c shell_args.-c make_env.-c wait4shell.-c
ESRCS=$(addprefix inc/,$(ISRCS))
d13 1
a13 1
all: $(PROGS)
d20 3
a25 1
	@@$(MAKE) -C inc remove
a28 1
	@@$(MAKE) -C inc clean
a31 1
	@@$(MAKE) -C inc extraclean
@


1.2
log
@corrected utmp -> wtmp
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1 1996/12/01 01:09:56 morgan Exp morgan $
d6 1
a6 2

	@@echo	"*** This is not a top level Makefile!"
d9 3
a11 1
SRCS = login.c wtmp.-c lastlog.-c
d15 1
a15 1
login: $(SRCS)
d23 1
d26 2
a27 1
	rm -f *.a *.so *.o *~ $(PROGS) $(PROGSUID)
d30 2
a31 1
	rm -f *.out core
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1996/05/05 18:40:21 morgan Exp $
d10 1
a10 1
SRCS = login.c utmp.-c lastlog.-c
@
