freebsd-skq/kerberos5/tools/slc/Makefile
Enji Cooper 4c3e79cedd kerberos5: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output

MFC after:	1 month
Sponsored by:	Dell EMC Isilon
2017-03-04 11:34:36 +00:00

26 lines
462 B
Makefile

# $FreeBSD$
PROG= slc
LIBROKEN_A= ${.OBJDIR:H:H}/lib/libroken/libroken.a
LIBADD= vers
LDADD= ${LIBROKEN_A}
DPADD= ${LIBROKEN_A}
MAN=
SRCS= roken.h \
slc-gram.y \
slc-lex.l
CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/sl -I${KRB5DIR}/lib/vers -I.
CLEANFILES= roken.h slc-gram.c slc-lex.c
roken.h:
${MAKE_ROKEN} > ${.TARGET}
# ${.OBJDIR:H}/make-roken/make-roken > ${.TARGET}
.include <bsd.prog.mk>
.PATH: ${KRB5DIR}/lib/roken ${KRB5DIR}/lib/sl