summaryrefslogtreecommitdiff
path: root/devtools/M4/UNIX/smlib.m4
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/M4/UNIX/smlib.m4')
-rw-r--r--devtools/M4/UNIX/smlib.m427
1 files changed, 27 insertions, 0 deletions
diff --git a/devtools/M4/UNIX/smlib.m4 b/devtools/M4/UNIX/smlib.m4
new file mode 100644
index 0000000000000..9720d7d7427c2
--- /dev/null
+++ b/devtools/M4/UNIX/smlib.m4
@@ -0,0 +1,27 @@
+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 $
+#
+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