X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/95f51977ddc18faa2e212f30c00a39540b39f325..ca67e7b465996afb3821d6a075c4dc6a7f0f5d52:/usr/src/usr.lib/lpr/filters/Makefile diff --git a/usr/src/usr.lib/lpr/filters/Makefile b/usr/src/usr.lib/lpr/filters/Makefile index 75b840a881..c5dfe5a6f9 100644 --- a/usr/src/usr.lib/lpr/filters/Makefile +++ b/usr/src/usr.lib/lpr/filters/Makefile @@ -1,108 +1,53 @@ # -# Copyright (c) 1983 Regents of the University of California. -# All rights reserved. The Berkeley software License Agreement -# specifies the terms and conditions for redistribution. +# Copyright (c) 1987 Regents of the University of California. +# All rights reserved. # -# @(#)Makefile 5.1 (Berkeley) 5/15/85 +# Redistribution and use in source and binary forms are permitted +# provided that the above copyright notice and this paragraph are +# duplicated in all such forms and that any documentation, +# advertising materials, and other materials related to such +# distribution and use acknowledge that the software was developed +# by the University of California, Berkeley. The name of the +# University may not be used to endorse or promote products derived +# from this software without specific prior written permission. +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. # +# @(#)Makefile 5.5 (Berkeley) 6/30/88 # -# makefile for line printer filters and associated programs -# - -DESTDIR= CFLAGS= -O +LIBC= /lib/libc.a LIBDIR= /usr/lib -CXREF= /usr/ucb/ctags -x -SRCS= lpf.c necf.c \ - chrtab.c rvsort.c rvcat.c vsort.c vcat.c vpf.c vpsf.c vdmp.c vpltdmp.c \ - vplotf.c vfontinfo.c vwidth.c vfw.c fcvt.c rotate.c rotprt.c -PRINTER=lpf necf -VARIAN= rvsort rvcat vsort vcat vpf vpsf vdmp vpltdmp vplotf vfontinfo vwidth \ - vfw fcvt rotate rotprt - -all: printer varian - -printer: ${PRINTER} - -varian: ${VARIAN} - -lpf: lpf.c - ${CC} -o lpf ${CFLAGS} lpf.c - -necf: necf.c - ${CC} -o necf ${CFLAGS} necf.c - -rvsort: rvsort.c - ${CC} -o rvsort ${CFLAGS} rvsort.c - -rvcat: rvcat.c - ${CC} -o rvcat ${CFLAGS} rvcat.c - -vsort: vsort.c - ${CC} -o vsort ${CFLAGS} vsort.c - -vcat: vcat.c - ${CC} -o vcat ${CFLAGS} vcat.c - -vpf: vpf.c - ${CC} -o vpf ${CFLAGS} vpf.c - -vpsf: vpsf.c - ${CC} -o vpsf ${CFLAGS} vpsf.c - -vdmp: vdmp.c - ${CC} -o vdmp ${CFLAGS} vdmp.c - -vpltdmp: vpltdmp.c - ${CC} -o vpltdmp ${CFLAGS} vpltdmp.c +SRCS= lpf.c +OBJS= lpf.o -vplotf: vplotf.c chrtab.o - ${CC} -o vplotf ${CFLAGS} vplotf.c chrtab.o +all: lpf -vfontinfo: vfontinfo.c - ${CC} -o vfontinfo ${CFLAGS} vfontinfo.c +lpf: lpf.c + ${CC} -o $@ ${CFLAGS} lpf.c -vwidth: vwidth.c - ${CC} -o vwidth ${CFLAGS} vwidth.c +clean: FRC + rm -f ${OBJS} core lpf -vfw: vfw.c - ${CC} -o vfw ${CFLAGS} vfw.c +depend: FRC + mkdep -p ${CFLAGS} ${SRCS} -fcvt: fcvt.c - ${CC} -o fcvt ${CFLAGS} fcvt.c +install: FRC + install -s -o bin -g bin -m 755 lpf ${DESTDIR}/${LIBDIR}/lpf -rotate: rotate.c - ${CC} -o rotate ${CFLAGS} rotate.c +lint: FRC + lint ${CFLAGS} ${SRCS} -rotprt: rotprt.c - ${CC} -o rotprt ${CFLAGS} rotprt.c +tags: FRC + ctags ${SRCS} -install: printer - install -s lpf ${DESTDIR}/${LIBDIR}/lpf - install -s necf ${DESTDIR}/${LIBDIR}/necf +FRC: -installv: varian - install -s vfontinfo ${DESTDIR}/${LIBDIR}/vfontinfo - install -s vwidth ${DESTDIR}/${LIBDIR}/vwidth - install -s vfw ${DESTDIR}/${LIBDIR}/vfw - install -s fcvt ${DESTDIR}/${LIBDIR}/fcvt - install -s rotate ${DESTDIR}/${LIBDIR}/rotate - install -s rotprt ${DESTDIR}/${LIBDIR}/rotprt - install -s rvsort ${DESTDIR}/${LIBDIR}/rvsort - install -s rvcat ${DESTDIR}/${LIBDIR}/rvcat - install -s vsort ${DESTDIR}/${LIBDIR}/vsort - install -s vcat ${DESTDIR}/${LIBDIR}/vcat - install -s vpf ${DESTDIR}/${LIBDIR}/vpf - ln ${DESTDIR}/${LIBDIR}/vpf ${DESTDIR}/${LIBDIR}/vpfW - install -s vpsf ${DESTDIR}/${LIBDIR}/vpsf - install -s vdmp ${DESTDIR}/${LIBDIR}/vdmp - install -s vpltdmp ${DESTDIR}/${LIBDIR}/vpltdmp - install -s vplotf ${DESTDIR}/${LIBDIR}/vplotf +# DO NOT DELETE THIS LINE -- mkdep uses it. +# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. -clean: - rm -f ${PRINTER} ${VARIAN} *.o +lpf: lpf.c /usr/include/stdio.h /usr/include/signal.h +lpf: /usr/include/machine/trap.h -print: - @pr makefile - @${CXREF} *.c | pr -h XREF - @pr *.h *.c +# IF YOU PUT ANYTHING HERE IT WILL GO AWAY