source: gsdl/trunk/src/gdbmedit/txt2db/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.5 KB
Line 
1###########################################################################
2#
3# Makefile -- Makefile for txt2db
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# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License as published by
12# the Free Software Foundation; either version 2 of the License, or
13# (at your option) any later version.
14#
15# This program is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18# GNU General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
21# along with this program; if not, write to the Free Software
22# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23#
24# @(#)Makefile.in 1.3 16 Mar 1994
25#
26###########################################################################
27
28
29AR = ar
30CC = @CC@
31CXX = @CXX@
32CFLAGS = -Wall @CFLAGS@ @COMPAT32BITFLAGS@
33CXXFLAGS = -Wall @CXXFLAGS@ @COMPAT32BITFLAGS@
34DEFS = @DEFS@
35RANLIB = @RANLIB@
36INCLUDES = -I../../../lib @GDBM_INCLUDE@
37LDFLAGS = @LDFLAGS@ @COMPAT32BITFLAGS@
38INDEXERS_DIR=../../../indexers
39DPLIBS = ../../../lib/gsdllib.a $(INDEXERS_DIR)/mg/lib/unitool.o
40LIBS = ../../../lib/gsdllib.a $(INDEXERS_DIR)/mg/lib/unitool.o @GDBM_LIBPATH@ -lgdbm @LIBS@
41GSDLOS = @gsdlos@
42INSTALL = @INSTALL@
43
44COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
45CXXCOMPILE = $(CXX) -c $(DEFS) $(INCLUDES) $(CXXFLAGS)
46MCOMPILE = ../../../bin/linux/mico-c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c
47LINK = $(CC) $(LDFLAGS) -o $@
48MLINK = ../../../bin/linux/mico-ld $(LDFLAGS) -lmico2.2.7 -o $@
49CXXLINK = $(CXX) $(LDFLAGS) -o $@
50
51.SUFFIXES:
52.SUFFIXES: .c .o
53.c.o:
54 $(COMPILE) $<
55
56.SUFFIXES: .cpp .o
57.cpp.o:
58 $(CXXCOMPILE) $<
59
60.SUFFIXES: .mpp .o
61.mpp.o:
62 $(MCOMPILE) $<
63
64HEADERS =
65
66SOURCES = txt2db.cpp
67
68OBJECTS = txt2db.o
69
70EXEC = txt2db
71
72all : $(EXEC)
73
74install: $(EXEC)
75 $(INSTALL) -d ../../../bin/$(GSDLOS)
76 $(INSTALL) -m 755 -s $(EXEC) ../../../bin/$(GSDLOS)
77
78distclean:
79 rm -f $(OBJECTS) $(EXEC) Makefile
80
81clean:
82 rm -f $(OBJECTS) $(EXEC)
83
84depend:
85 makedepend -Y -- $(DEFS) $(INCLUDES) $(CFLAGS) -- $(SOURCES)
86
87
88# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
89
90TXT2DB_OBJS = txt2db.o
91
92txt2db: $(TXT2DB_OBJS) $(DPLIBS)
93 $(CXXLINK) $(TXT2DB_OBJS) $(LIBS)
94
95
96
97
98
99
Note: See TracBrowser for help on using the repository browser.