source: trunk/gsdl/src/db2txt/Makefile.in@ 578

Last change on this file since 578 was 578, checked in by cs025, 25 years ago

Fixes for dependencies - make objected to -lstdc++ being in dependency
list

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 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@
32CCFLAGS = -Wall @CFLAGS@
33DEFS = @DEFS@
34RANLIB = @RANLIB@
35INCLUDES = -I../../lib
36LDFLAGS =
37DPLIBS =
38LIBS = -lstdc++ -lgdbm
39GSDLOS = @gsdlos@
40
41
42COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CCFLAGS)
43LINK = $(CC) $(LDFLAGS) -o $@
44
45.SUFFIXES:
46.SUFFIXES: .c .o
47.c.o:
48 $(COMPILE) $<
49
50.SUFFIXES: .cpp .o
51.cpp.o:
52 $(COMPILE) $<
53
54
55HEADERS =
56
57SOURCES = db2txt.cpp
58
59OBJECTS = db2txt.o
60
61EXEC = db2txt
62
63all : $(EXEC)
64
65install: $(EXEC)
66 install -m 755 -s $(EXEC) ../../bin/$(GSDLOS)
67
68clean:
69 rm -f $(OBJECTS) $(EXEC)
70
71depend:
72 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
73
74
75# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
76
77DB2TXT_OBJS = db2txt.o
78
79db2txt: $(DB2TXT_OBJS) $(DPLIBS)
80 $(LINK) $(DB2TXT_OBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.