source: gsdl/trunk/src/colservr/Makefile.in@ 15592

Last change on this file since 15592 was 15592, checked in by mdewsnip, 16 years ago

(Adding new DB support) Renamed mggdbmsource to mgsource and lucenegdbmsource to lucenesource, to reflect that these classes are no longer GDBM-dependent.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
RevLine 
[556]1###########################################################################
2#
[558]3# Makefile -- src/colservr
4# A component of the Greenstone digital library software
5# from the New Zealand Digital Library Project at the
6# University of Waikato, New Zealand.
7#
[15426]8# Copyright (C) 1999-2008 The New Zealand Digital Library Project
[556]9#
10#
[558]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#
[556]25###########################################################################
26
[15459]27GSDL_DIR = ../..
28INDEXERS_DIR = $(GSDL_DIR)/indexers
[15546]29PACKAGES_DIR = $(GSDL_DIR)/packages
[15459]30
[15474]31
[15466]32AR = ar
[556]33CC = @CC@
[15551]34CXX = @CXX@
35CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@
36CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@
[15460]37DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER
[15426]38# Do NOT add the "recpt" directory here: the colserver should be independent of the receptionist!
[15509]39INCLUDES = @GDBM_INCLUDE@ -I. -I$(GSDL_DIR) -I$(GSDL_DIR)/lib \
[15460]40 -I$(INDEXERS_DIR)/mg -I$(INDEXERS_DIR)/mg/lib -I$(INDEXERS_DIR)/mg/src/text \
41 -I$(INDEXERS_DIR)/mgpp/lib -I$(INDEXERS_DIR)/mgpp/text \
[15546]42 -I$(PACKAGES_DIR)/expat/include
[15466]43RANLIB = @RANLIB@
[1323]44
45
[15426]46COMPILE = $(CC) -c $(CFLAGS) $(DEFS) $(INCLUDES)
[15551]47CXXCOMPILE = $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCLUDES)
[1323]48
[8031]49
[15426]50.SUFFIXES:
51.SUFFIXES: .c .o
52.c.o:
53 $(COMPILE) $<
[556]54
[15426]55.SUFFIXES: .cpp .o
56.cpp.o:
[15551]57 $(CXXCOMPILE) $<
[15426]58
59
[15460]60SOURCES = \
61 browsefilter.cpp \
62 collectserver.cpp \
63 collectset.cpp \
64 colservrconfig.cpp \
65 comtypes.cpp \
66 expat_document.cpp \
67 expat_resultset.cpp \
68 filter.cpp \
69 lucenequeryfilter.cpp \
70 lucenesearch.cpp \
[15592]71 lucenesource.cpp \
[15460]72 maptools.cpp \
73 mgq.c \
74 mgqueryfilter.cpp \
75 mgsearch.cpp \
[15592]76 mgsource.cpp \
[15460]77 mgppqueryfilter.cpp \
78 mgppsearch.cpp \
79 phrasequeryfilter.cpp \
80 phrasesearch.cpp \
81 querycache.cpp \
82 queryfilter.cpp \
83 queryinfo.cpp \
84 search.cpp \
85 source.cpp
[15426]86
[15460]87OBJECTS = \
88 browsefilter.o \
89 collectserver.o \
90 collectset.o \
91 colservrconfig.o \
92 comtypes.o \
93 expat_document.o \
94 expat_resultset.o \
95 filter.o \
96 lucenequeryfilter.o \
97 lucenesearch.o \
[15592]98 lucenesource.o \
[15460]99 maptools.o \
100 mgq.o \
101 mgqueryfilter.o \
102 mgsearch.o \
[15592]103 mgsource.o \
[15460]104 mgppqueryfilter.o \
105 mgppsearch.o \
106 phrasequeryfilter.o \
107 phrasesearch.o \
108 querycache.o \
109 queryfilter.o \
110 queryinfo.o \
111 search.o \
112 source.o
[556]113
[15466]114LIBRARY = gsdlcolservr.a
[556]115
116
[15579]117# Default target: make gsdlcolservr.a
118all: $(LIBRARY)
119
[15466]120gsdlcolservr.a: $(OBJECTS)
[15579]121 rm -f $(LIBRARY)
122 $(AR) cru $(LIBRARY) $(OBJECTS)
123 $(RANLIB) $(LIBRARY)
[15460]124
[15580]125install:
[15466]126
[15469]127clean:
[15579]128 rm -f $(OBJECTS) $(LIBRARY)
[15469]129
[992]130distclean:
[15579]131 rm -f $(OBJECTS) $(LIBRARY) Makefile
[15460]132
[556]133depend:
[15551]134 makedepend -Y -- $(DEFS) $(INCLUDES) $(CXXFLAGS) -- $(SOURCES)
Note: See TracBrowser for help on using the repository browser.