root/gsdl/trunk/lib/Makefile.in @ 15462

Revision 15462, 2.5 KB (checked in by mdewsnip, 11 years ago)

Moved all the CORBA stuff into the src/corba directory, to prevent it from uglying up the core code.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
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@
31CCFLAGS = @CFLAGS@
32DEFS = @DEFS@
33INCLUDES = -I../indexers/mg/lib -I..
34RANLIB = @RANLIB@
35
36COMPILE = $(CC) -c $(CCFLAGS) $(DEFS) $(INCLUDES)
37CPPCOMPILE = $(CPP) -c $(CCFLAGS) $(DEFS) $(INCLUDES)
38
39.SUFFIXES:
40.SUFFIXES: .c .o
41.c.o:
42    $(COMPILE) $<
43
44.SUFFIXES: .cpp .o
45.cpp.o:
46    $(CPPCOMPILE) $<
47
48
49HEADERS = \
50  cfgread.h        cnfgable.h       cnfgator.h       dbclass.h \
51  display.h        fileutil.h       gdbmclass.h      gsdlsitecfg.h \
52  gsdltimes.h      gsdltools.h      gsdlunicode.h    infodbclass.h \
53  md5.h            OIDtools.h       phrases.h        text_t.h \
54  gsdlconf.h
55
56SOURCES = \
57  cfgread.cpp      cnfgable.cpp     cnfgator.cpp     dbclass.cpp \
58  display.cpp      fileutil.cpp     gdbmclass.cpp    gsdlsitecfg.cpp \
59  gsdltimes.cpp    gsdltools.cpp    gsdlunicode.cpp  infodbclass.cpp \
60  md5.cpp          OIDtools.cpp     phrases.cpp      text_t.cpp
61
62OBJECTS = \
63  cfgread.o        cnfgable.o       cnfgator.o       dbclass.o \
64  display.o        fileutil.o       gdbmclass.o      gsdlsitecfg.o \
65  gsdltimes.o      gsdltools.o      gsdlunicode.o    infodbclass.o \
66  md5.o            OIDtools.o       phrases.o        text_t.o
67
68
69all: gsdllib.a
70
71GSDLLIBOBJECTS = $(OBJECTS)
72
73gsdllib.a: $(GSDLLIBOBJECTS)
74    rm -f gsdllib.a
75    $(AR) cru gsdllib.a $(GSDLLIBOBJECTS)
76    $(RANLIB) gsdllib.a
77
78clean:
79    rm -f $(OBJECTS) gsdllib.a
80
81distclean: clean
82    rm -f Makefile
83install:
84
85depend:
86    makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
87
88
89
90
Note: See TracBrowser for help on using the browser.