[21476] | 1 | ###########################################################################
|
---|
| 2 | #
|
---|
| 3 | # Makefile -- Makefile for runtime-src/src/colservr
|
---|
| 4 | #
|
---|
| 5 | # A component of the Greenstone digital library software
|
---|
| 6 | # from the New Zealand Digital Library Project at the
|
---|
| 7 | # University of Waikato, New Zealand.
|
---|
| 8 | #
|
---|
| 9 | # Copyright (C) 1999-2010 The New Zealand Digital Library Project
|
---|
| 10 | #
|
---|
| 11 | # This program is free software; you can redistribute it and/or modify
|
---|
| 12 | # it under the terms of the GNU General Public License as published by
|
---|
| 13 | # the Free Software Foundation; either version 2 of the License, or
|
---|
| 14 | # (at your option) any later version.
|
---|
| 15 | #
|
---|
| 16 | # This program is distributed in the hope that it will be useful,
|
---|
| 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 19 | # GNU General Public License for more details.
|
---|
| 20 | #
|
---|
| 21 | # You should have received a copy of the GNU General Public License
|
---|
| 22 | # along with this program; if not, write to the Free Software
|
---|
| 23 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
| 24 | #
|
---|
| 25 | ###########################################################################
|
---|
| 26 |
|
---|
| 27 |
|
---|
| 28 | RUNTIME_SRC_DIR = @top_srcdir@
|
---|
| 29 | GSDL_DIR = $(RUNTIME_SRC_DIR)/..
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | # Libraries compiled
|
---|
| 33 | noinst_LIBRARIES = libgsdlcolservr.a
|
---|
| 34 |
|
---|
| 35 | # Library: libgsdlcolservr.a
|
---|
[21478] | 36 | # Do NOT add the "recpt" directory here: the colserver should be independent of the receptionist!
|
---|
[21476] | 37 | libgsdlcolservr_a_CPPFLAGS = \
|
---|
| 38 | -I$(GSDL_DIR)/common-src/src/lib \
|
---|
| 39 | $(COMPAT32BITFLAGS)
|
---|
| 40 |
|
---|
| 41 | # Sources for libgsdlcolservr.a
|
---|
| 42 | libgsdlcolservr_a_SOURCES = \
|
---|
| 43 | browsefilter.cpp \
|
---|
| 44 | collectserver.cpp \
|
---|
| 45 | collectset.cpp \
|
---|
| 46 | colservrconfig.cpp \
|
---|
| 47 | comtypes.cpp \
|
---|
| 48 | filter.cpp \
|
---|
| 49 | lucenequeryfilter.cpp \
|
---|
| 50 | lucenesearch.cpp \
|
---|
| 51 | lucenesource.cpp \
|
---|
| 52 | maptools.cpp \
|
---|
| 53 | phrasesearch.cpp \
|
---|
| 54 | querycache.cpp \
|
---|
| 55 | queryfilter.cpp \
|
---|
| 56 | queryinfo.cpp \
|
---|
| 57 | search.cpp \
|
---|
| 58 | source.cpp \
|
---|
| 59 | sqlbrowsefilter.cpp
|
---|
| 60 |
|
---|
[21692] | 61 | # Option: Lucene support
|
---|
| 62 | if ENABLE_LUCENE
|
---|
| 63 | libgsdlcolservr_a_CPPFLAGS += -I$(GSDL_DIR)/common-src/packages/expat/include
|
---|
[21702] | 64 | libgsdlcolservr_a_SOURCES += expat_document.cpp expat_resultset.cpp
|
---|
[21692] | 65 | endif
|
---|
| 66 |
|
---|
[21476] | 67 | # Option: SQLite support
|
---|
| 68 | if USE_SQLITE
|
---|
| 69 | libgsdlcolservr_a_CPPFLAGS += -I$(GSDL_DIR)/common-src/packages/sqlite/include
|
---|
| 70 | endif
|
---|