source: trunk/gsdl/Makefile.in@ 1860

Last change on this file since 1860 was 1860, checked in by cs025, 23 years ago

Included CORBA branch for first time

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 KB
RevLine 
[559]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
[552]27PACKAGE = @PACKAGE@
28VERSION = @VERSION@
29
30@SET_MAKE@
31CC = @CC@
32CPP = @CXX@
33CFLAGS = @CFLAGS@
34LIBS = @LIBS@
[555]35MDEFINES =
36TOPSRC = `pwd`
[552]37
[704]38GSDLOS = @gsdlos@
39
[552]40COMPILE = $(CC) -c
41
[555]42SOURCES =
[552]43
[555]44OBJECTS =
[552]45
46ALLFILES = $(OBJECTS)
47
[1671]48INSTALLDIRS = src/recpt src/txt2db src/db2txt src/hashfile src/getpw packages/mg src/phind/generate packages
[552]49
[1714]50OTHERDIRS = packages packages/mg lib src/mgpp src/colservr src/recpt src/txt2db src/db2txt src/hashfile src/getpw src/phind/generate
[559]51
[552]52all:
[559]53 for odir in $(OTHERDIRS); do \
54 echo making $@ in $$odir; \
55 (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
[552]56 done
57
[704]58install:
[1860]59
[559]60 for idir in $(INSTALLDIRS); do \
61 echo installing $$idir; \
62 (cd $$idir && $(MAKE) install) || exit 1; \
63 done
64
[1517]65# added test to check existence of Makefile, as src/recpt is in
66# both INSTALLDIRS and OTHERDIRS - can't make distclean twice!
[992]67distclean:
[1078]68 rm -f Makefile config.cache config.h config.log stamp-h config.status
[559]69 for subdir in $(INSTALLDIRS) $(OTHERDIRS); do \
[555]70 echo cleaning $@ in $$subdir; \
[1517]71 (cd $$subdir && if test -e Makefile; then $(MAKE) distclean;fi) || exit 1; \
[992]72 done
73
74clean:
75 for subdir in $(INSTALLDIRS) $(OTHERDIRS); do \
76 echo cleaning $@ in $$subdir; \
[555]77 (cd $$subdir && $(MAKE) clean) || exit 1; \
78 done
79
[691]80# For an explanation of the following Makefile rules, see node
81# `Automatic Remaking' in GNU Autoconf documentation.
82Makefile: Makefile.in config.status
83 CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
84config.status: configure
85 ./config.status --recheck
86configure: configure.in aclocal.m4
87 cd $(srcdir) && autoconf
[555]88
[691]89config.h: stamp-h
90stamp-h: config.h.in config.status
91 CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status
92config.h.in: stamp-h.in
93stamp-h.in: configure.in aclocal.m4 acconfig.h
94 cd $(srcdir) && autoheader
95 $(TOUCH) $(srcdir)/stamp-h.in
[555]96
[691]97
98
Note: See TracBrowser for help on using the repository browser.