source: gsdl/trunk/gs2runtime/src/protocol/Makefile.in@ 16563

Last change on this file since 16563 was 16563, checked in by davidb, 16 years ago

Mods to Makefile.in and configure.in to work with newly organized files: gs2build gs2common and gs2runtime

  • Property svn:executable set to *
File size: 2.2 KB
RevLine 
[15450]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
[16563]27GSDL_DIR = ../../..
28COMMON_DIR = $(GSDL_DIR)/gs2common
[15450]29
[16563]30INDEXERS_DIR = $(COMMON_DIR)/indexers
31PACKAGES_DIR = $(GSDL_DIR)/gs2runtime/packages
32COLSERVR_DIR = $(GSDL_DIR)/gs2runtime/src/colservr
[15475]33
[16563]34
[15479]35AR = ar
[15556]36CXX = @CXX@
37CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@
[15470]38DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER
[15450]39# Do NOT add the "recpt" directory here: the protocol should be independent of the receptionist!
[16563]40INCLUDES = @GDBM_INCLUDE@ -I. -I$(GSDL_DIR) -I$(COMMON_DIR)/src/lib -I$(COLSERVR_DIR) -I$(INDEXERS_DIR)/mgpp/text
[15479]41RANLIB = @RANLIB@
[15450]42
43
[15556]44CXXCOMPILE = $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCLUDES)
[15450]45
[15470]46
[15450]47.SUFFIXES:
48.SUFFIXES: .cpp .o
49.cpp.o:
[15556]50 $(CXXCOMPILE) $<
[15450]51
52
[15470]53SOURCES = \
54 nullproto.cpp \
[15572]55 recptproto.cpp \
56 recptprototools.cpp
[15450]57
[15470]58OBJECTS = \
59 nullproto.o \
[15572]60 recptproto.o \
61 recptprototools.o
[15450]62
[15479]63LIBRARY = gsdlprotocol.a
[15450]64
65
[15579]66# Default target: make gsdlprotocol.a
67all: $(LIBRARY)
68
[15479]69gsdlprotocol.a: $(OBJECTS)
[15579]70 rm -f $(LIBRARY)
71 $(AR) cru $(LIBRARY) $(OBJECTS)
72 $(RANLIB) $(LIBRARY)
[15470]73
[15580]74install:
[15479]75
[15450]76clean:
[15579]77 rm -f $(OBJECTS) $(LIBRARY)
[15450]78
[15470]79distclean:
[15579]80 rm -f $(OBJECTS) $(LIBRARY) Makefile
[15450]81
82depend:
[15556]83 makedepend -Y -- $(DEFS) $(INCLUDES) $(CXXFLAGS) -- $(SOURCES)
Note: See TracBrowser for help on using the repository browser.