2 # Boilerplate Makefile for building perl script that
3 # needs some configured constants prepended to it.
6 include $(TOP)/mk/boilerplate.mk
11 CLEAN_FILES += $(PROG)
14 echo '#!$(PERL)' >> $(PROG)
15 echo '$$DEFAULT_TMPDIR = "$(DEFAULT_TMPDIR)";' >> $(PROG)
16 echo '$$CPP = "$(CPP)";' >> $(PROG)
17 echo '$$BUILDPLATFORM = "$(BUILDPLATFORM)";' >> $(PROG)
18 cat $(PROG).prl >> $(PROG)
19 $(EXECUTABLE_FILE) $(PROG)
21 include $(TOP)/mk/target.mk