summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-01-15 21:32:04 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-01-15 21:32:04 +0000
commitdf7cd3d7a8335a14ab5b13e51bccdd7747c862bc (patch)
treeb063e8adac48f44d09bc7565fa39a4ef6f30af24 /usr.bin/sudo/lib
parentc4dd64896203bc903606bfe63de178a3daf11452 (diff)
sudo on OpenBSD no longer runs configure. You will have to manually
run "rm -f /usr/obj/usr.bin/sudo/*" or "make obj" will fail during your first build.
Diffstat (limited to 'usr.bin/sudo/lib')
-rw-r--r--usr.bin/sudo/lib/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.bin/sudo/lib/Makefile b/usr.bin/sudo/lib/Makefile
new file mode 100644
index 00000000000..cac1488cd19
--- /dev/null
+++ b/usr.bin/sudo/lib/Makefile
@@ -0,0 +1,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>