2016-02-04 22:16:35 +01:00
|
|
|
PACKAGE=lib${LIB}
|
2017-01-20 05:35:18 +01:00
|
|
|
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
|
2000-08-13 00:39:25 +02:00
|
|
|
.PATH: ${SENDMAIL_DIR}/libsmdb
|
|
|
|
|
2002-02-17 23:05:07 +01:00
|
|
|
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
|
2000-08-13 00:39:25 +02:00
|
|
|
CFLAGS+=-DNEWDB -DNOT_SENDMAIL
|
|
|
|
|
2000-09-17 02:41:33 +02:00
|
|
|
# User customizations to the sendmail build environment
|
|
|
|
CFLAGS+=${SENDMAIL_CFLAGS}
|
|
|
|
|
2010-01-02 10:58:07 +01:00
|
|
|
WARNS?= 3
|
|
|
|
|
2000-08-13 00:39:25 +02:00
|
|
|
LIB= smdb
|
|
|
|
|
2002-02-17 23:05:07 +01:00
|
|
|
SRCS+= sm_os.h
|
2020-07-15 20:28:54 +02:00
|
|
|
SRCS+= smdb.c smdb1.c smdb2.c smndbm.c smcdb.c
|
2002-02-17 23:05:07 +01:00
|
|
|
CLEANFILES+=sm_os.h
|
2000-08-13 00:39:25 +02:00
|
|
|
|
2004-10-24 17:33:08 +02:00
|
|
|
INTERNALLIB=
|
2000-08-13 00:39:25 +02:00
|
|
|
|
2015-11-25 20:44:43 +01:00
|
|
|
sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
|
|
|
|
ln -sf ${.ALLSRC} ${.TARGET}
|
2002-02-17 23:05:07 +01:00
|
|
|
|
2000-08-13 00:39:25 +02:00
|
|
|
.include <bsd.lib.mk>
|
2023-04-18 20:19:48 +02:00
|
|
|
|
2023-04-24 17:53:49 +02:00
|
|
|
CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE} ${NO_WSTRICT_PROTOTYPES}
|