]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/sendmail/libsm/Makefile.m4
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / sendmail / libsm / Makefile.m4
1 dnl $Id: Makefile.m4,v 1.73 2013/03/12 15:24:50 ca Exp $
2 define(`confREQUIRE_LIBUNIX')
3 include(confBUILDTOOLSDIR`/M4/switch.m4')
4
5 define(`confREQUIRE_LIBSM', `true')
6 define(`confREQUIRE_SM_OS_H', `true')
7 PREPENDDEF(`confENVDEF', `confMAPDEF')
8 bldPRODUCT_START(`library', `libsm')
9 define(`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 path.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 ')
10 bldPRODUCT_END
11 dnl msg.c
12 dnl syslogio.c
13
14 define(`confCHECK_LIBS',`libsm.a')dnl
15 include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/check.m4')
16 smcheck(`t-event', `compile-run')
17 smcheck(`t-exc', `compile-run')
18 smcheck(`t-rpool', `compile-run')
19 smcheck(`t-string', `compile-run')
20 smcheck(`t-smstdio', `compile-run')
21 smcheck(`t-fget', `compile-run')
22 smcheck(`t-match', `compile-run')
23 smcheck(`t-strio', `compile-run')
24 smcheck(`t-heap', `compile-run')
25 smcheck(`t-fopen', `compile-run')
26 smcheck(`t-strl', `compile-run')
27 smcheck(`t-strrevcmp', `compile-run')
28 smcheck(`t-types', `compile-run')
29 smcheck(`t-path', `compile-run')
30 smcheck(`t-float', `compile-run')
31 smcheck(`t-scanf', `compile-run')
32 smcheck(`t-shm', `compile-run')
33 smcheck(`t-sem', `compile-run')
34 dnl smcheck(`t-msg', `compile-run')
35 smcheck(`t-cf')
36 smcheck(`b-strcmp')
37 dnl SM_CONF_STRL cannot be turned off
38 dnl smcheck(`b-strl')
39 smcheck(`t-memstat')
40
41 smcheck(`t-qic', `compile-run')
42 divert(bldTARGETS_SECTION)
43 divert(0)
44
45 bldFINISH