summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail/devtools/M4/depend/AIX.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.sbin/sendmail/devtools/M4/depend/AIX.m4')
-rw-r--r--gnu/usr.sbin/sendmail/devtools/M4/depend/AIX.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/usr.sbin/sendmail/devtools/M4/depend/AIX.m4 b/gnu/usr.sbin/sendmail/devtools/M4/depend/AIX.m4
new file mode 100644
index 00000000000..af024ad9b04
--- /dev/null
+++ b/gnu/usr.sbin/sendmail/devtools/M4/depend/AIX.m4
@@ -0,0 +1,15 @@
+# $Sendmail: AIX.m4,v 8.2 1999/05/28 05:54:26 gshapiro Exp $
+depend: ${BEFORE} ${LINKS}
+ @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
+ changequote([,])
+ for i in ${SRCS}; \
+ do \
+ ${CC} -M -E ${COPTS} $$i > /dev/null; \
+ cat `basename $$i .c`.u >> Makefile ; \
+ rm -f `basename $$i .c`.u ; \
+ done;
+ changequote
+
+# End of $RCSfile: AIX.m4,v $