summaryrefslogtreecommitdiffstats
path: root/storage/mroonga/vendor/groonga/src/Makefile.am
blob: 2ee687233da304a4075d3dc543ff7cad5ae60b10 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
SUBDIRS =					\
	suggest					\
	httpd

NONEXISTENT_CXX_SOURCE = nonexistent.cpp

bin_PROGRAMS = groonga groonga-benchmark
noinst_PROGRAMS = grnslap
if WITH_MRUBY
bin_PROGRAMS += grndb
noinst_PROGRAMS += groonga-mruby
endif

EXTRA_DIST =					\
	CMakeLists.txt

AM_CFLAGS =					\
	$(NO_STRICT_ALIASING_CFLAGS)		\
	$(COVERAGE_CFLAGS)			\
	$(GRN_CFLAGS)				\
	$(MESSAGE_PACK_CFLAGS)			\
	$(MRUBY_CFLAGS)

AM_CPPFLAGS =					\
	$(MRUBY_CPPFLAGS)

DEFS += $(GRN_DEFS)

AM_LDFLAGS = -no-undefined

DEFAULT_INCLUDES =				\
	-I$(top_builddir)			\
	-I$(top_srcdir)/include			\
	-I$(top_srcdir)/lib			\
	$(GROONGA_INCLUDEDIR)

include groonga_sources.am
nodist_EXTRA_groonga_SOURCES = $(NONEXISTENT_CXX_SOURCE)
groonga_CFLAGS = $(AM_CFLAGS) $(LIBEDIT_CFLAGS)
groonga_LDADD =					\
	$(top_builddir)/lib/libgroonga.la	\
	$(LIBEDIT_LIBS)				\
	$(MESSAGE_PACK_LIBS)

include grnslap_sources.am
nodist_EXTRA_grnslap_SOURCES = $(NONEXISTENT_CXX_SOURCE)
grnslap_LDADD =					\
	$(top_builddir)/lib/libgroonga.la	\
	$(MESSAGE_PACK_LIBS)

include groonga_benchmark_sources.am
nodist_EXTRA_groonga_benchmark_SOURCES = $(NONEXISTENT_CXX_SOURCE)
groonga_benchmark_LDADD =			\
	$(top_builddir)/lib/libgroonga.la	\
	$(MESSAGE_PACK_LIBS)

include grndb_sources.am
nodist_EXTRA_grndb_SOURCES = $(NONEXISTENT_CXX_SOURCE)
grndb_LDADD =					\
	$(top_builddir)/lib/libgroonga.la	\
	$(MESSAGE_PACK_LIBS)

include groonga_mruby_sources.am
nodist_EXTRA_groonga_mruby_SOURCES = $(NONEXISTENT_CXX_SOURCE)
groonga_mruby_LDADD =				\
	$(top_builddir)/lib/libgroonga.la	\
	$(MESSAGE_PACK_LIBS)