source: trunk/indexers/mgpp/Makefile.in@ 13716

Last change on this file since 13716 was 13716, checked in by kjdon, 17 years ago

added nojava and install-nojava targets for use with gs2

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.4 KB
Line 
1 # Main Makefile for MGPP
2# Copyright (C) 1994, 1995 Free Software Foundation, Inc.
3
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 2, or (at your option)
7# any later version.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13
14# You should have received a copy of the GNU General Public License
15# along with this program; if not, write to the Free Software
16# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18PACKAGE = @PACKAGE@
19VERSION = @VERSION@
20
21@SET_MAKE@
22SHELL = /bin/sh
23VPATH = @srcdir@
24exec_prefix = @exec_prefix@
25prefix = @prefix@
26srcdir = @srcdir@
27
28
29CC = @CC@
30CPP = @CXX@
31CFLAGS = @CFLAGS@ -ansi
32INSTALL = @INSTALL@
33INSTALL_DATA = @INSTALL_DATA@
34INSTALL_PROGRAM = @INSTALL_PROGRAM@
35LDFLAGS = @LDFLAGS@
36LIBS = @LIBS@
37TOUCH = echo timestamp >
38
39bindir = $(exec_prefix)/bin
40infodir = $(prefix)/info
41libexecdir = $(exec_prefix)/libexec
42
43MDEFINES =
44#CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \
45#prefix='$(prefix)' exec_prefix='$(exec_prefix)' \
46#bindir='$(bindir)' libexecdir='$(libexecdir)' \
47#infodir='$(infodir)' infodir='$(infodir)' libexecdir='$(libexecdir)'
48
49SUBDIRS = lib text
50JAVADIRS = java/org/greenstone/mgpp jni
51
52.SUFFIXES:
53
54all install uninstall execinstall execuninstall maninstall manuninstall:
55#config.h
56 for subdir in $(SUBDIRS) $(JAVADIRS); do \
57 echo making $@ in $$subdir; \
58 (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
59 done
60
61nojava:
62 for subdir in $(SUBDIRS); do \
63 echo making $@ in $$subdir; \
64 (cd $$subdir && $(MAKE) $(MDEFINES) all) || exit 1; \
65 done
66
67install-nojava:
68 for subdir in $(SUBDIRS); do \
69 echo making $@ in $$subdir; \
70 (cd $$subdir && $(MAKE) $(MDEFINES) install) || exit 1; \
71 done
72
73
74mostlyclean: mostlyclean-recursive mostlyclean-local
75
76clean: clean-recursive clean-local
77
78distclean: distclean-recursive distclean-local
79 rm config.status
80
81maintainer-clean: maintainer-clean-recursive maintainer-clean-local
82 rm config.status
83
84mostlyclean-recursive clean-recursive distclean-recursive \
85maintainer-clean-recursive:
86 for subdir in $(SUBDIRS) $(OTHERDIRS); do \
87 target=`echo $@ | sed 's/-recursive//'`; \
88 echo making $$target in $$subdir; \
89 (cd $$subdir && $(MAKE) $$target) || exit 1; \
90 done
91
92mostlyclean-local:
93
94clean-local: mostlyclean-local
95
96distclean-local: clean-local
97 rm -f Makefile config.cache config.h config.log stamp-h
98
99maintainer-clean-local: distclean-local
100 @echo "This command is intended only for maintainers to use;"
101 @echo "rebuilding the deleted files may require special tools."
102
103# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
104
105distdir = $(PACKAGE)-$(VERSION)
106
107distname = $(distdir)
108
109DISTFILES = \
110INSTALL.mg INSTALL README README.port COPYING MODIFICATIONS about_mg.html \
111Makefile.in acconfig.h aclocal.m4 configure.in install-sh mkinstalldirs \
112config.guess config.sub \
113config.h.in configure stamp-h.in
114
115#-----------------------------------------------------------------
116
117# Tell versions [3.59,3.63) of GNU make not to export all variables.
118# Otherwise a system limit (for SysV at least) may be exceeded.
119.NOEXPORT:
120
Note: See TracBrowser for help on using the repository browser.