864c53ead8
This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
25 lines
564 B
Makefile
25 lines
564 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= hxtool
|
|
MAN=
|
|
CFLAGS+= -I${KRB5DIR}/lib/hx509 \
|
|
-I${KRB5DIR}/lib/asn1 \
|
|
-I${KRB5DIR}/lib/roken \
|
|
-I${KRB5DIR}/lib/sl -I.
|
|
DPADD= ${LIBHX509} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBSL} ${LIBVERS} ${LIBEDIT}
|
|
LDADD= -lhx509 -lroken -lasn1 -lcrypto -lcrypt ${LIBSL} ${LIBVERS} -ledit
|
|
SRCS= hxtool.c hxtool-commands.c hxtool-commands.h
|
|
|
|
NO_PIE= yes
|
|
|
|
hxtool-commands.h: hxtool-commands.in
|
|
${SLC} ${.ALLSRC:M*.in}
|
|
|
|
.for ext in c o
|
|
hxtool-commands.${ext}: hxtool-commands.h
|
|
.endfor
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${KRB5DIR}/lib/hx509
|