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

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

Big tidy up of Makefile.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 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
29COLSERVR_DIR = $(GSDL_DIR)/src/colservr
30
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
41
42
43COMPILE = $(CC) -c $(CFLAGS) $(DEFS) $(INCLUDES)
44CPPCOMPILE = $(CPP) -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
45
46
47.SUFFIXES:
48.SUFFIXES: .c .o
49.c.o:
50 $(COMPILE) $<
51
52.SUFFIXES: .cpp .o
53.cpp.o:
54 $(CPPCOMPILE) $<
55
56
57SOURCES = \
58 browsefilter.cpp \
59 collectserver.cpp \
60 collectset.cpp \
61 colservrconfig.cpp \
62 comtypes.cpp \
63 expat_document.cpp \
64 expat_resultset.cpp \
65 filter.cpp \
66 gdbmsource.cpp \
67 lucenegdbmsource.cpp \
68 lucenequeryfilter.cpp \
69 lucenesearch.cpp \
70 maptools.cpp \
71 mggdbmsource.cpp \
72 mgq.c \
73 mgqueryfilter.cpp \
74 mgsearch.cpp \
75 mgppqueryfilter.cpp \
76 mgppsearch.cpp \
77 phrasequeryfilter.cpp \
78 phrasesearch.cpp \
79 querycache.cpp \
80 queryfilter.cpp \
81 queryinfo.cpp \
82 search.cpp \
83 source.cpp
84
85OBJECTS = \
86 browsefilter.o \
87 collectserver.o \
88 collectset.o \
89 colservrconfig.o \
90 comtypes.o \
91 expat_document.o \
92 expat_resultset.o \
93 filter.o \
94 gdbmsource.o \
95 lucenegdbmsource.o \
96 lucenequeryfilter.o \
97 lucenesearch.o \
98 maptools.o \
99 mggdbmsource.o \
100 mgq.o \
101 mgqueryfilter.o \
102 mgsearch.o \
103 mgppqueryfilter.o \
104 mgppsearch.o \
105 phrasequeryfilter.o \
106 phrasesearch.o \
107 querycache.o \
108 queryfilter.o \
109 queryinfo.o \
110 search.o \
111 source.o
112
113
114all: $(OBJECTS)
115
116install:
117
118distclean:
119 rm -f $(OBJECTS) Makefile
120
121clean:
122 rm -f $(OBJECTS)
123
124depend:
125 makedepend -Y -- $(DEFS) $(INCLUDES) $(CPPFLAGS) -- $(SOURCES)
Note: See TracBrowser for help on using the repository browser.