source: trunk/gsdl/Makefile.in@ 954

Last change on this file since 954 was 954, checked in by sjboddie, 24 years ago

no longer need to play with gsdlhome.h

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1###########################################################################
2#
3# Makefile -- gsdl
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
27PACKAGE = @PACKAGE@
28VERSION = @VERSION@
29
30@SET_MAKE@
31CC = @CC@
32CPP = @CXX@
33CFLAGS = @CFLAGS@
34LIBS = @LIBS@
35MDEFINES =
36TOPSRC = `pwd`
37
38GSDLOS = @gsdlos@
39
40COMPILE = $(CC) -c
41
42SOURCES =
43
44OBJECTS =
45
46ALLFILES = $(OBJECTS)
47
48INSTALLDIRS = packages/mg src/recpt src/txt2db src/db2txt src/hashfile
49
50OTHERDIRS = packages/mg lib src/colservr src/recpt src/txt2db src/db2txt src/hashfile
51
52all:
53 for odir in $(OTHERDIRS); do \
54 echo making $@ in $$odir; \
55 (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
56 done
57
58install:
59 for idir in $(INSTALLDIRS); do \
60 echo installing $$idir; \
61 (cd $$idir && $(MAKE) install) || exit 1; \
62 done
63
64clean:
65 rm -f Makefile config.cache config.h config.log stamp-h
66 for subdir in $(INSTALLDIRS) $(OTHERDIRS); do \
67 echo cleaning $@ in $$subdir; \
68 (cd $$subdir && $(MAKE) clean) || exit 1; \
69 done
70
71# For an explanation of the following Makefile rules, see node
72# `Automatic Remaking' in GNU Autoconf documentation.
73Makefile: Makefile.in config.status
74 CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
75config.status: configure
76 ./config.status --recheck
77configure: configure.in aclocal.m4
78 cd $(srcdir) && autoconf
79
80config.h: stamp-h
81stamp-h: config.h.in config.status
82 CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status
83config.h.in: stamp-h.in
84stamp-h.in: configure.in aclocal.m4 acconfig.h
85 cd $(srcdir) && autoheader
86 $(TOUCH) $(srcdir)/stamp-h.in
87
88
89
Note: See TracBrowser for help on using the repository browser.