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

Last change on this file since 1021 was 1021, checked in by nzdl, 24 years ago

need top level gsdl directory in include path for config.h

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 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 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
27
28AR = ar
29CC = @CC@
30CCFLAGS = @CFLAGS@ -Wall -Wunused -pedantic -W -Woverloaded-virtual
31
32USE_FASTCGI = @USE_FASTCGI@
33ifneq ($(USE_FASTCGI), 1)
34DEFS = -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER @DEFS@
35
36INCLUDES = -I../.. -I../../lib -I../recpt -I../../packages/mg \
37 -I../../packages/mg/lib -I../../packages/mg/src/text
38else
39DEFS = -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER -DUSE_FASTCGI @DEFS@
40
41INCLUDES = -I../.. -I../../lib -I../recpt -I../../packages/mg \
42 -I../../packages/mg/lib -I../../packages/mg/src/text \
43 -I../../packages/fcgi/include
44endif
45
46RANLIB = @RANLIB@
47LDFLAGS = @LDFLAGS@
48#LIBS = -lgdbm -lstdc++ -lm
49LIBS = @LIBS@
50
51GSDLOS = @gsdlos@
52
53
54COMPILE = $(CC) -c $(CCFLAGS) $(DEFS) $(INCLUDES)
55LINK = $(CC) $(LDFLAGS) -o $@
56
57.SUFFIXES:
58.SUFFIXES: .c .o
59.c.o:
60 $(COMPILE) $<
61
62.SUFFIXES: .cpp .o
63.cpp.o:
64 $(COMPILE) $<
65
66HEADERS = mgq.h mgsearch.h querycache.h queryinfo.h collectserver.h \
67 colservrconfig.h maptools.h filter.h source.h browsefilter.h \
68 queryfilter.h mggdbmsource.h phrasesearch.h phrasequeryfilter.h
69
70SOURCES = mgq.c mgsearch.cpp querycache.cpp queryinfo.cpp collectserver.cpp \
71 colservrconfig.cpp maptools.cpp filter.cpp source.cpp \
72 browsefilter.cpp queryfilter.cpp mggdbmsource.cpp phrasesearch.cpp \
73 phrasequeryfilter.cpp
74
75OBJECTS = mgq.o mgsearch.o querycache.o queryinfo.o collectserver.o \
76 colservrconfig.o maptools.o filter.o source.o browsefilter.o \
77 queryfilter.o mggdbmsource.o phrasesearch.o phrasequeryfilter.o
78
79all : $(OBJECTS)
80
81distclean:
82 rm -f $(OBJECTS) Makefile
83
84clean:
85 rm -f $(OBJECTS)
86
87install:
88
89depend:
90 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
Note: See TracBrowser for help on using the repository browser.