pwd.h needs types.h
[unix-history] / usr / src / usr.bin / diff / diff3 / Makefile
CommitLineData
bf546f92
KB
1autoconfig
2backingstore
3badsectforw
4bdp
5bottomhalf
6busadapter
7byte
8capability
9cbreak
10character
11cookedmode
12demandpage
13egid
14erasechar
15euid
16fodkluster
17gid
18hardlimit
19hardlock
20interruptvectab
21iopage
22ipl
23killchar
24kluster
25ldpctx
26mmapioarch
27msl
28nbio
29page
30pagedaemon
31panic
32psn
33rawmode
34recvwindow
35rgid
36ruid
37secondstorage
38sharedtextseg
39sigdrivenio
40slidingwindowscheme
41sndwindow
42stickytext
43svpctx
44swapper
45syspagetab
46text
47tophalf
48uid
49unbuffered
50usrrequest
51worderasechar
ef353bf8
KB
52CFLAGS= -O
53LIBC= /lib/libc.a
54SRCS= diff3.c
bf546f92
KB
55OBJS=
56MAN= diff3.0
6821f12f 57
ef353bf8 58all: diff3
6821f12f 59
bf546f92
KB
60diff3: ${LIBC}
61 ${CC} ${CFLAGS} -o $@ $@.c
6821f12f 62
bf546f92 63clean:
ef353bf8 64 rm -f ${OBJS} core diff3
6821f12f 65
bf546f92
KB
66cleandir: clean
67 rm -f ${MAN} tags .depend
68
69depend: ${SRCS}
ef353bf8 70 mkdep -p ${CFLAGS} ${SRCS}
a8629c9c 71
bf546f92 72install: ${MAN}
ef353bf8
KB
73 install -s -o bin -g bin -m 755 diff3 $(DESTDIR)/usr/lib/diff3
74 install -c -o bin -g bin -m 755 diff3.sh $(DESTDIR)/usr/bin/diff3
bf546f92 75 install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1
ef353bf8 76
bf546f92 77lint: ${SRCS}
ef353bf8
KB
78 lint ${CFLAGS} ${SRCS}
79
bf546f92 80tags: ${SRCS}
ef353bf8 81 ctags ${SRCS}