move man pages in, blah, blah
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 21 Sep 1988 00:45:54 +0000 (16:45 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 21 Sep 1988 00:45:54 +0000 (16:45 -0800)
SCCS-vsn: libexec/talkd/Makefile 5.8

usr/src/libexec/talkd/Makefile

index 057cad8..3e8459a 100644 (file)
 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 #
 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 #
-#      @(#)Makefile    5.7 (Berkeley) %G%
+#      @(#)Makefile    5.8 (Berkeley) %G%
 #
 CFLAGS=        -O
 LIBC=  /lib/libc.a
 SRCS=  talkd.c announce.c process.c table.c print.c
 OBJS=  talkd.o announce.o process.o table.o print.o
 #
 CFLAGS=        -O
 LIBC=  /lib/libc.a
 SRCS=  talkd.c announce.c process.c table.c print.c
 OBJS=  talkd.o announce.o process.o table.o print.o
+MAN=   talkd.0
 
 all: talkd
 
 
 all: talkd
 
-talkd: ${OBJS} ${LIBC}
+talkd: ${OBJS} ${LIBC}
        ${CC} -o $@ ${CFLAGS} ${OBJS}
 
        ${CC} -o $@ ${CFLAGS} ${OBJS}
 
-clean: FRC
+clean:
        rm -f ${OBJS} core talkd
 
        rm -f ${OBJS} core talkd
 
-depend: FRC
+cleandir: clean
+       rm -f ${MAN} tags .depend
+
+depend: ${SRCS}
        mkdep ${CFLAGS} ${SRCS}
 
        mkdep ${CFLAGS} ${SRCS}
 
-install: FRC
+install: ${MAN}
        install -s -o bin -g bin -m 755 talkd ${DESTDIR}/etc/ntalkd
        install -s -o bin -g bin -m 755 talkd ${DESTDIR}/etc/ntalkd
+       install -c -o bin -g bin -m 444 talkd.0 ${DESTDIR}/usr/man/cat8
 
 
-lint: FRC
+lint: ${SRCS}
        lint ${CFLAGS} ${SRCS}
 
        lint ${CFLAGS} ${SRCS}
 
-tags: FRC
+tags: ${SRCS}
        ctags ${SRCS}
        ctags ${SRCS}
-
-FRC:
-
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-talkd.o: talkd.c /usr/include/stdio.h /usr/include/errno.h
-talkd.o: /usr/include/signal.h /usr/include/machine/trap.h
-talkd.o: /usr/include/syslog.h /usr/include/protocols/talkd.h
-talkd.o: /usr/include/sys/types.h /usr/include/sys/socket.h
-announce.o: announce.c /usr/include/sys/types.h /usr/include/sys/stat.h
-announce.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
-announce.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydefaults.h
-announce.o: /usr/include/sys/ttydev.h /usr/include/sys/ioctl.h
-announce.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/stdio.h
-announce.o: /usr/include/sys/wait.h /usr/include/machine/endian.h
-announce.o: /usr/include/errno.h /usr/include/syslog.h
-announce.o: /usr/include/protocols/talkd.h /usr/include/sys/types.h
-announce.o: /usr/include/sys/socket.h
-process.o: process.c /usr/include/sys/types.h /usr/include/sys/stat.h
-process.o: /usr/include/stdio.h /usr/include/syslog.h /usr/include/netdb.h
-process.o: /usr/include/netinet/in.h /usr/include/protocols/talkd.h
-process.o: /usr/include/sys/types.h /usr/include/sys/socket.h
-process.o: /usr/include/utmp.h
-table.o: table.c /usr/include/stdio.h /usr/include/sys/time.h
-table.o: /usr/include/time.h /usr/include/syslog.h /usr/include/sys/param.h
-table.o: /usr/include/sys/types.h /usr/include/signal.h
-table.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
-table.o: /usr/include/machine/endian.h /usr/include/protocols/talkd.h
-table.o: /usr/include/sys/types.h /usr/include/sys/socket.h
-print.o: print.c /usr/include/stdio.h /usr/include/syslog.h
-print.o: /usr/include/sys/param.h /usr/include/sys/types.h
-print.o: /usr/include/signal.h /usr/include/machine/trap.h
-print.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
-print.o: /usr/include/protocols/talkd.h /usr/include/sys/types.h
-print.o: /usr/include/sys/socket.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY