summaryrefslogtreecommitdiff
path: root/BuildTools/M4/depend/Solaris.m4
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools/M4/depend/Solaris.m4')
-rw-r--r--BuildTools/M4/depend/Solaris.m48
1 files changed, 8 insertions, 0 deletions
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