You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
577 B

  1. --- a/libmilter/Makefile.m4
  2. +++ b/libmilter/Makefile.m4
  3. @@ -9,7 +9,10 @@ define(`confMT', `true')
  4. SMSRCDIR=ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
  5. PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
  6. -bldPRODUCT_START(`library', `libmilter')
  7. +# obtain libmilter version
  8. +define(`confSOVER', `esyscmd(`gcc -I../include -o lm_getver lm_getver.c && ./lm_getver')')
  9. +
  10. +bldPRODUCT_START(`sharedlibrary', `libmilter')
  11. define(`bldINSTALLABLE', `true')
  12. define(`LIBMILTER_EXTRAS', `errstring.c strl.c')
  13. APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL -Dsm_snprintf=snprintf')