From 0493c5a5004096ab5118920dec16d6be4cf0fdc9 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 26 Feb 2008 14:48:11 +0100 Subject: Move common rules code to separate directory. (This used to be commit 803ebd6479ae388ae65de8de7fb88600452d47df) --- source4/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source4/Makefile') diff --git a/source4/Makefile b/source4/Makefile index 4bd5042f3c..3a303ae39f 100644 --- a/source4/Makefile +++ b/source4/Makefile @@ -19,6 +19,18 @@ BNLD_FLAGS = $(LDFLAGS) $(SYS_LDFLAGS) HOSTCC_FLAGS = -D_SAMBA_HOSTCC_ $(CFLAGS) HOSTLD_FLAGS = $(LDFLAGS) $(SYS_LDFLAGS) +$(srcdir)/version.h: $(srcdir)/VERSION + @$(SHELL) script/mkversion.sh VERSION $(srcdir)/version.h $(srcdir)/ + +regen_version:: + @$(SHELL) script/mkversion.sh VERSION $(srcdir)/version.h $(srcdir)/ + +clean_pch:: + @echo "Removing precompiled headers" + @-rm -f include/includes.h.gch + +pch:: clean_pch include/includes.h.gch + .DEFAULT_GOAL := all ifneq ($(automatic_deps),yes) -- cgit