########################################################################### # # Makefile -- Makefile for runtime-src/src/recpt # # A component of the Greenstone digital library software # from the New Zealand Digital Library Project at the # University of Waikato, New Zealand. # # Copyright (C) 1999-2010 The New Zealand Digital Library Project # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # ########################################################################### RUNTIME_SRC_DIR = @top_srcdir@ GSDL_DIR = $(RUNTIME_SRC_DIR)/.. # Programs compiled and their install directories cgibindir = $(GSDL_DIR)/cgi-bin cgibin_PROGRAMS = library.cgi # Program: library.cgi library_cgi_CPPFLAGS = \ -I$(GSDL_DIR)/common-src/src/lib \ -I$(GSDL_DIR)/runtime-src/src/colservr \ -I$(GSDL_DIR)/runtime-src/src/protocol \ $(COMPAT32BITFLAGS) # Sources for library.cgi library_cgi_SOURCES = \ action.cpp \ argdb.cpp \ authenaction.cpp \ browseaction.cpp \ browseactiontools.cpp \ browserclass.cpp \ browsetoolsclass.cpp \ cgiargs.cpp \ cgiutils.cpp \ cgiwrapper.cpp \ collectoraction.cpp \ configaction.cpp \ converter.cpp \ datelistbrowserclass.cpp \ depositoraction.cpp \ documentaction.cpp \ dynamicclassifieraction.cpp \ extlinkaction.cpp \ formattools.cpp \ gtiaction.cpp \ highlighttext.cpp \ historydb.cpp \ hlistbrowserclass.cpp \ htmlbrowserclass.cpp \ htmlutils.cpp \ invbrowserclass.cpp \ librarymain.cpp \ maincfg.cpp \ pageaction.cpp \ pagedbrowserclass.cpp \ phindaction.cpp \ phindbrowserclass.cpp \ pingaction.cpp \ queryaction.cpp \ querytools.cpp \ receptionist.cpp \ statusaction.cpp \ string_pool.cpp \ summarise.cpp \ tipaction.cpp \ userdb.cpp \ usersaction.cpp \ vlistbrowserclass.cpp \ wizardaction.cpp library_cgi_LDADD = \ $(GSDL_DIR)/runtime-src/src/protocol/libgsdlprotocol.a \ $(GSDL_DIR)/runtime-src/src/colservr/libgsdlcolservr.a \ $(GSDL_DIR)/common-src/src/lib/libgsdllib.a library_cgi_LDFLAGS = $(COMPAT32BITFLAGS) # Option: SQLite support if USE_SQLITE library_cgi_LDADD += $(GSDL_DIR)/common-src/packages/sqlite/lib/libsqlite3.a -ldl -lpthread endif