summaryrefslogtreecommitdiff
path: root/BuildTools/M4
diff options
context:
space:
mode:
authorAndreas Beckmann <debian@abeckmann.de>2012-10-01 19:58:38 +0200
committerAndreas Beckmann <debian@abeckmann.de>2012-10-01 19:58:38 +0200
commit6b71060b84a2d9111ec847e66cc5160aab8a45e8 (patch)
tree599eb55ae3e0ec0f95d829c185831f3027eec78b /BuildTools/M4
parent6c193ce1dd1d07ebdc1372e38bc4908ab1c37705 (diff)
downloadsendmail-6b71060b84a2d9111ec847e66cc5160aab8a45e8.tar.gz
Imported Upstream version 8.9.3upstream/8.9.3
Diffstat (limited to 'BuildTools/M4')
-rw-r--r--BuildTools/M4/depend/BSD.m48
-rw-r--r--BuildTools/M4/depend/CC-M.m48
-rw-r--r--BuildTools/M4/depend/NCR.m48
-rw-r--r--BuildTools/M4/depend/Solaris.m48
-rw-r--r--BuildTools/M4/depend/X11.m45
-rw-r--r--BuildTools/M4/depend/generic.m48
-rw-r--r--BuildTools/M4/header.m432
7 files changed, 77 insertions, 0 deletions
diff --git a/BuildTools/M4/depend/BSD.m4 b/BuildTools/M4/depend/BSD.m4
new file mode 100644
index 0000000..83827a7
--- /dev/null
+++ b/BuildTools/M4/depend/BSD.m4
@@ -0,0 +1,8 @@
+# @(#)BSD.m4 8.3 (Berkeley) 2/9/1998
+depend: ${BEFORE}
+ @mv Makefile Makefile.old
+ @sed -e '/^# Do not edit or remove this line or anything below it.$$/,$$d' < Makefile.old > Makefile
+ @echo "# Do not edit or remove this line or anything below it." >> Makefile
+ mkdep -a -f Makefile ${COPTS} *.c
+
+# End of BSD.m4
diff --git a/BuildTools/M4/depend/CC-M.m4 b/BuildTools/M4/depend/CC-M.m4
new file mode 100644
index 0000000..10d61b8
--- /dev/null
+++ b/BuildTools/M4/depend/CC-M.m4
@@ -0,0 +1,8 @@
+# @(#)CC-M.m4 8.2 (Berkeley) 2/19/1998
+depend: ${BEFORE}
+ @mv Makefile Makefile.old
+ @sed -e '/^# Do not edit or remove this line or anything below it.$$/,$$d' < Makefile.old > Makefile
+ @echo "# Do not edit or remove this line or anything below it." >> Makefile
+ ${CC} -M ${COPTS} *.c >> Makefile
+
+# End of CC-M.m4
diff --git a/BuildTools/M4/depend/NCR.m4 b/BuildTools/M4/depend/NCR.m4
new file mode 100644
index 0000000..22af77d
--- /dev/null
+++ b/BuildTools/M4/depend/NCR.m4
@@ -0,0 +1,8 @@
+# @(#)NCR.m4 8.3 (Berkeley) 2/19/1998
+depend: ${BEFORE}
+ @mv Makefile Makefile.old
+ @sed -e '/^# Do not edit or remove this line or anything below it.$$/,$$d' < Makefile.old > Makefile
+ @echo "# Do not edit or remove this line or anything below it." >> Makefile
+ ${CC} -w0 -Hmake ${COPTS} *.c >> Makefile
+
+# End of NCR.m4
diff --git a/BuildTools/M4/depend/Solaris.m4 b/BuildTools/M4/depend/Solaris.m4
new file mode 100644
index 0000000..bf245f6
--- /dev/null
+++ b/BuildTools/M4/depend/Solaris.m4
@@ -0,0 +1,8 @@
+# @(#)Solaris.m4 8.1 (Berkeley) 3/5/1998
+depend: ${BEFORE}
+ @mv Makefile Makefile.old
+ @sed -e '/^# Do not edit or remove this line or anything below it.$$/,$$d' < Makefile.old > Makefile
+ @echo "# Do not edit or remove this line or anything below it." >> Makefile
+ ${CC} -xM ${COPTS} *.c >> Makefile
+
+# End of Solaris.m4
diff --git a/BuildTools/M4/depend/X11.m4 b/BuildTools/M4/depend/X11.m4
new file mode 100644
index 0000000..3afbfe9
--- /dev/null
+++ b/BuildTools/M4/depend/X11.m4
@@ -0,0 +1,5 @@
+# @(#)X11.m4 8.1 (Berkeley) 4/8/1998
+depend: ${BEFORE}
+ makedepend -- ${COPTS} -- *.c
+
+# End of X11.m4
diff --git a/BuildTools/M4/depend/generic.m4 b/BuildTools/M4/depend/generic.m4
new file mode 100644
index 0000000..330d4cf
--- /dev/null
+++ b/BuildTools/M4/depend/generic.m4
@@ -0,0 +1,8 @@
+# @(#)generic.m4 8.2 (Berkeley) 2/9/1998
+# dependencies
+# gross overkill, and yet still not quite enough....
+${OBJS}: ${SRCDIR}/sendmail.h ${SRCDIR}/conf.h
+
+# give a null "depend" list so that the startup script will work
+depend:
+# End of generic.m4
diff --git a/BuildTools/M4/header.m4 b/BuildTools/M4/header.m4
new file mode 100644
index 0000000..087cf0e
--- /dev/null
+++ b/BuildTools/M4/header.m4
@@ -0,0 +1,32 @@
+#
+# Copyright (c) 1998 Sendmail, Inc. 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
+#
+# @(#)header.m4 8.14 (Berkeley) 5/19/1998
+#
+changecom(^A)
+undefine(`format')
+undefine(`hpux')
+ifdef(`pushdef', `',
+ `errprint(`You need a newer version of M4, at least as new as
+System V or GNU')
+ include(NoSuchFile)')
+define(`confABI', `')
+define(`confCC', `cc')
+define(`confSHELL', `/bin/sh')
+define(`confBEFORE', `')
+define(`confLIBDIRS', `')
+define(`confINCDIRS', `')
+define(`confLIBSEARCH', `db bind resolv 44bsd')
+define(`confSITECONFIG', `site.config')
+define(`confBUILDBIN', `../../BuildTools/bin')
+define(`PUSHDIVERT', `pushdef(`__D__', divnum)divert($1)')
+define(`POPDIVERT', `divert(__D__)popdef(`__D__')')
+define(`APPENDDEF', `define(`$1', ifdef(`$1', `$1 $2', `$2'))')
+define(`PREPENDDEF', `define(`$1', ifdef(`$1', `$2 $1', `$2'))')