summaryrefslogtreecommitdiff
path: root/utils/mkdependC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mkdependC/Makefile')
-rw-r--r--utils/mkdependC/Makefile27
1 files changed, 3 insertions, 24 deletions
diff --git a/utils/mkdependC/Makefile b/utils/mkdependC/Makefile
index 432c8981e4..0a67928259 100644
--- a/utils/mkdependC/Makefile
+++ b/utils/mkdependC/Makefile
@@ -1,24 +1,3 @@
-#
-# Boilerplate Makefile for building perl script that
-# needs some configured constants prepended to it.
-#
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-boot :: all
-
-PROG=mkdependC
-CLEAN_FILES += $(PROG)
-all::
- $(RM) -f $(PROG)
- echo '#!$(PERL)' >> $(PROG)
- echo '$$DEFAULT_TMPDIR = "$(DEFAULT_TMPDIR)";' >> $(PROG)
- echo '$$CPP = "$(CPP)";' >> $(PROG)
- echo '$$BUILDPLATFORM = "$(BUILDPLATFORM)";' >> $(PROG)
- cat $(PROG).prl >> $(PROG)
- $(EXECUTABLE_FILE) $(PROG)
-
-binary-dist:
- @:
-
-include $(TOP)/mk/target.mk
+dir = utils/mkdependC
+TOP = ../..
+include $(TOP)/mk/sub-makefile.mk