|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1983 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.4 (Berkeley) 3/13/86 ! 7: # ! 8: DESTDIR= ! 9: OBJS= talkd.o announce.o process.o table.o print.o ! 10: SRCS= talkd.c announce.c process.c table.c print.c ! 11: CFLAGS= -O ! 12: ! 13: all: talkd ! 14: ! 15: talkd: ${OBJS} ! 16: cc ${CFLAGS} -o talkd ${OBJS} ! 17: ! 18: install: talkd ! 19: install -s talkd ${DESTDIR}/etc/ntalkd ! 20: ! 21: clean: ! 22: rm -f ${OBJS} errs core a.out talkd ! 23: ! 24: tags: ${SRCS} ! 25: ctags ${SOURCE} ! 26: ! 27: depend: ${SRCS} ! 28: for i in ${SRCS}; do \ ! 29: cc -M $$i | sed 's/\.o//' | \ ! 30: awk ' { if ($$1 != prev) \ ! 31: { if (rec != "") print rec; rec = $$0; prev = $$1; } \ ! 32: else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \ ! 33: else rec = rec " " $$2 } } \ ! 34: END { print rec } ' >> makedep; done ! 35: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep ! 36: echo '$$r makedep' >>eddep ! 37: echo 'w' >>eddep ! 38: cp Makefile Makefile.bak ! 39: ed - Makefile < eddep ! 40: rm eddep makedep ! 41: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile ! 42: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile ! 43: echo '# see make depend above' >> Makefile ! 44: ! 45: # DO NOT DELETE THIS LINE -- make depend uses it ! 46: ! 47: talkd: talkd.c /usr/include/stdio.h /usr/include/errno.h /usr/include/signal.h ! 48: talkd: /usr/include/syslog.h /usr/include/protocols/talkd.h ! 49: talkd: /usr/include/sys/types.h /usr/include/sys/socket.h ! 50: announce: announce.c /usr/include/sys/types.h /usr/include/sys/stat.h ! 51: announce: /usr/include/sgtty.h /usr/include/sys/ioctl.h ! 52: announce: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h ! 53: announce: /usr/include/sys/ioctl.h /usr/include/sys/time.h /usr/include/time.h ! 54: announce: /usr/include/stdio.h /usr/include/sys/wait.h /usr/include/errno.h ! 55: announce: /usr/include/syslog.h /usr/include/protocols/talkd.h ! 56: announce: /usr/include/sys/types.h /usr/include/sys/socket.h ! 57: process: process.c /usr/include/sys/types.h /usr/include/sys/stat.h ! 58: process: /usr/include/stdio.h /usr/include/syslog.h /usr/include/netdb.h ! 59: process: /usr/include/netinet/in.h /usr/include/protocols/talkd.h ! 60: process: /usr/include/sys/types.h /usr/include/sys/socket.h /usr/include/utmp.h ! 61: table: table.c /usr/include/stdio.h /usr/include/sys/time.h /usr/include/time.h ! 62: table: /usr/include/syslog.h /usr/include/protocols/talkd.h ! 63: table: /usr/include/sys/types.h /usr/include/sys/socket.h ! 64: print: print.c /usr/include/stdio.h /usr/include/syslog.h ! 65: print: /usr/include/protocols/talkd.h /usr/include/sys/types.h ! 66: print: /usr/include/sys/socket.h ! 67: # DEPENDENCIES MUST END AT END OF FILE ! 68: # IF YOU PUT STUFF HERE IT WILL GO AWAY ! 69: # see make depend above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.