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

Revision 25171, 3.7 KB (checked in by jmt12, 8 years ago)

Removing hardcoded -fpic in Makefile.in (presumably snuck in during merge of 64bit branch) and replacing with proper use of Kathy's ARCH_DEP_FLAGS variable

  • 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
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
51JNIDIRS = jni
52
53.SUFFIXES:
54
55all install uninstall execinstall execuninstall maninstall manuninstall:
56#config.h
57    for subdir in $(SUBDIRS) $(JAVADIRS) $(JNIDIRS); do \
58      echo making $@ in $$subdir; \
59      (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
60    done
61
62nojava:
63    for subdir in $(SUBDIRS); do \
64      echo making $@ in $$subdir; \
65      (cd $$subdir && $(MAKE) $(MDEFINES) all) || exit 1; \
66    done
67
68install-nojava:
69    for subdir in $(SUBDIRS); do \
70      echo making $@ in $$subdir; \
71      (cd $$subdir && $(MAKE) $(MDEFINES) install) || exit 1; \
72    done
73
74javaonly:
75    for subdir in $(JAVADIRS); do \
76      echo making $@ in $$subdir; \
77      (cd $$subdir && $(MAKE) $(MDEFINES) all) || exit 1; \
78    done
79
80install-javaonly:
81    for subdir in $(JAVADIRS); do \
82      echo making $@ in $$subdir; \
83      (cd $$subdir && $(MAKE) $(MDEFINES) install) || exit 1; \
84    done
85
86
87mostlyclean: mostlyclean-recursive mostlyclean-local
88
89clean: clean-recursive clean-local
90
91distclean: distclean-recursive distclean-local
92    rm config.status
93
94maintainer-clean: maintainer-clean-recursive maintainer-clean-local
95    rm config.status
96
97mostlyclean-recursive clean-recursive distclean-recursive \
98maintainer-clean-recursive:
99    for subdir in $(SUBDIRS) $(JAVADIRS) $(JNIDIRS); do \
100      target=`echo $@ | sed 's/-recursive//'`; \
101      echo making $$target in $$subdir; \
102      (cd $$subdir && $(MAKE) $$target) || exit 1; \
103    done
104
105mostlyclean-local:
106
107clean-local: mostlyclean-local
108
109distclean-local: clean-local
110    rm -f Makefile config.cache config.h config.log stamp-h
111
112maintainer-clean-local: distclean-local
113    @echo "This command is intended only for maintainers to use;"
114    @echo "rebuilding the deleted files may require special tools."
115
116# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
117
118distdir = $(PACKAGE)-$(VERSION)
119
120distname = $(distdir)
121
122DISTFILES = \
123INSTALL.mg INSTALL README README.port COPYING MODIFICATIONS about_mg.html \
124Makefile.in acconfig.h aclocal.m4 configure.in install-sh mkinstalldirs \
125config.guess config.sub \
126config.h.in configure stamp-h.in
127
128#-----------------------------------------------------------------
129
130# Tell versions [3.59,3.63) of GNU make not to export all variables.
131# Otherwise a system limit (for SysV at least) may be exceeded.
132.NOEXPORT:
133
Note: See TracBrowser for help on using the browser.