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

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

First attempt at an automake Makefile for runtime-src/src/recpt. A custom gsdl_modules_cfg.h file is included to prevent the collector and depositor from being compiled.

File size: 2.7 KB
Line 
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 \
48 browseaction.cpp \
49 browseactiontools.cpp \
50 browserclass.cpp \
51 browsetoolsclass.cpp \
52 cgiargs.cpp \
53 cgiutils.cpp \
54 cgiwrapper.cpp \
55 collectoraction.cpp \
56 configaction.cpp \
57 converter.cpp \
58 datelistbrowserclass.cpp \
59 depositoraction.cpp \
60 documentaction.cpp \
61 dynamicclassifieraction.cpp \
62 extlinkaction.cpp \
63 formattools.cpp \
64 gtiaction.cpp \
65 highlighttext.cpp \
66 historydb.cpp \
67 hlistbrowserclass.cpp \
68 htmlbrowserclass.cpp \
69 htmlutils.cpp \
70 invbrowserclass.cpp \
71 librarymain.cpp \
72 maincfg.cpp \
73 pageaction.cpp \
74 pagedbrowserclass.cpp \
75 phindaction.cpp \
76 phindbrowserclass.cpp \
77 pingaction.cpp \
78 queryaction.cpp \
79 querytools.cpp \
80 receptionist.cpp \
81 statusaction.cpp \
82 string_pool.cpp \
83 summarise.cpp \
84 tipaction.cpp \
85 userdb.cpp \
86 usersaction.cpp \
87 vlistbrowserclass.cpp \
88 wizardaction.cpp
89
90library_cgi_LDADD = \
91 $(GSDL_DIR)/runtime-src/src/protocol/libgsdlprotocol.a \
92 $(GSDL_DIR)/runtime-src/src/colservr/libgsdlcolservr.a \
93 $(GSDL_DIR)/common-src/src/lib/libgsdllib.a
94
95library_cgi_LDFLAGS = $(COMPAT32BITFLAGS)
96
97# Option: SQLite support
98if USE_SQLITE
99 library_cgi_LDADD += $(GSDL_DIR)/common-src/packages/sqlite/lib/libsqlite3.a -ldl -lpthread
100endif
Note: See TracBrowser for help on using the repository browser.