void sprintfs; lint cleanups;
[unix-history] / usr / src / old / vfilters / Makefile
CommitLineData
8ec6a195
KB
1#
2# Copyright (c) 1987 Regents of the University of California.
9b0a4950 3# All rights reserved.
8ec6a195 4#
9b0a4950 5# Redistribution and use in source and binary forms are permitted
a399f6c8
KB
6# provided that the above copyright notice and this paragraph are
7# duplicated in all such forms and that any documentation,
8# advertising materials, and other materials related to such
9# distribution and use acknowledge that the software was developed
10# by the University of California, Berkeley. The name of the
11# University may not be used to endorse or promote products derived
12# from this software without specific prior written permission.
13# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
9b0a4950 16#
a399f6c8 17# @(#)Makefile 6.4 (Berkeley) %G%
8ec6a195
KB
18#
19CFLAGS= -O
20LIBC= /lib/libc.a
21SRCS= necf.c railmag.c rvcat.c rvsort.c sidebyside.c vcat.c \
22 vdmp.c vpf.c vplotf.c vpltdmp.c vpsf.c vsort.c
23OBJS= necf.o railmag.o rvcat.o rvsort.o sidebyside.o vcat.o \
24 vdmp.o vpf.o vplotf.o vpltdmp.o vpsf.o vsort.o
25ALL= necf railmag rvcat rvsort sidebyside vcat \
26 vdmp vpf vplotf vpltdmp vpsf vsort
27
28all: ${ALL}
29
30necf: ${LIBC}
31 ${CC} -O -o $@ necf.c
32railmag: ${LIBC}
33 ${CC} -O -o $@ railmag.c
34rvcat: ${LIBC}
35 ${CC} -O -o $@ rvcat.c
36rvsort: ${LIBC}
37 ${CC} -O -o $@ rvsort.c
38sidebyside: ${LIBC}
39 ${CC} -O -o $@ sidebyside.c
40vcat: ${LIBC}
41 ${CC} -O -o $@ vcat.c
42vdmp: ${LIBC}
43 ${CC} -O -o $@ vdmp.c
44vpf: ${LIBC}
45 ${CC} -O -o $@ vpf.c
46vplotf: ${LIBC} chrtab.c
47 ${CC} -O -o $@ vplotf.c chrtab.c
48vpltdmp: ${LIBC}
49 ${CC} -O -o $@ vpltdmp.c
50vpsf: ${LIBC}
51 ${CC} -O -o $@ vpsf.c
52vsort: ${LIBC}
53 ${CC} -O -o $@ vsort.c
54
55clean: FRC
16d33f13 56 rm -f ${OBJS} core ${ALL} chrtab.o
8ec6a195
KB
57
58depend: FRC
59 mkdep -p ${CFLAGS} ${SRCS}
60
61install: FRC
62 install -s -o bin -g bin -m 755 necf ${DESTDIR}/usr/lib/necf
63 install -s -o bin -g bin -m 755 railmag ${DESTDIR}/usr/lib/railmag
64 install -s -o bin -g bin -m 755 rvcat ${DESTDIR}/usr/lib/rvcat
65 install -s -o bin -g bin -m 755 rvsort ${DESTDIR}/usr/lib/rvsort
66 install -s -o bin -g bin -m 755 sidebyside ${DESTDIR}/usr/lib/sidebyside
67 install -s -o bin -g bin -m 755 vcat ${DESTDIR}/usr/lib/vcat
68 install -s -o bin -g bin -m 755 vdmp ${DESTDIR}/usr/lib/vdmp
69 install -s -o bin -g bin -m 755 vpf ${DESTDIR}/usr/lib/vpf
70 rm -f ${DESTDIR}/usr/lib/vpfW
71 ln ${DESTDIR}/usr/lib/vpf ${DESTDIR}/usr/lib/vpfW
72 install -s -o bin -g bin -m 755 vplotf ${DESTDIR}/usr/lib/vplotf
73 install -s -o bin -g bin -m 755 vpltdmp ${DESTDIR}/usr/lib/vpltdmp
74 install -s -o bin -g bin -m 755 vpsf ${DESTDIR}/usr/lib/vpsf
75 install -s -o bin -g bin -m 755 vsort ${DESTDIR}/usr/lib/vsort
76
77lint: FRC
78 lint ${CFLAGS} ${SRCS}
79
80tags: FRC
81 ctags ${SRCS}
82
83FRC:
84
85# DO NOT DELETE THIS LINE -- mkdep uses it.
86# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
87
88necf: necf.c /usr/include/stdio.h /usr/include/sgtty.h /usr/include/sys/ioctl.h
89necf: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
90railmag: railmag.c
91rvcat: rvcat.c /usr/include/stdio.h /usr/include/sys/vcmd.h
92rvcat: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
93rvcat: /usr/include/sys/ttydev.h /usr/include/vfont.h
94rvsort: rvsort.c /usr/include/stdio.h
95sidebyside: sidebyside.c /usr/include/stdio.h
96vcat: vcat.c /usr/include/stdio.h /usr/include/sys/vcmd.h
97vcat: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
98vcat: /usr/include/sys/ttydev.h /usr/include/vfont.h
99vdmp: vdmp.c /usr/include/stdio.h /usr/include/sys/vcmd.h
100vdmp: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
101vdmp: /usr/include/sys/ttydev.h
102vpf: vpf.c /usr/include/signal.h /usr/include/machine/trap.h
103vpf: /usr/include/stdio.h /usr/include/sys/vcmd.h /usr/include/sys/ioctl.h
104vpf: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
105vplotf: vplotf.c /usr/include/stdio.h /usr/include/vfont.h
106vplotf: /usr/include/sys/vcmd.h /usr/include/sys/ioctl.h
107vplotf: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
108vpltdmp: vpltdmp.c /usr/include/stdio.h /usr/include/sys/vcmd.h
109vpltdmp: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
110vpltdmp: /usr/include/sys/ttydev.h
111vpsf: vpsf.c /usr/include/stdio.h /usr/include/sys/vcmd.h
112vpsf: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
113vpsf: /usr/include/sys/ttydev.h
114vsort: vsort.c /usr/include/stdio.h
115
116# IF YOU PUT ANYTHING HERE IT WILL GO AWAY