root/main/trunk/greenstone2/common-src/indexers/mgpp/Makefile.in @ 26164

Revision 26164, 3.8 KB (checked in by ak19, 8 years ago)

Setting CXXFLAGS for C++ compilation to parallel setting of CFLAGS, though it didn't make any difference to availability of symbols in gdb when debugging.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
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@
30CXX = @CXX@
31CFLAGS = @CFLAGS@ @ARCH_DEP_FLAGS@ -ansi
32CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@
33INSTALL = @INSTALL@
34INSTALL_DATA = @INSTALL_DATA@
35INSTALL_PROGRAM = @INSTALL_PROGRAM@
36LDFLAGS = @LDFLAGS@
37LIBS = @LIBS@ 
38TOUCH = echo timestamp >
39 
40bindir = $(exec_prefix)/bin
41infodir = $(prefix)/info
42libexecdir = $(exec_prefix)/libexec
43 
44MDEFINES =
45#CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \
46#CXX='$(CXX)' CXXFLAGS='$(CXXFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \
47#prefix='$(prefix)' exec_prefix='$(exec_prefix)' \
48#bindir='$(bindir)' libexecdir='$(libexecdir)' \
49#infodir='$(infodir)' infodir='$(infodir)' libexecdir='$(libexecdir)'
50
51SUBDIRS = lib text
52JAVADIRS = java/org/greenstone/mgpp
53JNIDIRS = jni
54
55.SUFFIXES:
56
57all install uninstall execinstall execuninstall maninstall manuninstall:
58#config.h
59    for subdir in $(SUBDIRS) $(JAVADIRS) $(JNIDIRS); do \
60      echo making $@ in $$subdir; \
61      (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
62    done
63
64nojava:
65    for subdir in $(SUBDIRS); do \
66      echo making $@ in $$subdir; \
67      (cd $$subdir && $(MAKE) $(MDEFINES) all) || exit 1; \
68    done
69
70install-nojava:
71    for subdir in $(SUBDIRS); do \
72      echo making $@ in $$subdir; \
73      (cd $$subdir && $(MAKE) $(MDEFINES) install) || exit 1; \
74    done
75
76javaonly:
77    for subdir in $(JAVADIRS); do \
78      echo making $@ in $$subdir; \
79      (cd $$subdir && $(MAKE) $(MDEFINES) all) || exit 1; \
80    done
81
82install-javaonly:
83    for subdir in $(JAVADIRS); do \
84      echo making $@ in $$subdir; \
85      (cd $$subdir && $(MAKE) $(MDEFINES) install) || exit 1; \
86    done
87
88
89mostlyclean: mostlyclean-recursive mostlyclean-local
90
91clean: clean-recursive clean-local
92
93distclean: distclean-recursive distclean-local
94    rm config.status
95
96maintainer-clean: maintainer-clean-recursive maintainer-clean-local
97    rm config.status
98
99mostlyclean-recursive clean-recursive distclean-recursive \
100maintainer-clean-recursive:
101    for subdir in $(SUBDIRS) $(JAVADIRS) $(JNIDIRS); do \
102      target=`echo $@ | sed 's/-recursive//'`; \
103      echo making $$target in $$subdir; \
104      (cd $$subdir && $(MAKE) $$target) || exit 1; \
105    done
106
107mostlyclean-local:
108
109clean-local: mostlyclean-local
110
111distclean-local: clean-local
112    rm -f Makefile config.cache config.h config.log stamp-h
113
114maintainer-clean-local: distclean-local
115    @echo "This command is intended only for maintainers to use;"
116    @echo "rebuilding the deleted files may require special tools."
117
118# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
119
120distdir = $(PACKAGE)-$(VERSION)
121
122distname = $(distdir)
123
124DISTFILES = \
125INSTALL.mg INSTALL README README.port COPYING MODIFICATIONS about_mg.html \
126Makefile.in acconfig.h aclocal.m4 configure.in install-sh mkinstalldirs \
127config.guess config.sub \
128config.h.in configure stamp-h.in
129
130#-----------------------------------------------------------------
131
132# Tell versions [3.59,3.63) of GNU make not to export all variables.
133# Otherwise a system limit (for SysV at least) may be exceeded.
134.NOEXPORT:
135
Note: See TracBrowser for help on using the browser.