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

Last change on this file since 993 was 993, checked in by sjboddie, 24 years ago

tidied up install

  • 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 =
38#LIBS = -lstdc++ -lgdbm
39LIBS = @LIBS@
40GSDLOS = @gsdlos@
41
42
43COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CCFLAGS)
44LINK = $(CC) $(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 = db2txt.cpp
59
60OBJECTS = db2txt.o
61
62EXEC = db2txt
63
64all : $(EXEC)
65
66install: $(EXEC)
67 install -m 755 -s -d $(EXEC) ../../bin/$(GSDLOS)
68
69distclean:
70 rm -f $(OBJECTS) $(EXEC) Makefile
71
72clean:
73 rm -f $(OBJECTS) $(EXEC)
74
75depend:
76 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
77
78
79# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
80
81DB2TXT_OBJS = db2txt.o
82
83db2txt: $(DB2TXT_OBJS) $(DPLIBS)
84 $(LINK) $(DB2TXT_OBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.