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

Last change on this file since 985 was 985, checked in by sjboddie, 24 years ago

modified configuration slightly

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