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

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

Minor whitespace improvement.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1###########################################################################
2#
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#
8# Copyright (C) 1999-2008 The New Zealand Digital Library Project
9#
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
27GSDL_DIR = ../..
28INDEXERS_DIR = $(GSDL_DIR)/indexers
29
30
31AR = ar
32CC = @CC@
33CPP = @CXX@
34CFLAGS = @CFLAGS@
35CPPFLAGS = @CXXFLAGS@
36DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER
37# Do NOT add the "recpt" directory here: the colserver should be independent of the receptionist!
38INCLUDES = -I. -I$(GSDL_DIR) -I$(GSDL_DIR)/lib \
39 -I$(INDEXERS_DIR)/mg -I$(INDEXERS_DIR)/mg/lib -I$(INDEXERS_DIR)/mg/src/text \
40 -I$(INDEXERS_DIR)/mgpp/lib -I$(INDEXERS_DIR)/mgpp/text \
41 -I../../packages/expat/include
42RANLIB = @RANLIB@
43
44
45COMPILE = $(CC) -c $(CFLAGS) $(DEFS) $(INCLUDES)
46CPPCOMPILE = $(CPP) -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
47
48
49.SUFFIXES:
50.SUFFIXES: .c .o
51.c.o:
52 $(COMPILE) $<
53
54.SUFFIXES: .cpp .o
55.cpp.o:
56 $(CPPCOMPILE) $<
57
58
59SOURCES = \
60 browsefilter.cpp \
61 collectserver.cpp \
62 collectset.cpp \
63 colservrconfig.cpp \
64 comtypes.cpp \
65 expat_document.cpp \
66 expat_resultset.cpp \
67 filter.cpp \
68 gdbmsource.cpp \
69 lucenegdbmsource.cpp \
70 lucenequeryfilter.cpp \
71 lucenesearch.cpp \
72 maptools.cpp \
73 mggdbmsource.cpp \
74 mgq.c \
75 mgqueryfilter.cpp \
76 mgsearch.cpp \
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
86
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 gdbmsource.o \
97 lucenegdbmsource.o \
98 lucenequeryfilter.o \
99 lucenesearch.o \
100 maptools.o \
101 mggdbmsource.o \
102 mgq.o \
103 mgqueryfilter.o \
104 mgsearch.o \
105 mgppqueryfilter.o \
106 mgppsearch.o \
107 phrasequeryfilter.o \
108 phrasesearch.o \
109 querycache.o \
110 queryfilter.o \
111 queryinfo.o \
112 search.o \
113 source.o
114
115LIBRARY = gsdlcolservr.a
116
117
118gsdlcolservr.a: $(OBJECTS)
119 rm -f gsdlcolservr.a
120 $(AR) cru gsdlcolservr.a $(OBJECTS)
121 $(RANLIB) gsdlcolservr.a
122
123all: $(LIBRARY)
124
125install: $(LIBRARY)
126
127clean:
128 rm -f $(OBJECTS)
129
130distclean:
131 rm -f $(OBJECTS) Makefile
132
133depend:
134 makedepend -Y -- $(DEFS) $(INCLUDES) $(CPPFLAGS) -- $(SOURCES)
Note: See TracBrowser for help on using the repository browser.