xref: /original-bsd/usr.sbin/lpr/filters/Makefile (revision 57f376f9)
1#
2# Copyright (c) 1987 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.3	(Berkeley)	11/16/87
7#
8CFLAGS=	-O
9LIBC=	/lib/libc.a
10LIBDIR=	/usr/lib
11SRCS=	lpf.c
12OBJS=	lpf.o
13
14all: lpf
15
16lpf: lpf.c
17	${CC} -o $@ ${CFLAGS} lpf.c
18
19clean: FRC
20	rm -f ${OBJS} core lpf
21
22depend: FRC
23	mkdep -p ${CFLAGS} ${SRCS}
24
25install: FRC
26	install -s -o bin -g bin -m 755 lpf ${DESTDIR}/${LIBDIR}/lpf
27
28lint: FRC
29	lint ${CFLAGS} ${SRCS}
30
31tags: FRC
32	ctags ${SRCS}
33
34FRC:
35
36# DO NOT DELETE THIS LINE -- mkdep uses it.
37# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
38
39lpf: lpf.c /usr/include/stdio.h /usr/include/signal.h
40lpf: /usr/include/machine/trap.h
41
42# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
43