summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/lib/Makefile
blob: cac1488cd19c6fb34d60ac480934455ba8215c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#	$OpenBSD: Makefile,v 1.1 2004/01/15 21:32:03 millert Exp $

.PATH:		${.CURDIR}/..

LIB=	sudo
SRCS=	sudo.tab.c lex.yy.c alloc.c defaults.c fileops.c goodpath.c find_path.c
CPPFLAGS+=	-I.

DEBUGLIBS= no
NOPROFILE= yes
NOPIC=	yes

sudo.tab.c sudo.tab.h: parse.yacc
	rm -f sudo.tab.h sudo.tab.c
	${YACC} -d -b sudo ${.CURDIR}/../parse.yacc

lex.yy.c: parse.lex
	rm -f lex.yy.c
	${LEX} ${.CURDIR}/../parse.lex

install:
	@echo -n

.include <bsd.lib.mk>