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

Last change on this file since 742 was 742, checked in by sjboddie, 25 years ago

don't need crypt in the makefile (I think)

  • 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@
45LIBS = -lgdbm -lstdc++ -lm
46
47GSDLOS = @gsdlos@
48
49
50COMPILE = $(CC) -c $(CCFLAGS) $(DEFS) $(INCLUDES)
51LINK = $(CC) $(LDFLAGS) -o $@
52
53.SUFFIXES:
54.SUFFIXES: .c .o
55.c.o:
56 $(COMPILE) $<
57
58.SUFFIXES: .cpp .o
59.cpp.o:
60 $(COMPILE) $<
61
62HEADERS = mgq.h mgsearch.h querycache.h queryinfo.h collectserver.h \
63 colservrconfig.h maptools.h filter.h source.h browsefilter.h \
64 queryfilter.h mggdbmsource.h phrasesearch.h phrasequeryfilter.h
65
66SOURCES = mgq.c mgsearch.cpp querycache.cpp queryinfo.cpp collectserver.cpp \
67 colservrconfig.cpp maptools.cpp filter.cpp source.cpp \
68 browsefilter.cpp queryfilter.cpp mggdbmsource.cpp phrasesearch.cpp \
69 phrasequeryfilter.cpp
70
71OBJECTS = mgq.o mgsearch.o querycache.o queryinfo.o collectserver.o \
72 colservrconfig.o maptools.o filter.o source.o browsefilter.o \
73 queryfilter.o mggdbmsource.o phrasesearch.o phrasequeryfilter.o
74
75all : $(OBJECTS)
76
77clean:
78 rm -f $(OBJECTS)
79
80install:
81
82depend:
83 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
Note: See TracBrowser for help on using the repository browser.