Makefile.m4 revision 90792
164562Sgshapiroinclude(confBUILDTOOLSDIR`/M4/switch.m4') 264562Sgshapiro 390792Sgshapirodnl only required for compilation of EXTRAS 490792Sgshapirodefine(`confREQUIRE_LIBSM', `true') 564562Sgshapirodefine(`confMT', `true') 664562Sgshapiro 764562Sgshapiro# sendmail dir 864562SgshapiroSMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail') 964562SgshapiroPREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ') 1064562Sgshapiro 1164562SgshapirobldPRODUCT_START(`library', `libmilter') 1271345Sgshapirodefine(`bldINSTALLABLE', `true') 1390792Sgshapirodefine(`LIBMILTER_EXTRAS', `errstring.c strl.c') 1490792SgshapiroAPPENDDEF(`confENVDEF', `-DNOT_SENDMAIL -Dsm_snprintf=snprintf') 1590792Sgshapirodefine(`bldSOURCES', `main.c engine.c listener.c handler.c comm.c smfi.c signal.c sm_gethost.c LIBMILTER_EXTRAS ') 1690792Sgshapirodefine(`confBEFORE', `LIBMILTER_EXTRAS') 1771345SgshapirobldPUSH_INSTALL_TARGET(`install-mfapi') 1864562SgshapirobldPRODUCT_END 1964562Sgshapiro 2090792SgshapiroPUSHDIVERT(3) 2190792Sgshapiroerrstring.c: 2290792Sgshapiro ${LN} ${LNOPTS} ${SRCDIR}/libsm/errstring.c . 2390792Sgshapiro 2490792Sgshapirostrl.c: 2590792Sgshapiro ${LN} ${LNOPTS} ${SRCDIR}/libsm/strl.c . 2690792SgshapiroPOPDIVERT 2790792Sgshapiro 2890792Sgshapiro 2971345Sgshapirodivert(bldTARGETS_SECTION) 3090792Sgshapiro# Install the API header files 3173188SgshapiroMFAPI= ${SRCDIR}/inc`'lude/libmilter/mfapi.h 3290792SgshapiroMFDEF= ${SRCDIR}/inc`'lude/libmilter/mfdef.h 3371345Sgshapiroinstall-mfapi: ${MFAPI} 3473188Sgshapiro ${INSTALL} -c -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} ${MFAPI} ${DESTDIR}${INCLUDEDIR} 3590792Sgshapiro ${INSTALL} -c -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} ${MFDEF} ${DESTDIR}${INCLUDEDIR} 3671345Sgshapirodivert(0) 3771345Sgshapiro 3864562SgshapirobldFINISH 39