source: gsdl/trunk/src/hashfile/Makefile.in@ 15552

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

Introduction of COMPAT32BITFLAGS to confirugre and Makefile.in files to help compile Greenstone on a 64-bit machine

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1###########################################################################
2#
3# Makefile -- Makefile for hashfile
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 Rodger McNab, Stefan Boddie
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# @(#)Makefile.in 1.3 16 Mar 1994
26#
27###########################################################################
28
29
30AR = ar
31CC = @CC@
32CFLAGS = @CFLAGS@
33CXX = @CXX@
34CXXFLAGS = @CXXFLAGS@
35DEFS = @DEFS@
36RANLIB = @RANLIB@
37INCLUDES = -I../../lib
38LDFLAGS = @LDFLAGS@
39LIBS = ../../lib/gsdllib.a
40GSDLOS = @gsdlos@
41INSTALL = @INSTALL@
42
43COMPILE = $(CXX) -c $(DEFS) $(INCLUDES) $(CXXFLAGS)
44LINK = $(CXX) $(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
55
56HEADERS =
57
58SOURCES = hashfile.cpp
59
60OBJECTS = hashfile.o
61
62EXEC = hashfile
63
64all : $(EXEC)
65
66install: $(EXEC)
67 $(INSTALL) -d ../../bin/$(GSDLOS)
68 $(INSTALL) -m 755 -s $(EXEC) ../../bin/$(GSDLOS)
69
70distclean:
71 rm -f $(OBJECTS) $(EXEC) Makefile
72
73clean:
74 rm -f $(OBJECTS) $(EXEC)
75
76depend:
77 makedepend -Y -- $(DEFS) $(INCLUDES) $(CXXFLAGS) -- $(SOURCES)
78
79
80# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
81
82HASHFILE_OBJS = hashfile.o
83
84hashfile: $(HASHFILE_OBJS) $(LIBS)
85 $(LINK) $(HASHFILE_OBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.