aboutsummaryrefslogtreecommitdiff
path: root/devtools/M4/UNIX/smlib.m4
blob: 6e57781474ecda3e615b692825d26ba6d5347cd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
divert(-1)
#
# Copyright (c) 1999-2000 Proofpoint, Inc. and its suppliers.
#	All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#
#  Definitions for Makefile construction for sendmail
#
#	$Id: smlib.m4,v 8.4 2013/11/22 20:51:23 ca Exp $
#
divert(0)dnl

define(`confLIBEXT', `a')dnl

define(`bldPUSH_SMLIB',
	`bldPUSH_TARGET(bldABS_OBJ_DIR`/lib$1/lib$1.a')
bldPUSH_SMDEPLIB(bldABS_OBJ_DIR`/lib$1/lib$1.a')
PREPENDDEF(`confLIBS', bldABS_OBJ_DIR`/lib$1/lib$1.a')
divert(bldTARGETS_SECTION)
bldABS_OBJ_DIR/lib$1/lib$1.a:
	(cd ${SRCDIR}/lib$1; sh Build ${SENDMAIL_BUILD_FLAGS})
divert
')dnl