source: gsdl/trunk/src/protocol/Makefile.in@ 15475

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

Minor whitespace improvement.

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1###########################################################################
2#
3# Makefile -- src/protocol
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
31
32CPP = @CXX@
33CPPFLAGS = @CXXFLAGS@
34DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER
35# Do NOT add the "recpt" directory here: the protocol should be independent of the receptionist!
36INCLUDES = -I. -I$(GSDL_DIR) -I$(GSDL_DIR)/lib -I$(COLSERVR_DIR) -I$(INDEXERS_DIR)/mgpp/text
37
38
39CPPCOMPILE = $(CPP) -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
40CPPLINK = $(CPP) $(LDFLAGS) -o $@
41
42
43.SUFFIXES:
44.SUFFIXES: .cpp .o
45.cpp.o:
46 $(CPPCOMPILE) $<
47
48
49SOURCES = \
50 nullproto.cpp \
51 recptproto.cpp
52
53OBJECTS = \
54 nullproto.o \
55 recptproto.o
56
57
58all: $(OBJECTS)
59
60install:
61
62clean:
63 rm -f $(OBJECTS)
64
65distclean:
66 rm -f $(OBJECTS) Makefile
67
68depend:
69 makedepend -Y -- $(DEFS) $(INCLUDES) $(CPPFLAGS) -- $(SOURCES)
Note: See TracBrowser for help on using the repository browser.