2013-04-21 16:35:04 +00:00
|
|
|
dnl $Id: Makefile.m4,v 1.73 2013/03/12 15:24:50 ca Exp $
|
2002-02-17 21:56:45 +00:00
|
|
|
define(`confREQUIRE_LIBUNIX')
|
|
|
|
include(confBUILDTOOLSDIR`/M4/switch.m4')
|
|
|
|
|
|
|
|
define(`confREQUIRE_LIBSM', `true')
|
2007-04-09 01:38:51 +00:00
|
|
|
define(`confREQUIRE_SM_OS_H', `true')
|
2002-02-17 21:56:45 +00:00
|
|
|
PREPENDDEF(`confENVDEF', `confMAPDEF')
|
|
|
|
bldPRODUCT_START(`library', `libsm')
|
2007-04-09 01:38:51 +00:00
|
|
|
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 ')
|
2002-02-17 21:56:45 +00:00
|
|
|
bldPRODUCT_END
|
2005-06-07 04:14:59 +00:00
|
|
|
dnl msg.c
|
2002-02-17 21:56:45 +00:00
|
|
|
dnl syslogio.c
|
|
|
|
|
2007-04-09 01:38:51 +00:00
|
|
|
define(`confCHECK_LIBS',`libsm.a')dnl
|
|
|
|
include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/check.m4')
|
|
|
|
smcheck(`t-event', `compile-run')
|
|
|
|
smcheck(`t-exc', `compile-run')
|
|
|
|
smcheck(`t-rpool', `compile-run')
|
|
|
|
smcheck(`t-string', `compile-run')
|
|
|
|
smcheck(`t-smstdio', `compile-run')
|
2013-04-21 16:35:04 +00:00
|
|
|
smcheck(`t-fget', `compile-run')
|
2007-04-09 01:38:51 +00:00
|
|
|
smcheck(`t-match', `compile-run')
|
|
|
|
smcheck(`t-strio', `compile-run')
|
|
|
|
smcheck(`t-heap', `compile-run')
|
|
|
|
smcheck(`t-fopen', `compile-run')
|
|
|
|
smcheck(`t-strl', `compile-run')
|
|
|
|
smcheck(`t-strrevcmp', `compile-run')
|
|
|
|
smcheck(`t-types', `compile-run')
|
|
|
|
smcheck(`t-path', `compile-run')
|
|
|
|
smcheck(`t-float', `compile-run')
|
|
|
|
smcheck(`t-scanf', `compile-run')
|
|
|
|
smcheck(`t-shm', `compile-run')
|
|
|
|
smcheck(`t-sem', `compile-run')
|
|
|
|
dnl smcheck(`t-msg', `compile-run')
|
|
|
|
smcheck(`t-cf')
|
|
|
|
smcheck(`b-strcmp')
|
2002-02-17 21:56:45 +00:00
|
|
|
dnl SM_CONF_STRL cannot be turned off
|
2007-04-09 01:38:51 +00:00
|
|
|
dnl smcheck(`b-strl')
|
|
|
|
smcheck(`t-memstat')
|
|
|
|
|
|
|
|
smcheck(`t-qic', `compile-run')
|
|
|
|
divert(bldTARGETS_SECTION)
|
|
|
|
divert(0)
|
2002-02-17 21:56:45 +00:00
|
|
|
|
|
|
|
bldFINISH
|