summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-12-04 21:58:37 +0000
committerJean-François Micouleau <jfm@samba.org>2001-12-04 21:58:37 +0000
commitf057d62aae620b042903dae61a19628cb57aba39 (patch)
tree224f82dd86ae957f26f2b9f9170aff88a7c57c52
parent6c87e96149101995b7d049657d5c26eefef37d8c (diff)
downloadsamba-f057d62aae620b042903dae61a19628cb57aba39.tar.gz
samba-f057d62aae620b042903dae61a19628cb57aba39.tar.xz
samba-f057d62aae620b042903dae61a19628cb57aba39.zip
move proto.h and build_env.h from $(srcdir)/include to $(builddir)/include
tridge, martin, if you think it's wrong , you can revert it. J.F.
-rw-r--r--source/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Makefile.in b/source/Makefile.in
index 37217c953af..eaa225cd045 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -786,6 +786,7 @@ winbindd_proto:
delheaders:
@/bin/rm -f $(srcdir)/include/proto.h $(srcdir)/include/build_env.h
+ @/bin/rm -f include/proto.h include/build_env.h
# we want our generated headers to be rebuilt if they don't exist, but not rebuilt every time
.headers.stamp: include/proto.h include/build_env.h
@@ -795,11 +796,11 @@ $(PROTO_OBJ) : .headers.stamp
include/proto.h:
@echo rebuilding include/proto.h
- @cd $(srcdir) && $(AWK) -f script/mkproto.awk `echo $(PROTO_OBJ) | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort -u | egrep -v 'ubiqx/|wrapped'` > include/proto.h
+ @cd $(srcdir) && $(AWK) -f script/mkproto.awk `echo $(PROTO_OBJ) | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort -u | egrep -v 'ubiqx/|wrapped'` > $(builddir)/include/proto.h
include/build_env.h:
@echo rebuilding include/build_env.h
- @cd $(srcdir) && $(SHELL) script/build_env.sh $(srcdir) $(builddir) $(CC) > include/build_env.h
+ @cd $(srcdir) && $(SHELL) script/build_env.sh $(srcdir) $(builddir) $(CC) > $(builddir)/include/build_env.h
headers: delheaders include/proto.h include/build_env.h