source: trunk/greenorg/lib/Makefile.in@ 13640

Last change on this file since 13640 was 5545, checked in by sjboddie, 21 years ago

* empty log message *

  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1###########################################################################
2#
3# Makefile -- lib
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 The New Zealand Digital Library Project
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###########################################################################
26
27
28AR = ar
29CC = @CC@
30CPP = @CXX@
31#CCFLAGS = @CFLAGS@ -Wall -Wunused -pedantic -W -Woverloaded-virtual
32CCFLAGS = @CFLAGS@
33MCFLAGS = -Wall -Wunused
34DEFS = @DEFS@
35INCLUDES = -I..
36RANLIB = @RANLIB@
37
38COMPILE = $(CC) -c $(CCFLAGS) $(DEFS) $(INCLUDES)
39CPPCOMPILE = $(CPP) -c $(CCFLAGS) $(DEFS) $(INCLUDES)
40
41.SUFFIXES:
42.SUFFIXES: .c .o
43.c.o:
44 $(COMPILE) $<
45
46.SUFFIXES: .cpp .o
47.cpp.o:
48 $(CPPCOMPILE) $<
49
50HEADERS = \
51 cfgread.h fileutil.h gsdlunicode.h gsdltools.h text_t.h \
52 display.h gsdlconf.h cnfgable.h gsdltimes.h cnfgator.h unitool.h
53
54SOURCES = \
55 cfgread.cpp fileutil.cpp text_t.cpp cnfgable.cpp \
56 display.cpp gsdlunicode.cpp gsdltimes.cpp gsdltools.cpp \
57 cnfgator.cpp unitool.c
58
59OBJECTS = \
60 cfgread.o fileutil.o text_t.o cnfgable.o \
61 display.o gsdlunicode.o gsdltimes.o gsdltools.o \
62 cnfgator.o unitool.o
63
64
65all: gsdllib.a
66
67GSDLLIBOBJECTS = $(OBJECTS)
68
69gsdllib.a: $(GSDLLIBOBJECTS)
70 rm -f gsdllib.a
71 $(AR) cru gsdllib.a $(GSDLLIBOBJECTS)
72 $(RANLIB) gsdllib.a
73
74clean:
75 rm -f $(OBJECTS) gsdllib.a
76
77distclean: clean
78 rm -f Makefile
79install:
80
81depend:
82 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
83
84
85
86
Note: See TracBrowser for help on using the repository browser.