aboutsummaryrefslogtreecommitdiff
path: root/contrib/sendmail/BuildTools/M4/depend/Solaris.m4
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sendmail/BuildTools/M4/depend/Solaris.m4')
-rw-r--r--contrib/sendmail/BuildTools/M4/depend/Solaris.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/sendmail/BuildTools/M4/depend/Solaris.m4 b/contrib/sendmail/BuildTools/M4/depend/Solaris.m4
new file mode 100644
index 000000000000..cbdc618abfc8
--- /dev/null
+++ b/contrib/sendmail/BuildTools/M4/depend/Solaris.m4
@@ -0,0 +1,8 @@
+# @(#)Solaris.m4 8.1 (Berkeley) 3/5/98
+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