xref: /freebsd/contrib/sendmail/libsm/Makefile.m4 (revision d39bd2c1388b520fcba9abed1932acacead60fba)
1dnl $Id: Makefile.m4,v 1.75 2013-08-27 19:02:10 ca Exp $
2define(`confREQUIRE_LIBUNIX')
3include(confBUILDTOOLSDIR`/M4/switch.m4')
4
5define(`confREQUIRE_LIBSM', `true')
6define(`confREQUIRE_SM_OS_H', `true')
7PREPENDDEF(`confENVDEF', `confMAPDEF')
8bldPRODUCT_START(`library', `libsm')
9define(`bldSOURCES', ` assert.c debug.c errstring.c exc.c heap.c match.c rpool.c strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c wbuf.c wsetup.c string.c stringf.c xtrap.c strto.c test.c strcasecmp.c strrevcmp.c signal.c clock.c config.c shm.c sem.c mbdb.c strexit.c cf.c ldap.c niprop.c mpeix.c memstat.c util.c inet6_ntop.c notify.c ilenx.c xleni.c utf8_valid.c uxtext_unquote.c lowercase.c strcaseeq.c ')
10bldPRODUCT_END
11dnl msg.c
12dnl syslogio.c
13
14srcdir=${SRCDIR}/libsm
15define(`confCHECK_LIBS',`libsm.a')dnl
16include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/check.m4')
17smcheck(`t-event', `compile-run')
18smcheck(`t-exc', `compile-run')
19smcheck(`t-rpool', `compile-run')
20smcheck(`t-string', `compile-run')
21smcheck(`t-smstdio', `compile-run')
22smcheck(`t-fget', `compile-run')
23smcheck(`t-match', `compile-run')
24smcheck(`t-strio', `compile-run')
25smcheck(`t-heap', `compile-run')
26smcheck(`t-fopen', `compile-run')
27smcheck(`t-strl', `compile-run')
28smcheck(`t-strrevcmp', `compile-run')
29smcheck(`t-types', `compile-run')
30smcheck(`t-path', `compile-run')
31smcheck(`t-float', `compile-run')
32smcheck(`t-scanf', `compile-run')
33smcheck(`t-shm', `compile-run')
34smcheck(`t-sem', `compile-run')
35smcheck(`t-inet6_ntop', `compile-run')
36smcheck(`t-cf')
37smcheck(`b-strcmp')
38dnl SM_CONF_STRL cannot be turned off
39dnl smcheck(`b-strl')
40smcheck(`t-memstat')
41
42smcheck(`t-qic', `compile-run')
43smcheck(`t-str2prt', `compile-run')
44dnl ? smcheck(`t-isprint', `compile-run')
45smcheck(`t-ixlen', `compile')
46smcheck(`t-ixlen.sh', `run')
47smcheck(`t-streq', `compile')
48smcheck(`t-streq.sh', `run')
49divert(bldTARGETS_SECTION)
50divert(0)
51
52bldFINISH
53