freebsd-skq/lib/libsmutil/Makefile
ngie fb037a71a0 Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This implifies pathing in make/displayed output

MFC after:    3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:34:34 +00:00

27 lines
548 B
Makefile

# $FreeBSD$
PACKAGE=lib${LIB}
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsmutil
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
# User customizations to the sendmail build environment
CFLAGS+=${SENDMAIL_CFLAGS}
WARNS?= 2
LIB= smutil
SRCS+= sm_os.h
SRCS+= debug.c err.c lockfile.c safefile.c snprintf.c cf.c
CLEANFILES+=sm_os.h
INTERNALLIB=
sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
ln -sf ${.ALLSRC} ${.TARGET}
.include <bsd.lib.mk>