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

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

Minor consistency 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
30AR = ar
31CC = @CC@
32CPP = @CXX@
33CFLAGS = @CFLAGS@
34CPPFLAGS = @CXXFLAGS@
35DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER
36# Do NOT add the "recpt" directory here: the colserver should be independent of the receptionist!
37INCLUDES = -I. -I$(GSDL_DIR) -I$(GSDL_DIR)/lib \
38 -I$(INDEXERS_DIR)/mg -I$(INDEXERS_DIR)/mg/lib -I$(INDEXERS_DIR)/mg/src/text \
39 -I$(INDEXERS_DIR)/mgpp/lib -I$(INDEXERS_DIR)/mgpp/text \
40 -I../../packages/expat/include
41RANLIB = @RANLIB@
42
43
44COMPILE = $(CC) -c $(CFLAGS) $(DEFS) $(INCLUDES)
45CPPCOMPILE = $(CPP) -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
46
47
48.SUFFIXES:
49.SUFFIXES: .c .o
50.c.o:
51 $(COMPILE) $<
52
53.SUFFIXES: .cpp .o
54.cpp.o:
55 $(CPPCOMPILE) $<
56
57
58SOURCES = \
59 browsefilter.cpp \
60 collectserver.cpp \
61 collectset.cpp \
62 colservrconfig.cpp \
63 comtypes.cpp \
64 expat_document.cpp \
65 expat_resultset.cpp \
66 filter.cpp \
67 gdbmsource.cpp \
68 lucenegdbmsource.cpp \
69 lucenequeryfilter.cpp \
70 lucenesearch.cpp \
71 maptools.cpp \
72 mggdbmsource.cpp \
73 mgq.c \
74 mgqueryfilter.cpp \
75 mgsearch.cpp \
76 mgppqueryfilter.cpp \
77 mgppsearch.cpp \
78 phrasequeryfilter.cpp \
79 phrasesearch.cpp \
80 querycache.cpp \
81 queryfilter.cpp \
82 queryinfo.cpp \
83 search.cpp \
84 source.cpp
85
86OBJECTS = \
87 browsefilter.o \
88 collectserver.o \
89 collectset.o \
90 colservrconfig.o \
91 comtypes.o \
92 expat_document.o \
93 expat_resultset.o \
94 filter.o \
95 gdbmsource.o \
96 lucenegdbmsource.o \
97 lucenequeryfilter.o \
98 lucenesearch.o \
99 maptools.o \
100 mggdbmsource.o \
101 mgq.o \
102 mgqueryfilter.o \
103 mgsearch.o \
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
113
114LIBRARY = gsdlcolservr.a
115
116
117gsdlcolservr.a: $(OBJECTS)
118 rm -f gsdlcolservr.a
119 $(AR) cru gsdlcolservr.a $(OBJECTS)
120 $(RANLIB) gsdlcolservr.a
121
122all: $(LIBRARY)
123
124install: $(LIBRARY)
125
126clean:
127 rm -f $(OBJECTS)
128
129distclean:
130 rm -f $(OBJECTS) Makefile
131
132depend:
133 makedepend -Y -- $(DEFS) $(INCLUDES) $(CPPFLAGS) -- $(SOURCES)
Note: See TracBrowser for help on using the repository browser.