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

Last change on this file since 3275 was 2900, checked in by jrm21, 23 years ago

Modified Makefile.in files to use autodetected configure's install program
instead of hard-coding "install" program. (eg solaris uses ginstall).

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
RevLine 
[552]1###########################################################################
2#
3# Makefile -- Makefile for db2txt
[558]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#
[552]8# Copyright (C) 1999 Rodger McNab, Stefan Boddie
9#
[558]10#
[552]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@
[1860]32CPP = @CXX@
[577]33CCFLAGS = -Wall @CFLAGS@
[552]34DEFS = @DEFS@
35RANLIB = @RANLIB@
[2371]36INCLUDES = -I../../lib @GDBM_INCLUDE@
[1802]37LDFLAGS = @LDFLAGS@
[578]38DPLIBS =
[2371]39LIBS = @GDBM_LIBPATH@ -lgdbm @LIBS@
[558]40GSDLOS = @gsdlos@
[2900]41INSTALL = @INSTALL@
[552]42
43COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CCFLAGS)
[1860]44CPPCOMPILE = $(CPP) -c $(DEFS) $(INCLUDES) $(CCFLAGS)
[552]45LINK = $(CC) $(LDFLAGS) -o $@
[1860]46CPPLINK = $(CPP) $(LDFLAGS) -o $@
[552]47
48.SUFFIXES:
49.SUFFIXES: .c .o
50.c.o:
51 $(COMPILE) $<
52
53.SUFFIXES: .cpp .o
54.cpp.o:
[1860]55 $(CPPCOMPILE) $<
[552]56
57
58HEADERS =
59
60SOURCES = db2txt.cpp
61
62OBJECTS = db2txt.o
63
[573]64EXEC = db2txt
[552]65
66all : $(EXEC)
67
68install: $(EXEC)
[2900]69 $(INSTALL) -d ../../bin/$(GSDLOS)
70 $(INSTALL) -m 755 -s $(EXEC) ../../bin/$(GSDLOS)
[552]71
[992]72distclean:
73 rm -f $(OBJECTS) $(EXEC) Makefile
74
[552]75clean:
76 rm -f $(OBJECTS) $(EXEC)
77
78depend:
79 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
80
81
82# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
83
84DB2TXT_OBJS = db2txt.o
85
[578]86db2txt: $(DB2TXT_OBJS) $(DPLIBS)
[552]87 $(LINK) $(DB2TXT_OBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.