blob: 4b924641d2369e041102d84cb02c5d171d3ced20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
include(confBUILDTOOLSDIR`/M4/switch.m4')
define(`confMT', `true')
# sendmail dir
SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
bldPRODUCT_START(`library', `libmilter')
define(`bldINSTALLABLE', `true')
define(`bldSOURCES', `main.c engine.c listener.c handler.c comm.c smfi.c signal.c sm_gethost.c ')
bldPUSH_SMLIB(`smutil')
bldPUSH_INSTALL_TARGET(`install-mfapi')
bldPRODUCT_END
APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
divert(bldTARGETS_SECTION)
# Install the API header file
MFAPI= ${SRCDIR}/include/libmilter/mfapi.h
install-mfapi: ${MFAPI}
${INSTALL} ${MFAPI} ${DESTDIR}${INCLUDEDIR}
divert(0)
bldFINISH
|