source: trunk/gsdl/src/db2txt/Makefile@ 552

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

added configure stuff

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1# Generated automatically from Makefile.in by configure.
2###########################################################################
3#
4# Makefile -- Makefile for db2txt
5# Copyright (C) 1999 Rodger McNab, Stefan Boddie
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20#
21# @(#)Makefile.in 1.3 16 Mar 1994
22#
23###########################################################################
24
25
26AR = ar
27CC = gcc
28CCFLAGS = -g -O2
29DEFS = -DPACKAGE=\"grb\" -DVERSION=\"0.1\" -DHAVE_LIBG=1 -DHAVE_LIBGDBM=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_VPRINTF=1
30RANLIB = ranlib
31INCLUDES = -I../../lib
32LDFLAGS = -lgdbm
33#LIBS = ../../lib/gsdllib.a ../../packages/mg-1.3d/lib/unitool.o
34GSDLOS = linux
35
36
37COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CCFLAGS)
38LINK = $(CC) $(LDFLAGS) -o $@
39
40.SUFFIXES:
41.SUFFIXES: .c .o
42.c.o:
43 $(COMPILE) $<
44
45.SUFFIXES: .cpp .o
46.cpp.o:
47 $(COMPILE) $<
48
49
50HEADERS =
51
52SOURCES = db2txt.cpp
53
54OBJECTS = db2txt.o
55
56EXEC = db2txt.o
57
58all : $(EXEC)
59
60install: $(EXEC)
61 install -m 755 -s $(EXEC) ../../bin/$(GSDLOS)
62
63clean:
64 rm -f $(OBJECTS) $(EXEC)
65
66depend:
67 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
68
69
70# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
71
72DB2TXT_OBJS = db2txt.o
73
74db2txt: $(DB2TXT_OBJS) $(LIBS)
75 $(LINK) $(DB2TXT_OBJS) $(LIBS)
76
77
78# DO NOT DELETE
79
80db2txt.o: ../../lib/text_t.h
Note: See TracBrowser for help on using the repository browser.