summaryrefslogtreecommitdiff
path: root/build_posix/Make.base
blob: 925c9dd772cb52e6c988fd544216cad100a66d68 (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
wtdir = $(prefix)/wt
wt_LIBRARIES = libwiredtiger.a
LDADD = libwiredtiger.a -lpthread

wt_PROGRAMS = wt_dump wt_load wt_printlog wt_salvage wt_stat wt_verify
wt_dump_SOURCES = util_dump.c simple_setup.c
wt_load_SOURCES = util_load.c simple_setup.c
wt_printlog_SOURCES = util_printlog.c simple_setup.c
wt_salvage_SOURCES = util_salvage.c simple_setup.c
wt_stat_SOURCES = util_stat.c simple_setup.c
wt_verify_SOURCES = util_verify.c simple_setup.c

noinst_PROGRAMS = ex_access ex_all ex_call_center ex_config ex_cursor \
	ex_extending ex_hello ex_pack ex_process ex_schema ex_sequence \
	ex_stat ex_thread ex_tpcb ex_transaction

include_HEADERS= wiredtiger.h
INCLUDES= -I../src/include

Makefile.am: Make.base makemake ../dist/filelist
	@sh makemake

../src/include/extern.h: prototype.chk

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

if PYTHON
if DEBUG
PY_SETUP_DEBUG = -g
wiredtiger_wrap_o_CFLAGS = -g
endif
all-local: ../lang/python/_wiredtiger.so
endif
../lang/python/_wiredtiger.so: libwiredtiger.a ../lang/python/wiredtiger.i
	@(cd ../lang/python ; python setup.py build_ext -f -i $(PY_SETUP_DEBUG))