ffec315183
Prefer SRCTOP over CURDIR/../../contrib, etc. However, retain the "up one level" instances of ../ because they are really relative to this part of the tree and not a means to find the root of the tree. As such, it's better to leave them since that further the goal of being able to move directories if watned to in the future. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence On: arch@ (twice)
15 lines
351 B
Makefile
15 lines
351 B
Makefile
# $FreeBSD$
|
|
|
|
SHLIB_MAJOR=8
|
|
RL_LIBRARY_VERSION=5.2
|
|
|
|
SRCDIR= ${SRCTOP}/contrib/libreadline
|
|
.PATH: ${SRCDIR} ${.CURDIR}/..
|
|
|
|
LOCAL_CFLAGS= -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'
|
|
CFLAGS+=-I${.CURDIR}/.. -I${SRCDIR} -DHAVE_CONFIG_H ${LOCAL_CFLAGS}
|
|
|
|
HISTSRC=history.c histexpand.c histfile.c histsearch.c shell.c mbutil.c
|
|
|
|
.include "../Makefile.inc"
|