summaryrefslogtreecommitdiff
path: root/gnu/dist/sendmail/devtools/M4/UNIX/smlib.m4
blob: 948a039639369a274dfe3586ad43a0a9b14ed30b (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.1.2.1 2000/04/10 06:41:06 gshapiro Exp
#
divert(0)dnl

define(`confLIBEXT', `a')dnl

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