summaryrefslogtreecommitdiff
path: root/utils/mkdependC/Makefile
blob: 9b07685bb3e34beae318c792f7b590c37463c344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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