xref: /freebsd/usr.bin/compile_et/Makefile (revision b64c5a0ace59af62eff52bfe110a521dc73c937b)
1.PATH: ${SRCTOP}/contrib/com_err
2
3PACKAGE=	kerberos
4
5PROG=	compile_et
6SRCS=	compile_et.c parse.y lex.l
7.if defined(BOOTSTRAPPING)
8# compiler_et does not need the full libroken but just a bunch of the file
9# in there, the buildsystem we have will trigger the full dependency chain
10# when linking statically including libcrypt, which is a ldscript, not
11# supported by macOS ar(1).
12LIBROKEN_A=	${.OBJDIR:H:H}/kerberos5/lib/libroken/libroken.a
13LDADD=	${LIBROKEN_A}
14DPADD=	${LIBROKEN_A}
15.else
16LIBADD=	roken
17.endif
18LIBADD+=	vers
19CFLAGS+=-I. -I${SRCTOP}/contrib/com_err
20
21WARNS?=	0
22
23.include <bsd.prog.mk>
24