summaryrefslogtreecommitdiff
path: root/utils/mkdependC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mkdependC/Makefile')
-rw-r--r--utils/mkdependC/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/utils/mkdependC/Makefile b/utils/mkdependC/Makefile
new file mode 100644
index 0000000000..9b07685bb3
--- /dev/null
+++ b/utils/mkdependC/Makefile
@@ -0,0 +1,21 @@
+#
+# Boilerplate Makefile for building perl script that
+# needs some configured constants prepended to it.
+#
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
+
+boot :: all
+
+SCRIPT_PROG=mkdependC
+SCRIPT_OBJS=mkdependC.prl
+#
+# Prepend (perl) bindings for these Makefile variables
+# when creating `mkdependC' (a more flexible way of doing msub).
+#
+SCRIPT_SUBST_VARS=DEFAULT_TMPDIR CPP BUILDPLATFORM
+
+CLEAN_FILES += $(SCRIPT_PROG)
+INTERP=perl
+
+include $(TOP)/mk/target.mk