freebsd-dev/contrib/sendmail/libmilter/Makefile.m4

25 lines
728 B
Makefile
Raw Normal View History

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')
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')
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)
bldFINISH