mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 15:01:10 +01:00
e9ac41698b
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
27 lines
572 B
Makefile
27 lines
572 B
Makefile
PACKAGE=lib${LIB}
|
|
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
|
|
.PATH: ${SENDMAIL_DIR}/libsmdb
|
|
|
|
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
|
|
CFLAGS+=-DNEWDB -DNOT_SENDMAIL
|
|
|
|
# User customizations to the sendmail build environment
|
|
CFLAGS+=${SENDMAIL_CFLAGS}
|
|
|
|
WARNS?= 3
|
|
|
|
LIB= smdb
|
|
|
|
SRCS+= sm_os.h
|
|
SRCS+= smdb.c smdb1.c smdb2.c smndbm.c smcdb.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>
|
|
|
|
CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE} ${NO_WSTRICT_PROTOTYPES}
|