1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

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>
This commit is contained in:
Amitay Isaacs 2014-05-14 01:40:22 +10:00 committed by Michael Adam
parent f52690dc68
commit f4b06b0ec4

View File

@ -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)