diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-26 14:48:11 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-26 14:48:11 +0100 |
commit | 0493c5a5004096ab5118920dec16d6be4cf0fdc9 (patch) | |
tree | 4f46eee986dccef63dcf8dc1ef529f0f94ebf601 /source4/Makefile | |
parent | a999a1fc996234555bd2d8a4a873b39d111c347e (diff) | |
download | samba-0493c5a5004096ab5118920dec16d6be4cf0fdc9.tar.gz samba-0493c5a5004096ab5118920dec16d6be4cf0fdc9.tar.bz2 samba-0493c5a5004096ab5118920dec16d6be4cf0fdc9.zip |
Move common rules code to separate directory.
(This used to be commit 803ebd6479ae388ae65de8de7fb88600452d47df)
Diffstat (limited to 'source4/Makefile')
-rw-r--r-- | source4/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
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) |