[CTDB][PATCH] added a prerequisite to make it safe to use make -j

Sumit Bose sbose at redhat.com
Tue Feb 24 05:08:00 MST 2009


Hi,

this patch makes sure smnotify.h is generated before smnotify.c is compiled.

bye,
Sumit
-------------- next part --------------
>From 9e8e305dc7d49b62cc7321339948b2f89e6c35d6 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Tue, 24 Feb 2009 12:55:17 +0100
Subject: [PATCH] added a prerequisite to make it safe to use make -j

---
 Makefile.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 03023b3..08f5bf4 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -116,6 +116,8 @@ bin/smnotify: utils/smnotify/gen_xdr.o utils/smnotify/gen_smnotify.o utils/smnot
 	@echo Linking $@
 	@$(CC) $(CFLAGS) -o $@ utils/smnotify/smnotify.o utils/smnotify/gen_xdr.o utils/smnotify/gen_smnotify.o $(POPT_OBJ) $(LIB_FLAGS)
 
+utils/smnotify/smnotify.o: utils/smnotify/smnotify.c utils/smnotify/smnotify.h
+
 utils/smnotify/smnotify.h:  utils/smnotify/smnotify.x
 	@echo Generating $@
 	rpcgen -h utils/smnotify/smnotify.x > utils/smnotify/smnotify.h
-- 
1.6.0.6



More information about the samba-technical mailing list