source: main/trunk/gs2-core/runtime-src/src/recpt/Makefile.am@ 22627

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

Updated runtime-src/src/recpt/Makefile.am to compile the new basequeryaction and sqlqueryaction classes.

File size: 3.0 KB
RevLine 
[21491]1###########################################################################
2#
3# Makefile -- Makefile for runtime-src/src/recpt
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
28RUNTIME_SRC_DIR = @top_srcdir@
29GSDL_DIR = $(RUNTIME_SRC_DIR)/..
30
31
32# Programs compiled and their install directories
33cgibindir = $(GSDL_DIR)/cgi-bin
34cgibin_PROGRAMS = library.cgi
35
36# Program: library.cgi
37library_cgi_CPPFLAGS = \
38 -I$(GSDL_DIR)/common-src/src/lib \
39 -I$(GSDL_DIR)/runtime-src/src/colservr \
40 -I$(GSDL_DIR)/runtime-src/src/protocol \
41 $(COMPAT32BITFLAGS)
42
43# Sources for library.cgi
44library_cgi_SOURCES = \
45 action.cpp \
46 argdb.cpp \
47 authenaction.cpp \
[22627]48 basequeryaction.cpp \
[21491]49 browseaction.cpp \
50 browseactiontools.cpp \
51 browserclass.cpp \
52 browsetoolsclass.cpp \
53 cgiargs.cpp \
54 cgiutils.cpp \
55 cgiwrapper.cpp \
56 collectoraction.cpp \
57 configaction.cpp \
58 converter.cpp \
59 datelistbrowserclass.cpp \
60 depositoraction.cpp \
61 documentaction.cpp \
62 dynamicclassifieraction.cpp \
63 extlinkaction.cpp \
64 formattools.cpp \
65 gtiaction.cpp \
66 highlighttext.cpp \
67 historydb.cpp \
68 hlistbrowserclass.cpp \
69 htmlbrowserclass.cpp \
70 htmlutils.cpp \
71 invbrowserclass.cpp \
72 librarymain.cpp \
73 maincfg.cpp \
74 pageaction.cpp \
75 pagedbrowserclass.cpp \
76 phindaction.cpp \
77 phindbrowserclass.cpp \
78 pingaction.cpp \
79 queryaction.cpp \
80 querytools.cpp \
81 receptionist.cpp \
[22627]82 sqlqueryaction.cpp \
[21491]83 statusaction.cpp \
84 string_pool.cpp \
85 summarise.cpp \
86 tipaction.cpp \
87 userdb.cpp \
88 usersaction.cpp \
89 vlistbrowserclass.cpp \
90 wizardaction.cpp
91
92library_cgi_LDADD = \
93 $(GSDL_DIR)/runtime-src/src/protocol/libgsdlprotocol.a \
94 $(GSDL_DIR)/runtime-src/src/colservr/libgsdlcolservr.a \
95 $(GSDL_DIR)/common-src/src/lib/libgsdllib.a
96
97library_cgi_LDFLAGS = $(COMPAT32BITFLAGS)
98
[21539]99# Option: Lucene support
100if ENABLE_LUCENE
101 library_cgi_LDADD += $(GSDL_DIR)/common-src/packages/expat/lib/libexpat.a
102endif
103
[21491]104# Option: SQLite support
105if USE_SQLITE
[22627]106 library_cgi_CPPFLAGS += -I$(GSDL_DIR)/common-src/packages/sqlite/include
[21491]107 library_cgi_LDADD += $(GSDL_DIR)/common-src/packages/sqlite/lib/libsqlite3.a -ldl -lpthread
108endif
Note: See TracBrowser for help on using the repository browser.