source: trunk/gsdl/src/colservr/GCC.mak@ 1150

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

modifications for windows ports of GCC

  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1###########################################################################
2#
3# gcc win32 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) 2000 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
29RANLIB = ranlib
30CC = g++
31DELETE = del
32
33o = .o
34/ = \\
35
36CPPFLAGS = -g -Wall
37DEFS = -D__WIN32__ -DGSDL_USE_IOS_H -DHAVE_CONFIG_H
38
39INCLUDES = -I"..$/..$/lib" -I"..$/recpt" -I"..$/..$/packages$/mg" \
40 -I"..$/..$/packages$/mg$/lib" -I"..$/..$/packages$/mg$/src$/text" \
41 -I"..$/..$/packages$/wingdbm"
42
43COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS)
44LINK = $(CC) $(LDFLAGS) -o $@
45
46.SUFFIXES:
47.SUFFIXES: .c $o
48.c$o:
49 $(COMPILE) $<
50
51.SUFFIXES: .cpp $o
52.cpp$o:
53 $(COMPILE) $<
54
55HEADERS = mgq.h mgsearch.h querycache.h queryinfo.h collectserver.h \
56 colservrconfig.h maptools.h filter.h source.h browsefilter.h \
57 queryfilter.h mggdbmsource.h phrasesearch.h phrasequeryfilter.h
58
59SOURCES = mgq.c mgsearch.cpp querycache.cpp queryinfo.cpp collectserver.cpp \
60 colservrconfig.cpp maptools.cpp filter.cpp source.cpp \
61 browsefilter.cpp queryfilter.cpp mggdbmsource.cpp phrasesearch.cpp \
62 phrasequeryfilter.cpp
63
64OBJECTS = mgq$o mgsearch$o querycache$o queryinfo$o collectserver$o \
65 colservrconfig$o maptools$o filter$o source$o browsefilter$o \
66 queryfilter$o mggdbmsource$o phrasesearch$o phrasequeryfilter$o
67
68all : $(OBJECTS)
69
70clean:
71 $(DELETE) *$o
72
73install:
Note: See TracBrowser for help on using the repository browser.