[21462] | 1 | ###########################################################################
|
---|
| 2 | #
|
---|
| 3 | # Makefile -- Makefile for common-src/src/lib
|
---|
| 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 | COMMON_SRC_DIR = @top_srcdir@
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 | # Libraries compiled
|
---|
| 32 | noinst_LIBRARIES = libgsdllib.a
|
---|
| 33 |
|
---|
| 34 | # Library: libgsdllib.a
|
---|
| 35 | libgsdllib_a_CPPFLAGS = \
|
---|
| 36 | $(COMPAT32BITFLAGS)
|
---|
| 37 |
|
---|
| 38 | # Sources for libgsdllib.a
|
---|
| 39 | libgsdllib_a_SOURCES = \
|
---|
| 40 | cfgread.cpp \
|
---|
| 41 | cnfgable.cpp \
|
---|
| 42 | cnfgator.cpp \
|
---|
| 43 | dbclass.cpp \
|
---|
| 44 | display.cpp \
|
---|
| 45 | fileutil.cpp \
|
---|
| 46 | gsdlsitecfg.cpp \
|
---|
| 47 | gsdltimes.cpp \
|
---|
| 48 | gsdltools.cpp \
|
---|
| 49 | gsdlunicode.cpp \
|
---|
| 50 | infodbclass.cpp \
|
---|
| 51 | md5.cpp \
|
---|
| 52 | OIDtools.cpp \
|
---|
| 53 | phrases.cpp \
|
---|
| 54 | text_t.cpp \
|
---|
| 55 | unitool.cpp
|
---|
| 56 |
|
---|
| 57 | # Option: SQLite support
|
---|
| 58 | if USE_SQLITE
|
---|
| 59 | libgsdllib_a_CPPFLAGS += -I$(COMMON_SRC_DIR)/packages/sqlite/include
|
---|
| 60 | libgsdllib_a_SOURCES += sqlitedbclass.cpp
|
---|
| 61 | endif
|
---|