From 4c70cda986c86fe536327321d04c29eca81b6409 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 18 May 2008 23:02:47 +0200 Subject: Fix a couple (well, little more than that..) of typos. (This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24) --- source4/build/make/rules.mk | 2 -- source4/build/make/templates.mk | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'source4/build/make') diff --git a/source4/build/make/rules.mk b/source4/build/make/rules.mk index b47cf2d382..176e67a691 100644 --- a/source4/build/make/rules.mk +++ b/source4/build/make/rules.mk @@ -56,8 +56,6 @@ clean:: clean_pch @echo Removing generated files @-rm -f bin/*_init_module.c @-rm -rf librpc/gen_* - @echo Removing proto headers - @-rm -f $(PROTO_HEADERS) distclean:: clean -rm -f include/config.h include/config_tmp.h include/build.h 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 -- cgit