Files
mongo/test/format/Makefile.am
Keith Bostic 908671fc2f Remove the automake shared library magic around loading the bzip2 compressor
in raw-test mode, it's a lot simpler to load two compressors, the normal one
and a raw-test version.
2014-01-31 12:38:14 -05:00

34 lines
977 B
Makefile

AM_CPPFLAGS = -DBERKELEY_DB_PATH=\"$(BERKELEY_DB_PATH)\" \
-I$(top_builddir) -I$(top_srcdir)/src/include \
-I$(BERKELEY_DB_PATH)/include
noinst_PROGRAMS = t
noinst_SCRIPTS = s_dumpcmp
t_SOURCES =\
config.h format.h backup.c bdb.c bulk.c compact.c config.c ops.c \
t.c util.c wts.c
t_LDADD = $(top_builddir)/libwiredtiger.la -L$(BERKELEY_DB_PATH)/lib -ldb
t_LDFLAGS = -static
#noinst_LTLIBRARIES = lzo_compress.la
# libtool hack: noinst_LTLIBRARIES turns off building shared libraries as well
# as installation, it will only build static libraries. As far as I can tell,
# the "approved" libtool way to turn them back on is by adding -rpath.
#lzo_compress_la_SOURCES = lzo_compress.c
#lzo_compress_la_LIBADD = -llzo2 -lm
#lzo_compress_la_LDFLAGS = -avoid-version -module -rpath /nowhere
s_dumpcmp: $(srcdir)/s_dumpcmp.sh
cp $(srcdir)/s_dumpcmp.sh $@
chmod +x $@
backup:
rm -rf BACKUP && cp -p -r RUNDIR BACKUP
TESTS = smoke.sh
clean-local:
rm -rf RUNDIR *.core