xref: /freebsd/usr.bin/compile_et/Makefile (revision 4d692868a6730ebf72a1d1a619af89af6fc8d763)
1a35f04fbSWarner Losh.PATH: ${SRCTOP}/contrib/com_err
2f329a151SRuslan Ermilov
3a30235a4SEmmanuel VadotPACKAGE=	kerberos
4a30235a4SEmmanuel Vadot
560643d37SGeoff RehmetPROG=	compile_et
6ae771770SStanislav SedovSRCS=	compile_et.c parse.y lex.l
7*4d692868SBaptiste Daroussin.if defined(BOOTSTRAPPING)
8*4d692868SBaptiste Daroussin# compiler_et does not need the full libroken but just a bunch of the file
9*4d692868SBaptiste Daroussin# in there, the buildsystem we have will trigger the full dependency chain
10*4d692868SBaptiste Daroussin# when linking statically including libcrypt, which is a ldscript, not
11*4d692868SBaptiste Daroussin# supported by macOS ar(1).
12*4d692868SBaptiste DaroussinLIBROKEN_A=	${.OBJDIR:H:H}/kerberos5/lib/libroken/libroken.a
13*4d692868SBaptiste DaroussinLDADD=	${LIBROKEN_A}
14*4d692868SBaptiste DaroussinDPADD=	${LIBROKEN_A}
15*4d692868SBaptiste Daroussin.else
16*4d692868SBaptiste DaroussinLIBADD=	roken
17*4d692868SBaptiste Daroussin.endif
18*4d692868SBaptiste DaroussinLIBADD+=	vers
19a35f04fbSWarner LoshCFLAGS+=-I. -I${SRCTOP}/contrib/com_err
205e914d3bSGarrett Wollman
21b7946da9SEd SchoutenWARNS?=	0
22b7946da9SEd Schouten
2360643d37SGeoff Rehmet.include <bsd.prog.mk>
24