fixed a race condition in the locking when there are LOTS of queue runs
[unix-history] / usr / src / usr.bin / find / Makefile
CommitLineData
f1d6a550 1#
ec907a08
KB
2# Copyright (c) 1988 The Regents of the University of California.
3# All rights reserved.
f1d6a550 4#
ec907a08
KB
5# Redistribution and use in source and binary forms are permitted
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.
16#
9a144298 17# @(#)Makefile 4.9 (Berkeley) %G%
f1d6a550 18#
8ee0508c 19CFLAGS= -O
76bf9a99 20LIBC= /usr/lib/libc.a
9a144298
KB
21SRCS= find.c
22OBJS=
ec907a08 23MAN= find.0
f1d6a550 24
9a144298 25all: find
97c08334 26
9a144298 27find: ${LIBC}
ec907a08 28 ${CC} ${CFLAGS} -o $@ $@.c
f1d6a550 29
ec907a08 30clean:
9a144298 31 rm -f ${OBJS} core find
8ee0508c 32
ec907a08
KB
33cleandir: clean
34 rm -f ${MAN} tags .depend
35
36depend: ${SRCS}
8ee0508c
KB
37 mkdep -p ${CFLAGS} ${SRCS}
38
ec907a08 39install: ${MAN}
f5506e0f 40 install -s -o bin -g bin -m 755 find ${DESTDIR}/usr/bin
ec907a08 41 install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1
8ee0508c 42
ec907a08 43lint: ${SRCS}
8ee0508c 44 lint ${CFLAGS} find.c
8ee0508c 45
ec907a08 46tags: ${SRCS}
8ee0508c 47 ctags find.c