summaryrefslogtreecommitdiff
path: root/build_posix/Make.base
blob: 5aaf690e7ba8732c51a6b008e384b987d799ea57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
ACLOCAL_AMFLAGS = -I build_posix/aclocal

if HAVE_BZIP2
  BZBUILD = ext/compressors/bzip2_compress
endif
if PYTHON
  PYBUILD = lang/python
endif
SUBDIRS = . \
	bench/tcbench examples/c \
	ext/compressors/nop_compress \
	test/format test/insert test/salvage test/thread \
	$(BZBUILD) $(PYBUILD)

wtdir = $(prefix)/wt
wt_LTLIBRARIES = libwiredtiger.la
LDADD = $(wt_LTLIBRARIES)

wt_PROGRAMS = wt
wt_SOURCES = util_create.c util_dump.c util_dumpfile.c util_getopt.c \
	util_load.c util_main.c util_printlog.c util_salvage.c util_stat.c \
	util_verify.c util_verbose.c

include_HEADERS= wiredtiger.h
INCLUDES= -I$(srcdir)/src/include

$(srcdir)/build_posix/Makefile.am: $(srcdir)/build_posix/Make.base $(srcdir)/build_posix/makemake $(srcdir)/dist/filelist
	@cd $(srcdir)/build_posix && sh makemake

libtool: $(LIBTOOL_DEPS)
	$(SHELL) ./config.status libtool

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = wiredtiger.pc

$(srcdir)/src/include/extern.h: prototype.chk

prototype.chk: $(libwiredtiger_la_SOURCES)
	@(cd $(srcdir)/dist && sh s_prototypes) && touch $@