diff options
-rw-r--r-- | kerberosV/usr.sbin/ktutil/Makefile | 13 | ||||
-rw-r--r-- | usr.sbin/afs/lib/libarla/Makefile.ko.inc | 2 |
2 files changed, 12 insertions, 3 deletions
diff --git a/kerberosV/usr.sbin/ktutil/Makefile b/kerberosV/usr.sbin/ktutil/Makefile index 54fab3d67ef..f857c10b8fa 100644 --- a/kerberosV/usr.sbin/ktutil/Makefile +++ b/kerberosV/usr.sbin/ktutil/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2007/10/18 18:20:20 deraadt Exp $ +# $OpenBSD: Makefile,v 1.14 2008/01/29 00:29:34 espie Exp $ KRBDEPTH=../.. .include <${.CURDIR}/../../Makefile.inc> @@ -25,6 +25,15 @@ SRCS+= ${PRINTVER} slc: slc-gram.o slc-lex.o ${PRINTVER} $(CC) -o slc $> -lkrb5 -lcrypto +slc-lex.o: y.tab.h +y.tab.h slc-gram.o: stamp_grammar + +stamp_grammar: + ${YACC} -d ${KRB5SRC}/lib/sl/slc-gram.y + $(CC) -c ${CFLAGS} -o slc-gram.o y.tab.c + rm -f y.tab.c + touch $@ + SLC= slc ktutil: ktutil-commands.h @@ -39,6 +48,6 @@ LDADD+= -lreadline -lcurses -lkadm5clnt -lkrb5 \ -lcrypto -ldes CLEANFILES+= ktutil-commands.c slc slc-lex.o \ - ktutil-commands.h slc-gram.o + ktutil-commands.h slc-gram.o stamp_grammar .include <bsd.prog.mk> diff --git a/usr.sbin/afs/lib/libarla/Makefile.ko.inc b/usr.sbin/afs/lib/libarla/Makefile.ko.inc index ed995f6b0f9..eaa0db62f9d 100644 --- a/usr.sbin/afs/lib/libarla/Makefile.ko.inc +++ b/usr.sbin/afs/lib/libarla/Makefile.ko.inc @@ -30,8 +30,8 @@ CFLAGS += -I${AFSSRC}/lib/ko sysname.c: gensysname ./gensysname -c > sysname.c +gensysname.o: vldb.h lwp.h gensysname: gensysname.o getarg.o strupr.o get_window_size.o ${HOSTCC} ${CFLAGS} -o gensysname gensysname.o getarg.o strupr.o get_window_size.o CLEANFILES+= gensysname.o agetarg.o - |