| 1 | # |
| 2 | # Copyright (c) 1987 Regents of the University of California. |
| 3 | # All rights reserved. |
| 4 | # |
| 5 | # Redistribution and use in source and binary forms are permitted |
| 6 | # provided that this notice is preserved and that due credit is given |
| 7 | # to the University of California at Berkeley. The name of the University |
| 8 | # may not be used to endorse or promote products derived from this |
| 9 | # software without specific prior written permission. This software |
| 10 | # is provided ``as is'' without express or implied warranty. |
| 11 | # |
| 12 | # @(#)Makefile 5.1 (Berkeley) %G% |
| 13 | # |
| 14 | MDIR= /usr/man/cat4 |
| 15 | SRCS= arp.4 bk.4 drum.4 icmp.4 idp.4 imp.4 inet.4 ip.4 kdb.4 \ |
| 16 | lo.4 netintro.4 ns.4 nsip.4 null.4 pty.4 spp.4 tcp.4 tty.4 udp.4 |
| 17 | OBJS= arp.0 bk.0 drum.0 icmp.0 idp.0 imp.0 inet.0 ip.0 kdb.0 \ |
| 18 | lo.0 netintro.0 ns.0 nsip.0 null.0 pty.0 spp.0 tcp.0 tty.0 udp.0 |
| 19 | LINKS= networking.0 |
| 20 | |
| 21 | .SUFFIXES: .4 .0 |
| 22 | |
| 23 | .4.0: |
| 24 | ${DESTDIR}/usr/man/manroff $*.4 > $*.0 |
| 25 | |
| 26 | all: ${OBJS} |
| 27 | |
| 28 | clean: FRC |
| 29 | rm -f ${OBJS} |
| 30 | |
| 31 | install: FRC |
| 32 | cd ${DESTDIR}${MDIR}; rm -f *.0 |
| 33 | install -c -o bin -g bin -m 444 ${OBJS} ${DESTDIR}${MDIR} |
| 34 | ln ${DESTDIR}${MDIR}/netintro.0 ${DESTDIR}${MDIR}/networking.0 |
| 35 | |
| 36 | FRC: |