source: main/trunk/gs2-core/runtime-src/src/colservr/Makefile.am

Last change on this file was 22824, checked in by mdewsnip, 14 years ago

Lots of makefile tidy ups (both Windows and Linux), for consistency and flexibility.

File size: 1.4 KB
Line 
1###########################################################################
2#
3# Makefile -- Makefile for runtime-src/src/colservr
4#
5# By Michael Dewsnip
6#
7# Copyright (C) 2010 DL Consulting Ltd.
8#
9###########################################################################
10
11
12RUNTIME_SRC_DIR = @top_srcdir@
13GSDL_DIR = $(RUNTIME_SRC_DIR)/..
14
15
16# Libraries compiled
17noinst_LIBRARIES = libgsdlcolservr.a
18
19# Library: libgsdlcolservr.a
20# Do NOT add the "recpt" directory here: the colserver should be independent of the receptionist!
21libgsdlcolservr_a_CPPFLAGS = \
22 -I$(GSDL_DIR)/common-src/src/lib \
23 $(COMPAT32BITFLAGS)
24
25# Option: Lucene support
26if ENABLE_LUCENE
27 libgsdlcolservr_a_CPPFLAGS += -I$(GSDL_DIR)/common-src/packages/expat/include
28endif
29
30# Option: SQLite support
31if USE_SQLITE
32 libgsdlcolservr_a_CPPFLAGS += -I$(GSDL_DIR)/common-src/packages/sqlite/include
33endif
34
35# Sources for libgsdlcolservr.a
36libgsdlcolservr_a_SOURCES = \
37 browsefilter.cpp \
38 collectserver.cpp \
39 collectset.cpp \
40 colservrconfig.cpp \
41 comtypes.cpp \
42 filter.cpp \
43 lucenequeryfilter.cpp \
44 lucenesearch.cpp \
45 lucenesource.cpp \
46 maptools.cpp \
47 phrasesearch.cpp \
48 querycache.cpp \
49 queryfilter.cpp \
50 queryinfo.cpp \
51 search.cpp \
52 source.cpp \
53 sqlbrowsefilter.cpp \
54 sqlfilter.cpp \
55 sqlqueryfilter.cpp
56
57# Option: Lucene support
58if ENABLE_LUCENE
59 libgsdlcolservr_a_SOURCES += expat_document.cpp expat_resultset.cpp
60endif
Note: See TracBrowser for help on using the repository browser.