source: gsdl/trunk/src/gdbmedit/db2txt/Makefile.in@ 15551

Last change on this file since 15551 was 15551, 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.2 KB
Line 
1###########################################################################
2#
3# Makefile -- Makefile for db2txt
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@
32CXX = @CXX@
33CFLAGS = -Wall @CFLAGS@ @COMPAT32BITFLAGS@
34CXXFLAGS= -Wall @CXXFLAGS@ @COMPAT32BITFLAGS@
35DEFS = @DEFS@
36RANLIB = @RANLIB@
37INCLUDES = -I../../../lib @GDBM_INCLUDE@
38LDFLAGS = @LDFLAGS@ @COMPAT32BITFLAGS@
39DPLIBS =
40LIBS = @GDBM_LIBPATH@ -lgdbm @LIBS@
41GSDLOS = @gsdlos@
42INSTALL = @INSTALL@
43
44COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
45CXXCOMPILE = $(CXX) -c $(DEFS) $(INCLUDES) $(CXXFLAGS)
46LINK = $(CC) $(LDFLAGS) -o $@
47CXXLINK = $(CXX) $(LDFLAGS) -o $@
48
49.SUFFIXES:
50.SUFFIXES: .c .o
51.c.o:
52 $(COMPILE) $<
53
54.SUFFIXES: .cpp .o
55.cpp.o:
56 $(CXXCOMPILE) $<
57
58
59HEADERS =
60
61SOURCES = db2txt.cpp
62
63OBJECTS = db2txt.o
64
65EXEC = db2txt
66
67all : $(EXEC)
68
69install: $(EXEC)
70 $(INSTALL) -d ../../../bin/$(GSDLOS)
71 $(INSTALL) -m 755 -s $(EXEC) ../../../bin/$(GSDLOS)
72
73distclean:
74 rm -f $(OBJECTS) $(EXEC) Makefile
75
76clean:
77 rm -f $(OBJECTS) $(EXEC)
78
79depend:
80 makedepend -Y -- $(DEFS) $(INCLUDES) $(CFLAGS) -- $(SOURCES)
81
82
83# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
84
85DB2TXT_OBJS = db2txt.o
86
87db2txt: $(DB2TXT_OBJS) $(DPLIBS)
88 $(CXXLINK) $(DB2TXT_OBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.