|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 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.3 (Berkeley) 6/2/87 ! 7: # ! 8: CFLAGS= -O ! 9: LIBC= /lib/libc.a ! 10: SRCS= main.c init.c subr.c gettytab.c get_date.c ! 11: OBJS= main.o init.o subr.o gettytab.o get_date.o ! 12: ! 13: all: getty ! 14: ! 15: getty: ${OBJS} ${LIBC} ! 16: ${CC} -o $@ ${CFLAGS} ${OBJS} ! 17: ! 18: clean: FRC ! 19: rm -f ${OBJS} core getty ! 20: ! 21: depend: FRC ! 22: mkdep ${CFLAGS} ${SRCS} ! 23: ! 24: install: FRC ! 25: install -s -o bin -g bin -m 755 getty ${DESTDIR}/etc/getty ! 26: install -c -o bin -g bin -m 444 gettytab ${DESTDIR}/etc/gettytab ! 27: ! 28: lint: FRC ! 29: lint ${CFLAGS} ${SRCS} ! 30: ! 31: tags: FRC ! 32: ctags ${SRCS} ! 33: ! 34: FRC: ! 35: ! 36: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 37: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 38: ! 39: main.o: main.c /usr/include/sgtty.h /usr/include/sys/ioctl.h ! 40: main.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h ! 41: main.o: /usr/include/signal.h /usr/include/machine/trap.h /usr/include/ctype.h ! 42: main.o: /usr/include/setjmp.h /usr/include/syslog.h /usr/include/sys/file.h ! 43: main.o: gettytab.h ! 44: init.o: init.c /usr/include/sgtty.h /usr/include/sys/ioctl.h ! 45: init.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h gettytab.h ! 46: subr.o: subr.c /usr/include/sgtty.h /usr/include/sys/ioctl.h ! 47: subr.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h gettytab.h ! 48: subr.o: /usr/include/sys/time.h /usr/include/time.h ! 49: gettytab.o: gettytab.c /usr/include/ctype.h ! 50: get_date.o: get_date.c /usr/include/stdio.h /usr/include/sys/time.h ! 51: get_date.o: /usr/include/time.h ! 52: ! 53: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.