forked from couchbase/bucket_engine
/
Makefile.am
25 lines (20 loc) · 924 Bytes
/
Makefile.am
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
common_CFLAGS=-Wall @PROFILER_FLAGS@
common_LDFLAGS=-g @PROFILER_LDFLAGS@
lib_LTLIBRARIES = bucket_engine.la
bucket_engine_la_SOURCES= bucket_engine.c \
genhash.h genhash.c genhash_int.h bucket_engine.h \
config_parser.c util.c util.h
bucket_engine_la_CFLAGS = $(common_CFLAGS)
bucket_engine_la_LDFLAGS= -module -dynamic $(common_LDFLAGS)
noinst_LTLIBRARIES = mock_engine.la
mock_engine_la_SOURCES = mock_engine.c genhash.c genhash.h
mock_engine_la_CFLAGS = $(common_CFLAGS)
mock_engine_la_LDFLAGS = -module -dynamic -rpath /nowhere $(common_LDFLAGS)
noinst_PROGRAMS = testapp
testapp_SOURCES = testapp.c
testapp_DEPENDENCIES = mock_engine.la
testapp_CFLAGS = $(common_CFLAGS)
testapp_LDFLAGS = $(common_LDFLAGS)
pkgdata_SCRIPTS = management/create_bucket.py management/delete_bucket.py management/list_buckets.py management/mc_bin_client.py management/memcacheConstants.py
test: testapp
./testapp