2000-08-12 21:55:49 +00:00
|
|
|
include(confBUILDTOOLSDIR`/M4/switch.m4')
|
|
|
|
|
|
|
|
define(`confMT', `true')
|
|
|
|
|
|
|
|
# sendmail dir
|
|
|
|
SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
|
|
|
|
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
|
|
|
|
|
|
|
|
bldPRODUCT_START(`library', `libmilter')
|
2001-01-21 22:17:06 +00:00
|
|
|
define(`bldINSTALLABLE', `true')
|
2000-08-12 21:55:49 +00:00
|
|
|
define(`bldSOURCES', `main.c engine.c listener.c handler.c comm.c smfi.c signal.c sm_gethost.c ')
|
|
|
|
bldPUSH_SMLIB(`smutil')
|
2001-01-21 22:17:06 +00:00
|
|
|
bldPUSH_INSTALL_TARGET(`install-mfapi')
|
2000-08-12 21:55:49 +00:00
|
|
|
bldPRODUCT_END
|
|
|
|
APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
|
|
|
|
|
2001-01-21 22:17:06 +00:00
|
|
|
divert(bldTARGETS_SECTION)
|
|
|
|
# Install the API header file
|
2001-02-28 00:19:57 +00:00
|
|
|
MFAPI= ${SRCDIR}/inc`'lude/libmilter/mfapi.h
|
2001-01-21 22:17:06 +00:00
|
|
|
install-mfapi: ${MFAPI}
|
2001-02-28 00:19:57 +00:00
|
|
|
${INSTALL} -c -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} ${MFAPI} ${DESTDIR}${INCLUDEDIR}
|
2001-01-21 22:17:06 +00:00
|
|
|
divert(0)
|
|
|
|
|
2000-08-12 21:55:49 +00:00
|
|
|
bldFINISH
|