summaryrefslogtreecommitdiff
path: root/kerberosV/usr.bin/asn1_compile/Makefile
blob: d36c36472715f8553a0e27d877371ef852c2a977 (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 2001/05/25 08:20:32 hin Exp $

KRBDEPTH=	../..
.include <${.CURDIR}/${KRBDEPTH}/Makefile.inc>

PROG=	asn1_compile
NOMAN=
SRCS=	parse.c lex.l main.c hash.c symbol.c gen.c \
        gen_encode.c gen_decode.c gen_free.c gen_length.c gen_copy.c \
        gen_glue.c

CLEANFILES=	parse.[ch] lex.[ch]

parse.h parse.c:	parse.y
	${YACC} -d -o parse.c $<
LDADD+=	${LIBROKEN}
CFLAGS+= -I${KRB5SRC}/lib/asn1 -I. -I${KRB5SRC}/lib/roken

test:
	echo ${LIBROKEN}

.PATH:	${KRB5SRC}/lib/asn1

.include <bsd.prog.mk>