80f626da54
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice)
24 lines
421 B
Makefile
24 lines
421 B
Makefile
# $FreeBSD$
|
|
#
|
|
OPIE_DIST?= ${SRCTOP}/contrib/opie
|
|
|
|
PROG= opiekey
|
|
|
|
CFLAGS+=-I${SRCTOP}/lib/libopie
|
|
CFLAGS+=-I${OPIE_DIST}
|
|
CFLAGS+=-DINSECURE_OVERRIDE
|
|
|
|
WARNS?= 0
|
|
|
|
LIBADD= opie
|
|
|
|
LINKS= ${BINDIR}/opiekey ${BINDIR}/otp-md4
|
|
LINKS+= ${BINDIR}/opiekey ${BINDIR}/otp-md5
|
|
LINKS+= ${BINDIR}/opiekey ${BINDIR}/otp-sha1
|
|
|
|
MLINKS= opiekey.1 otp-md4.1 opiekey.1 otp-md5.1 opiekey.1 otp-sha1.1
|
|
|
|
.PATH: ${OPIE_DIST}
|
|
|
|
.include <bsd.prog.mk>
|