tools/llvm: Do not build with symbols
[minix3.git] / usr.bin / w / Makefile
blob67e1cd4f1da455dc7a09bf842c0a322bd0d16a0e
1 # $NetBSD: Makefile,v 1.21 2011/10/21 02:26:09 christos Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/6/93
4 .include <bsd.own.mk>
6 PROG= w
7 SRCS= fmt.c pr_time.c w.c
8 MAN= w.1 uptime.1
9 .if defined(__MINIX)
10 .PATH: ${NETBSDSRCDIR}/minix/usr.bin/w
11 SRCS+= minix_proc.c
12 CPPFLAGS+= -I${NETBSDSRCDIR}/minix/usr.bin/w
13 .else
14 DPADD= ${LIBKVM} ${LIBUTIL}
15 LDADD= -lkvm -lutil
16 .endif
17 LINKS= ${BINDIR}/w ${BINDIR}/uptime
18 CPPFLAGS+= -DSUPPORT_UTMP -DSUPPORT_UTMPX
20 .PATH: ${NETBSDSRCDIR}/bin/ps
22 COPTS.pr_time.c += -Wno-format-y2k
24 .include <bsd.prog.mk>