freebsd-skq/lib/libsmutil/Makefile

24 lines
510 B
Makefile
Raw Normal View History

# $FreeBSD$
SENDMAIL_DIR=${.CURDIR}/../../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}
LIB= smutil
SRCS+= sm_os.h
SRCS+= debug.c err.c lockfile.c safefile.c snprintf.c cf.c
CLEANFILES+=sm_os.h
INTERNALLIB= true
sm_os.h:
ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
.include <bsd.lib.mk>