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

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

added javaonly and installjava targets for make - used when creating a distribution for greenstone 3

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.3 KB
RevLine 
[3365]1# Main Makefile for GNU tar.
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 java/org/greenstone/mgpp jni
50
51
52.SUFFIXES:
53
54all install uninstall execinstall execuninstall maninstall manuninstall:
55#config.h
56 for subdir in $(SUBDIRS); do \
57 echo making $@ in $$subdir; \
58 (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
59 done
60
[13502]61javaonly:
62 cd java/org/greenstone/mgpp && $(MAKE) $(MDEFINES) all
63
64installjava:
65 cd java/org/greenstone/mgpp && $(MAKE) $(MDEFINES) install
66
[3365]67# Have not written any texinfo files for the documentation yet
68#info dvi:
69# cd doc && $(MAKE) $@
70
71mostlyclean: mostlyclean-recursive mostlyclean-local
72
73clean: clean-recursive clean-local
74
75distclean: distclean-recursive distclean-local
76 rm config.status
77
78maintainer-clean: maintainer-clean-recursive maintainer-clean-local
79 rm config.status
80
81mostlyclean-recursive clean-recursive distclean-recursive \
82maintainer-clean-recursive:
83 for subdir in $(SUBDIRS); do \
84 target=`echo $@ | sed 's/-recursive//'`; \
85 echo making $$target in $$subdir; \
86 (cd $$subdir && $(MAKE) $$target) || exit 1; \
87 done
88
89mostlyclean-local:
90
91clean-local: mostlyclean-local
92
93distclean-local: clean-local
94 rm -f Makefile config.cache config.h config.log stamp-h
95
96maintainer-clean-local: distclean-local
97 @echo "This command is intended only for maintainers to use;"
98 @echo "rebuilding the deleted files may require special tools."
99
100# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
101
102distdir = $(PACKAGE)-$(VERSION)
103
104distname = $(distdir)
105
106DISTFILES = \
107INSTALL.mg INSTALL README README.port COPYING MODIFICATIONS about_mg.html \
108Makefile.in acconfig.h aclocal.m4 configure.in install-sh mkinstalldirs \
109config.guess config.sub \
110config.h.in configure stamp-h.in
111
112#-----------------------------------------------------------------
113
114# Tell versions [3.59,3.63) of GNU make not to export all variables.
115# Otherwise a system limit (for SysV at least) may be exceeded.
116.NOEXPORT:
117
Note: See TracBrowser for help on using the repository browser.