|
|
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.6 (Berkeley) 6/18/87 ! 7: # ! 8: CFLAGS= -O ! 9: LIBC= /lib/libc.a ! 10: SRCS= atq.c atrm.c at.c atrun.c ! 11: OBJS= atq.o atrm.o at.o atrun.o ! 12: ATRUNDIR= /usr/lib ! 13: SPOOLDIRS= /usr/spool/at /usr/spool/at/past ! 14: SPOOLFILES= /usr/spool/at/lasttimedone ! 15: ! 16: all: atq atrm at atrun ! 17: ! 18: at: at.c ${LIBC} ! 19: ${CC} ${CFLAGS} -o $@ at.c ! 20: ! 21: atq: atq.c ${LIBC} ! 22: ${CC} ${CFLAGS} -o $@ atq.c ! 23: ! 24: atrm: atrm.c ${LIBC} ! 25: ${CC} ${CFLAGS} -o $@ atrm.c ! 26: ! 27: atrun: atrun.c ${LIBC} ! 28: ${CC} ${CFLAGS} -o $@ atrun.c ! 29: ! 30: clean: FRC ! 31: rm -f ${OBJS} core atq atrm at atrun ! 32: ! 33: depend: FRC ! 34: mkdep -p ${CFLAGS} ${SRCS} ! 35: ! 36: install: FRC ! 37: -for i in ${SPOOLDIRS}; do \ ! 38: mkdir ${DESTDIR}/$$i > /dev/null 2>&1; \ ! 39: chown root ${DESTDIR}/$$i; \ ! 40: chgrp daemon ${DESTDIR}/$$i; \ ! 41: chmod 755 ${DESTDIR}/$$i; \ ! 42: done ! 43: -for i in ${SPOOLFILES}; do \ ! 44: if [ ! -f ${DESTDIR}/$$i ]; then \ ! 45: echo 0 > ${DESTDIR}/$$i; \ ! 46: fi; \ ! 47: chown root ${DESTDIR}/$$i; \ ! 48: chgrp daemon ${DESTDIR}/$$i; \ ! 49: done ! 50: install -s -o bin -g bin -m 755 atrun ${DESTDIR}/${ATRUNDIR} ! 51: install -s -o root -g bin -m 4755 atq ${DESTDIR}/usr/bin ! 52: install -s -o root -g bin -m 4755 at ${DESTDIR}/usr/bin ! 53: install -s -o root -g bin -m 4755 atrm ${DESTDIR}/usr/bin ! 54: ! 55: lint: FRC ! 56: lint ${CFLAGS} atq.c ! 57: lint ${CFLAGS} atrm.c ! 58: lint ${CFLAGS} at.c ! 59: lint ${CFLAGS} atrun.c ! 60: ! 61: tags: FRC ! 62: ctags atq.c ! 63: ctags -a atrm.c ! 64: ctags -a at.c ! 65: ctags -a atrun.c ! 66: sort -o tags tags ! 67: ! 68: FRC: ! 69: ! 70: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 71: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 72: ! 73: atq: atq.c /usr/include/stdio.h /usr/include/sys/types.h ! 74: atq: /usr/include/sys/file.h /usr/include/sys/dir.h /usr/include/sys/stat.h ! 75: atq: /usr/include/sys/time.h /usr/include/time.h /usr/include/pwd.h ! 76: atq: /usr/include/ctype.h ! 77: atrm: atrm.c /usr/include/stdio.h /usr/include/pwd.h /usr/include/ctype.h ! 78: atrm: /usr/include/sys/types.h /usr/include/sys/dir.h /usr/include/sys/file.h ! 79: atrm: /usr/include/sys/stat.h ! 80: at: at.c /usr/include/stdio.h /usr/include/ctype.h /usr/include/signal.h ! 81: at: /usr/include/machine/trap.h /usr/include/pwd.h /usr/include/sys/param.h ! 82: at: /usr/include/sys/types.h /usr/include/signal.h ! 83: at: /usr/include/machine/machparam.h /usr/include/machine/endian.h ! 84: at: /usr/include/sys/time.h /usr/include/time.h /usr/include/sys/file.h ! 85: atrun: atrun.c /usr/include/stdio.h /usr/include/sys/param.h ! 86: atrun: /usr/include/sys/types.h /usr/include/signal.h ! 87: atrun: /usr/include/machine/trap.h /usr/include/machine/machparam.h ! 88: atrun: /usr/include/machine/endian.h /usr/include/sys/dir.h ! 89: atrun: /usr/include/sys/file.h /usr/include/sys/time.h /usr/include/time.h ! 90: atrun: /usr/include/sys/stat.h /usr/include/pwd.h ! 91: ! 92: # 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.