summaryrefslogtreecommitdiff
path: root/source4/build/make/templates.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/make/templates.mk')
-rw-r--r--source4/build/make/templates.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/build/make/templates.mk b/source4/build/make/templates.mk
index 87aa30c0c0..48678c5603 100644
--- a/source4/build/make/templates.mk
+++ b/source4/build/make/templates.mk
@@ -35,11 +35,16 @@ endef
# Create a prototype header
# Arguments: header file, c files
define proto_header_template
+
+proto:: $(1) ;
+
+clean:: ;
+ rm -f $(1)
+
$(1): $(2) ;
@echo "Creating $$@"
@$$(PERL) $$(srcdir)/script/mkproto.pl --srcdir=$$(srcdir) --builddir=$$(builddir) --public=/dev/null --private=$$@ $$^
-PROTO_HEADERS += $(1)
endef
# Shared module