Commit | Line | Data |
---|---|---|
810b1430 DF |
1 | # |
2 | # Copyright (c) 1980 Regents of the University of California. | |
3 | # All rights reserved. The Berkeley software License Agreement | |
4 | # specifies the terms and conditions for redistribution. | |
5 | # | |
6 | # @(#)Makefile 5.1 (Berkeley) %G% | |
e7c962ec SL |
7 | # |
8 | DESTDIR= | |
9 | CFLAGS= -O | |
08c012d4 | 10 | OBJS= main.o init.o subr.o gettytab.o get_date.o |
e7c962ec SL |
11 | |
12 | all: getty | |
13 | ||
14 | getty: ${OBJS} | |
15 | ${CC} -o getty ${OBJS} | |
16 | ||
17 | install: all | |
18 | install -s getty ${DESTDIR}/etc/getty | |
08c012d4 | 19 | install -c -m 444 gettytab ${DESTDIR}/etc/gettytab |
e7c962ec SL |
20 | |
21 | clean: | |
22 | rm -f getty ${OBJS} a.out core errs | |
23 | ||
24 | main.o: gettytab.h | |
25 | init.o: gettytab.h | |
26 | subr.o: gettytab.h |