diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-05-14 01:40:22 +1000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-05-27 13:43:11 +0200 |
commit | f4b06b0ec4ee1af5368e2fc171d7f7809bf0697a (patch) | |
tree | 8e8fd4f2d6e9afdbeab9d8228c875a1509f3d72b /ctdb/Makefile.in | |
parent | f52690dc68e2b2778f7c85eae64b3dc45f06409a (diff) | |
download | samba-f4b06b0ec4ee1af5368e2fc171d7f7809bf0697a.tar.gz samba-f4b06b0ec4ee1af5368e2fc171d7f7809bf0697a.tar.xz samba-f4b06b0ec4ee1af5368e2fc171d7f7809bf0697a.zip |
ctdb-build: Build ctdb_version.h before compiling files that include it
This will correctly build ctdb_version.h before other targets when
running make -j.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'ctdb/Makefile.in')
-rwxr-xr-x | ctdb/Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/Makefile.in b/ctdb/Makefile.in index 3c9167dad3a..6fa93a4d2ad 100755 --- a/ctdb/Makefile.in +++ b/ctdb/Makefile.in @@ -158,6 +158,9 @@ $(CTDB_VERSION_H): @echo Generating $@ $(WRAPPER) ./packaging/mkversion.sh +server/ctdb_daemon.c: $(CTDB_VERSION_H) +tools/ctdb.c: $(CTDB_VERSION_H) + bin/ctdbd: $(CTDB_SERVER_OBJ) @echo Linking $@ $(WRAPPER) $(CC) $(CFLAGS) -o $@ $(CTDB_SERVER_OBJ) $(LIB_FLAGS) |