a35f04fba2
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)
23 lines
394 B
Makefile
23 lines
394 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${SRCTOP}/contrib/flex
|
|
|
|
LIB= ln
|
|
SRCS= libmain.c libyywrap.c
|
|
NO_PIC=
|
|
|
|
.if ${MK_INSTALLLIB} != "no"
|
|
LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a
|
|
LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a
|
|
.endif
|
|
|
|
.if ${MK_PROFILE} != "no"
|
|
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libl_p.a
|
|
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libfl_p.a
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|
|
|