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