source: gsdl/trunk/lib/Makefile.in@ 15462

Last change on this file since 15462 was 15462, checked in by mdewsnip, 16 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
File size: 2.5 KB
RevLine 
[1076]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@
[1860]30CPP = @CXX@
[1283]31CCFLAGS = @CFLAGS@
[1076]32DEFS = @DEFS@
[13776]33INCLUDES = -I../indexers/mg/lib -I..
[1076]34RANLIB = @RANLIB@
35
36COMPILE = $(CC) -c $(CCFLAGS) $(DEFS) $(INCLUDES)
[1860]37CPPCOMPILE = $(CPP) -c $(CCFLAGS) $(DEFS) $(INCLUDES)
[1076]38
39.SUFFIXES:
40.SUFFIXES: .c .o
41.c.o:
42 $(COMPILE) $<
43
44.SUFFIXES: .cpp .o
45.cpp.o:
[1860]46 $(CPPCOMPILE) $<
[1076]47
48
49HEADERS = \
[15436]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 \
[15462]54 gsdlconf.h
[1076]55
56SOURCES = \
[15436]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 \
[15462]60 md5.cpp OIDtools.cpp phrases.cpp text_t.cpp
[1076]61
62OBJECTS = \
[15436]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 \
[15462]66 md5.o OIDtools.o phrases.o text_t.o
[1076]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:
[15462]79 rm -f $(OBJECTS) gsdllib.a
[1076]80
[1939]81distclean: clean
82 rm -f Makefile
[1076]83install:
84
85depend:
86 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
[1860]87
88
89
90
Note: See TracBrowser for help on using the repository browser.