summaryrefslogtreecommitdiff
path: root/build_posix
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-09-21 22:16:23 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-09-21 22:16:23 +1000
commit0b376cffd065c19734102175a307a93d0cc35895 (patch)
treeea20a6c29d99f977e73fa5bc347470ec1935f4db /build_posix
parentc55c541491b33a3a7df1dde1e1dbf770d56f50cb (diff)
downloadmongo-0b376cffd065c19734102175a307a93d0cc35895.tar.gz
Build extern.h automatically when sources change.
--HG-- extra : rebase_source : 76d28d4ce51d01c489fdea831e33865ff3a1420b
Diffstat (limited to 'build_posix')
-rw-r--r--build_posix/Make.base7
1 files changed, 4 insertions, 3 deletions
diff --git a/build_posix/Make.base b/build_posix/Make.base
index 0ba69c37e72..47d9fe5de03 100644
--- a/build_posix/Make.base
+++ b/build_posix/Make.base
@@ -37,7 +37,8 @@ $(srcdir)/Makefile.am: $(srcdir)/build_posix/Make.base $(srcdir)/build_posix/mak
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status libtool
-$(srcdir)/src/include/extern.h: prototype.chk
+$(top_srcdir)/src/include/extern.h: auto-includes.chk
+$(top_srcdir)/src/include/wt_internal.in: auto-includes.chk
-prototype.chk: $(libwiredtiger_la_SOURCES)
- @(cd $(srcdir)/dist && sh s_prototypes) && touch $@
+auto-includes.chk: $(libwiredtiger_la_SOURCES)
+ @(cd $(srcdir)/dist && sh s_prototypes && sh s_typedef -b) && touch $@