File: Makefile.am

package info (click to toggle)
pinot 1.23-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,608 kB
  • sloc: cpp: 41,870; makefile: 611; xml: 416; sh: 336
file content (93 lines) | stat: -rw-r--r-- 1,813 bytes parent folder | download | duplicates (3)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Process this file with automake to produce Makefile.in

pkginclude_HEADERS = \
	DBusIndex.h \
	FieldMapperInterface.h \
	FilterWrapper.h \
	IndexInterface.h \
	ModuleFactory.h \
	ModuleProperties.h \
	OpenSearchParser.h \
	PinotDBus_proxy.h \
	PluginParsers.h \
	PluginWebEngine.h \
	QueryProperties.h \
	ResultsExporter.h \
	SearchEngineInterface.h \
	SearchPluginProperties.h \
	SherlockParser.h \
	WebEngine.h

nobase_pkginclude_HEADERS = \
	cjkv/CJKVTokenizer.h

if HAVE_DBUS
pkglib_LTLIBRARIES = libIndex.la libIndexSearch.la
else
pkglib_LTLIBRARIES = libIndexSearch.la
endif

libIndex_la_LDFLAGS = \
	-static

libIndex_la_SOURCES = \
	PinotDBus_proxy.cpp \
	DBusIndex.cpp

libIndexSearch_la_LDFLAGS = \
	-static

libIndexSearch_la_SOURCES = \
	FilterWrapper.cpp \
	ModuleFactory.cpp \
	OpenSearchParser.cpp \
	PluginWebEngine.cpp \
	QueryProperties.cpp \
	ResultsExporter.cpp \
	SearchEngineInterface.cpp \
	SearchPluginProperties.cpp \
	WebEngine.cpp

if HAVE_DBUS
libIndexSearch_la_SOURCES += PinotDBus_proxy.cpp DBusIndex.cpp
endif

if HAVE_BOOST_SPIRIT
libIndexSearch_la_SOURCES += SherlockParser.cpp
endif

if HAVE_DBUS
bin_PROGRAMS = pinot-label
endif

pinot_label_LDFLAGS = \
	-export-dynamic

pinot_label_LDADD = \
	-L$(top_builddir)/Utils \
	-lIndex -lUtils -lBasicUtils \
	@GLIBMM_LIBS@ @GIOMM_LIBS@ \
	@GTHREAD_LIBS@ @HTTP_LIBS@ @MISC_LIBS@

pinot_label_SOURCES = pinot-label.cpp

pinot_label_DEPENDENCIES = libIndex.la

AM_CXXFLAGS = \
	@MISC_CFLAGS@ \
	-I$(top_srcdir)/Utils \
	-I$(top_srcdir)/Tokenize \
	-I$(top_srcdir)/Tokenize/filters \
	-I$(top_srcdir)/Collect \
	-I$(top_srcdir)/IndexSearch/cjkv \
	@HTTP_CFLAGS@ @XML_CFLAGS@ \
	@INDEX_CFLAGS@ @GIOMM_CFLAGS@ @GLIBMM_CFLAGS@

if HAVE_DBUS
AM_CXXFLAGS += -DHAVE_DBUS
endif

if HAVE_BOOST_SPIRIT
AM_CXXFLAGS += -DHAVE_BOOST_SPIRIT
endif