Import sendmail 8.13.8
[dragonfly.git] / contrib / sendmail-8.13.8 / devtools / M4 / UNIX / smlib.m4
1 divert(-1)
2 #
3 # Copyright (c) 1999-2000 Sendmail, Inc. and its suppliers.
4 #       All rights reserved.
5 #
6 # By using this file, you agree to the terms and conditions set
7 # forth in the LICENSE file which can be found at the top level of
8 # the sendmail distribution.
9 #
10 #
11 #  Definitions for Makefile construction for sendmail
12 #
13 #       $Id: smlib.m4,v 8.3 2000/07/07 18:52:23 dmoen Exp $
14 #
15 divert(0)dnl
16
17 define(`confLIBEXT', `a')dnl
18
19 define(`bldPUSH_SMLIB',
20         `bldPUSH_TARGET(bldABS_OBJ_DIR`/lib$1/lib$1.a')
21 bldPUSH_SMDEPLIB(bldABS_OBJ_DIR`/lib$1/lib$1.a')
22 PREPENDDEF(`confLIBS', bldABS_OBJ_DIR`/lib$1/lib$1.a')
23 divert(bldTARGETS_SECTION)
24 bldABS_OBJ_DIR/lib$1/lib$1.a:
25         (cd ${SRCDIR}/lib$1; sh Build ${SENDMAIL_BUILD_FLAGS})
26 divert
27 ')dnl