#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved. The Berkeley Software License Agreement
# specifies the terms and conditions for redistribution.
#
# $Header:Makefile 12.1$
# $ACIS:Makefile 12.1$
# $Source: /ibm/acis/usr/src/etc/getty/RCS/Makefile,v $
#
#	Makefile	4.1	83/07/06
#
DESTDIR=
CFLAGS=	-O
IFLAGS=	-c -s
ETCDIR=	/etc
OBJS=	main.o init.o subr.o gettytab.o get_date.o

all:	getty

getty:	${OBJS}
	${CC} -o getty ${OBJS}

install: all
	install ${IFLAGS} getty ${DESTDIR}${ETCDIR}/getty
	install -c gettytab ${DESTDIR}${ETCDIR}/gettytab

clean:
	rm -f getty ${OBJS} a.out core errs

main.o: gettytab.h
init.o: gettytab.h
subr.o: gettytab.h
