summaryrefslogtreecommitdiff
path: root/gnu/dist/sendmail/devtools/M4/UNIX/smlib.m4
blob: a59ea958bbdda58332124d8be1a2359de1056ced (plain)
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
28
divert(-1)
#
# Copyright (c) 1999-2000 Sendmail, 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.3 2000/07/07 18:52:23 dmoen Exp
#	$NetBSD: smlib.m4,v 1.5 2003/06/01 14:06:53 atatat 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