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

Last change on this file since 1860 was 1860, checked in by cs025, 23 years ago

Included CORBA branch for first time

  • 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@
36INCLUDES = -I../../lib
[1802]37LDFLAGS = @LDFLAGS@
[578]38DPLIBS =
[985]39#LIBS = -lstdc++ -lgdbm
40LIBS = @LIBS@
[558]41GSDLOS = @gsdlos@
[552]42
43
44COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CCFLAGS)
[1860]45CPPCOMPILE = $(CPP) -c $(DEFS) $(INCLUDES) $(CCFLAGS)
[552]46LINK = $(CC) $(LDFLAGS) -o $@
[1860]47CPPLINK = $(CPP) $(LDFLAGS) -o $@
[552]48
49.SUFFIXES:
50.SUFFIXES: .c .o
51.c.o:
52 $(COMPILE) $<
53
54.SUFFIXES: .cpp .o
55.cpp.o:
[1860]56 $(CPPCOMPILE) $<
[552]57
58
59HEADERS =
60
61SOURCES = db2txt.cpp
62
63OBJECTS = db2txt.o
64
[573]65EXEC = db2txt
[552]66
67all : $(EXEC)
68
69install: $(EXEC)
[1004]70 install -d ../../bin/$(GSDLOS)
71 install -m 755 -s $(EXEC) ../../bin/$(GSDLOS)
[552]72
[992]73distclean:
74 rm -f $(OBJECTS) $(EXEC) Makefile
75
[552]76clean:
77 rm -f $(OBJECTS) $(EXEC)
78
79depend:
80 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
81
82
83# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
84
85DB2TXT_OBJS = db2txt.o
86
[578]87db2txt: $(DB2TXT_OBJS) $(DPLIBS)
[552]88 $(LINK) $(DB2TXT_OBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.