2003-08-13 09:58:53 +05:30
|
|
|
# Makefile.in generated by automake 1.6.3 from Makefile.am.
|
2002-10-20 19:55:16 +05:30
|
|
|
# @configure_input@
|
|
|
|
|
2003-08-13 09:58:53 +05:30
|
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
2002-10-20 19:55:16 +05:30
|
|
|
# Free Software Foundation, Inc.
|
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
@SET_MAKE@
|
2003-08-13 09:58:53 +05:30
|
|
|
SHELL = @SHELL@
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
2003-08-13 09:58:53 +05:30
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
2002-10-20 19:55:16 +05:30
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = ..
|
|
|
|
|
2003-08-13 09:58:53 +05:30
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
|
|
INSTALL = @INSTALL@
|
2003-08-13 09:58:53 +05:30
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
2002-10-20 19:55:16 +05:30
|
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
|
|
install_sh_SCRIPT = $(install_sh) -c
|
2003-08-13 09:58:53 +05:30
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
2002-10-20 19:55:16 +05:30
|
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
2003-08-13 09:58:53 +05:30
|
|
|
transform = @program_transform_name@
|
2002-10-20 19:55:16 +05:30
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
2003-08-13 09:58:53 +05:30
|
|
|
|
|
|
|
EXEEXT = @EXEEXT@
|
|
|
|
OBJEXT = @OBJEXT@
|
|
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
2002-10-20 19:55:16 +05:30
|
|
|
AMTAR = @AMTAR@
|
|
|
|
AWK = @AWK@
|
|
|
|
BINSH = @BINSH@
|
|
|
|
CC = @CC@
|
|
|
|
DEPDIR = @DEPDIR@
|
|
|
|
GNOMEHELP = @GNOMEHELP@
|
2002-10-29 09:25:19 +05:30
|
|
|
GNOMEINC = @GNOMEINC@
|
|
|
|
GNOMELIB = @GNOMELIB@
|
2003-03-31 07:03:40 +05:30
|
|
|
GPREFIX = @GPREFIX@
|
2002-10-29 09:25:19 +05:30
|
|
|
HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@
|
2002-10-20 19:55:16 +05:30
|
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
2002-11-26 09:36:23 +05:30
|
|
|
INTLLIBS = intl22.so
|
2002-10-20 19:55:16 +05:30
|
|
|
LANGUAGES = @LANGUAGES@
|
|
|
|
MOFILES = @MOFILES@
|
|
|
|
MSGFMT = @MSGFMT@
|
|
|
|
P22_INCLUDES = @P22_INCLUDES@
|
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
POFILES = @POFILES@
|
|
|
|
PYTHON = @PYTHON@
|
|
|
|
PYTHON22 = @PYTHON22@
|
|
|
|
PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
|
|
|
|
PYTHON_PLATFORM = @PYTHON_PLATFORM@
|
|
|
|
PYTHON_PREFIX = @PYTHON_PREFIX@
|
|
|
|
PYTHON_VERSION = @PYTHON_VERSION@
|
|
|
|
RELEASE = @RELEASE@
|
2003-03-31 09:21:01 +05:30
|
|
|
SCROLLKEEPER_BUILD_REQUIRED = @SCROLLKEEPER_BUILD_REQUIRED@
|
|
|
|
SK_CONFIG = @SK_CONFIG@
|
2002-10-20 19:55:16 +05:30
|
|
|
STRIP = @STRIP@
|
2002-11-03 12:05:06 +05:30
|
|
|
SWIG = @SWIG@
|
2002-10-20 19:55:16 +05:30
|
|
|
VERSION = @VERSION@
|
|
|
|
VERSIONSTRING = @VERSIONSTRING@
|
|
|
|
ZIP = @ZIP@
|
|
|
|
am__include = @am__include@
|
|
|
|
am__quote = @am__quote@
|
|
|
|
install_sh = @install_sh@
|
|
|
|
pkgpyexecdir = @pkgpyexecdir@
|
|
|
|
pkgpythondir = @pkgpythondir@
|
|
|
|
pyexecdir = @pyexecdir@
|
|
|
|
pythondir = @pythondir@
|
|
|
|
|
|
|
|
# This is the src level Makefile for Gramps
|
2003-01-09 10:11:08 +05:30
|
|
|
SUBDIRS = docgen filters plugins data po calendars
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
# For intl. support, how do we compile?
|
2002-10-29 09:25:19 +05:30
|
|
|
GVFSINC = @GPREF@
|
2003-08-13 09:58:53 +05:30
|
|
|
CFLAGS = -fPIC -shared -O @GNOMEINC@ @CFLAGS@ @CPPFLAGS@ -I@includedir@
|
|
|
|
LDFLAGS = @GNOMELIB@ @LDFLAGS@ -L@libdir@ @LIBS@
|
2003-05-23 09:46:01 +05:30
|
|
|
CLEANFILES = $(INTLLIBS) grampslib.so
|
2002-10-20 19:55:16 +05:30
|
|
|
MOSTLYCLEANFILES =
|
|
|
|
|
2003-03-07 07:51:18 +05:30
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
# What are the PYTHON scripts for this package that need to be handled?
|
|
|
|
#
|
|
|
|
# We only want optimized byte-compiled (.pyo) versions, no .pyc
|
|
|
|
# In principle, this is handled by PYCFILES and PYOFILES, but
|
|
|
|
# they don't seem to work so we edited the py-compile script instead
|
2003-03-07 07:51:18 +05:30
|
|
|
pkgpython_PYTHON = \
|
|
|
|
AddMedia.py\
|
|
|
|
AddrEdit.py\
|
|
|
|
AddSpouse.py\
|
|
|
|
ansel_utf8.py\
|
|
|
|
AttrEdit.py\
|
|
|
|
AutoComp.py\
|
|
|
|
Bookmarks.py\
|
|
|
|
Calendar.py\
|
|
|
|
ChooseParents.py\
|
|
|
|
const.py\
|
|
|
|
DateEdit.py\
|
|
|
|
Date.py\
|
|
|
|
DbPrompter.py\
|
|
|
|
DisplayTrace.py\
|
|
|
|
DrawDoc.py\
|
|
|
|
EditPerson.py\
|
|
|
|
EditPlace.py\
|
|
|
|
EditSource.py\
|
|
|
|
Errors.py\
|
|
|
|
EventEdit.py\
|
|
|
|
FamilyView.py\
|
|
|
|
Filter.py\
|
|
|
|
Find.py\
|
|
|
|
FontScale.py\
|
|
|
|
FrenchRepublic.py\
|
|
|
|
GedcomInfo.py\
|
|
|
|
GenericFilter.py\
|
|
|
|
GrampsCfg.py\
|
|
|
|
gramps_main.py\
|
|
|
|
GrampsParser.py\
|
|
|
|
gramps.py\
|
|
|
|
GrampsXML.py\
|
|
|
|
GrampsZODB.py\
|
|
|
|
GraphLayout.py\
|
|
|
|
Gregorian.py\
|
|
|
|
Hebrew.py\
|
|
|
|
ImageSelect.py\
|
|
|
|
ImgManip.py\
|
|
|
|
intl.py\
|
|
|
|
Julian.py\
|
|
|
|
latin_ansel.py\
|
|
|
|
latin_utf8.py\
|
|
|
|
ListModel.py\
|
|
|
|
LocEdit.py\
|
|
|
|
Marriage.py\
|
|
|
|
MediaView.py\
|
|
|
|
MergeData.py\
|
|
|
|
NameEdit.py\
|
|
|
|
NoteEdit.py\
|
|
|
|
PaperMenu.py\
|
|
|
|
PedView.py\
|
|
|
|
PlaceView.py\
|
|
|
|
Plugins.py\
|
|
|
|
QuestionDialog.py\
|
|
|
|
QuickAdd.py\
|
|
|
|
ReadXML.py\
|
2003-03-23 08:56:55 +05:30
|
|
|
Relationship.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
RelImage.py\
|
|
|
|
RelLib.py\
|
|
|
|
Report.py\
|
|
|
|
SelectChild.py\
|
|
|
|
sort.py\
|
|
|
|
soundex.py\
|
|
|
|
Sources.py\
|
|
|
|
SourceView.py\
|
|
|
|
SpreadSheetDoc.py\
|
|
|
|
StartupDialog.py\
|
|
|
|
StyleEditor.py\
|
|
|
|
SubstKeywords.py\
|
|
|
|
TarFile.py\
|
|
|
|
TextDoc.py\
|
|
|
|
UrlEdit.py\
|
|
|
|
Utils.py\
|
|
|
|
VersionControl.py\
|
|
|
|
Witness.py\
|
2003-07-08 19:40:32 +05:30
|
|
|
WriteXML.py\
|
|
|
|
SelectPerson.py
|
2003-03-07 07:51:18 +05:30
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
|
2003-05-23 09:46:01 +05:30
|
|
|
# Could use GNU make's ':=' syntax for nice wildcard use.
|
2002-10-20 19:55:16 +05:30
|
|
|
# If not using GNU make, then list all files individually
|
2003-05-23 09:46:01 +05:30
|
|
|
# The latter is more portable and POSIX-friendly :)
|
2003-03-07 07:51:18 +05:30
|
|
|
GLADEFILES = \
|
|
|
|
dialog.glade\
|
|
|
|
edit_person.glade\
|
|
|
|
errdialogs.glade\
|
|
|
|
gramps.glade\
|
|
|
|
imagesel.glade\
|
|
|
|
marriage.glade\
|
|
|
|
mergedata.glade\
|
|
|
|
places.glade\
|
|
|
|
plugins.glade\
|
|
|
|
preferences.glade\
|
|
|
|
revision.glade\
|
|
|
|
rule.glade\
|
|
|
|
srcsel.glade\
|
2003-07-08 19:40:32 +05:30
|
|
|
styles.glade\
|
|
|
|
choose.glade
|
2003-03-07 07:51:18 +05:30
|
|
|
|
|
|
|
|
2003-01-31 10:28:24 +05:30
|
|
|
GRAPHICS = \
|
|
|
|
bad.png\
|
|
|
|
caution.png\
|
|
|
|
edit.png\
|
|
|
|
family48.png\
|
|
|
|
good.png\
|
|
|
|
gramps.png\
|
|
|
|
gramps.xpm\
|
|
|
|
logo.png\
|
|
|
|
media.png\
|
|
|
|
pedigree.xpm\
|
|
|
|
people48.png\
|
|
|
|
people.xpm\
|
|
|
|
place.png\
|
|
|
|
sources.png\
|
|
|
|
splash.jpg
|
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
# Other stuff that we need to install
|
2003-05-23 09:46:01 +05:30
|
|
|
dist_pkgdata_DATA = $(GLADEFILES) $(GRAPHICS) gramps.desktop
|
|
|
|
nodist_pkgdata_DATA = grampslib.so $(INTLLIBS)
|
2002-10-20 19:55:16 +05:30
|
|
|
|
2003-05-23 09:46:01 +05:30
|
|
|
EXTRA_DIST = grampslib.i intl.c grampslib_wrap.c
|
2002-10-20 19:55:16 +05:30
|
|
|
subdir = src
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
|
|
CONFIG_CLEAN_FILES = const.py
|
2003-05-23 09:46:01 +05:30
|
|
|
DIST_SOURCES =
|
2002-10-20 19:55:16 +05:30
|
|
|
py_compile = $(top_srcdir)/py-compile
|
2003-05-23 09:46:01 +05:30
|
|
|
DATA = $(dist_pkgdata_DATA) $(nodist_pkgdata_DATA)
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
|
2003-08-13 09:58:53 +05:30
|
|
|
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
|
|
|
uninstall-info-recursive all-recursive install-data-recursive \
|
|
|
|
install-exec-recursive installdirs-recursive install-recursive \
|
|
|
|
uninstall-recursive check-recursive installcheck-recursive
|
2002-10-20 19:55:16 +05:30
|
|
|
DIST_COMMON = README $(dist_pkgdata_DATA) $(pkgpython_PYTHON) AUTHORS \
|
2003-06-16 10:27:25 +05:30
|
|
|
ChangeLog Makefile.am Makefile.in NEWS const.py.in
|
2002-10-20 19:55:16 +05:30
|
|
|
DIST_SUBDIRS = $(SUBDIRS)
|
|
|
|
all: all-recursive
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
|
|
cd $(top_srcdir) && \
|
|
|
|
$(AUTOMAKE) --gnu src/Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
|
|
|
const.py: $(top_builddir)/config.status const.py.in
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
|
|
|
uninstall-info-am:
|
|
|
|
pkgpythonPYTHON_INSTALL = $(INSTALL_DATA)
|
|
|
|
install-pkgpythonPYTHON: $(pkgpython_PYTHON)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgpythondir)
|
|
|
|
@list='$(pkgpython_PYTHON)'; dlist=''; for p in $$list; do\
|
2003-08-13 09:58:53 +05:30
|
|
|
if test -f $(srcdir)/$$p; then \
|
2002-10-20 19:55:16 +05:30
|
|
|
d=`echo "$$p" | sed -e 's,^.*/,,'`; \
|
|
|
|
dlist="$$dlist $$d"; \
|
2003-08-13 09:58:53 +05:30
|
|
|
echo " $(pkgpythonPYTHON_INSTALL) $(srcdir)/$$p $(DESTDIR)$(pkgpythondir)/$$d"; \
|
|
|
|
$(pkgpythonPYTHON_INSTALL) $(srcdir)/$$p $(DESTDIR)$(pkgpythondir)/$$d; \
|
2002-10-20 19:55:16 +05:30
|
|
|
else :; fi; \
|
|
|
|
done; \
|
|
|
|
PYTHON=$(PYTHON) $(py_compile) --basedir $(DESTDIR)$(pkgpythondir) $$dlist
|
|
|
|
|
|
|
|
uninstall-pkgpythonPYTHON:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
list='$(pkgpython_PYTHON)'; for p in $$list; do \
|
|
|
|
d=`echo "$$p" | sed -e 's,^.*/,,'`; \
|
|
|
|
rm -f $(DESTDIR)$(pkgpythondir)/$$d; \
|
|
|
|
rm -f $(DESTDIR)$(pkgpythondir)/$${d}c; \
|
|
|
|
rm -f $(DESTDIR)$(pkgpythondir)/$${d}o; \
|
|
|
|
done
|
|
|
|
dist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
|
|
|
|
install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
|
|
|
@list='$(dist_pkgdata_DATA)'; for p in $$list; do \
|
|
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
|
|
|
echo " $(dist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
|
|
$(dist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-dist_pkgdataDATA:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
@list='$(dist_pkgdata_DATA)'; for p in $$list; do \
|
|
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
|
|
|
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
|
|
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
|
|
|
done
|
2003-05-23 09:46:01 +05:30
|
|
|
nodist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
|
|
|
|
install-nodist_pkgdataDATA: $(nodist_pkgdata_DATA)
|
2002-10-20 19:55:16 +05:30
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
2003-05-23 09:46:01 +05:30
|
|
|
@list='$(nodist_pkgdata_DATA)'; for p in $$list; do \
|
2002-10-20 19:55:16 +05:30
|
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
2003-05-23 09:46:01 +05:30
|
|
|
echo " $(nodist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
|
|
$(nodist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
2002-10-20 19:55:16 +05:30
|
|
|
done
|
|
|
|
|
2003-05-23 09:46:01 +05:30
|
|
|
uninstall-nodist_pkgdataDATA:
|
2002-10-20 19:55:16 +05:30
|
|
|
@$(NORMAL_UNINSTALL)
|
2003-05-23 09:46:01 +05:30
|
|
|
@list='$(nodist_pkgdata_DATA)'; for p in $$list; do \
|
2002-10-20 19:55:16 +05:30
|
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
|
|
|
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
|
|
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
|
|
|
done
|
|
|
|
|
|
|
|
# This directory's subdirectories are mostly independent; you can cd
|
|
|
|
# into them and run `make' without going through this Makefile.
|
|
|
|
# To change the values of `make' variables: instead of editing Makefiles,
|
|
|
|
# (1) if the variable is set in `config.status', edit `config.status'
|
|
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
|
|
|
$(RECURSIVE_TARGETS):
|
|
|
|
@set fnord $$MAKEFLAGS; amf=$$2; \
|
|
|
|
dot_seen=no; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
dot_seen=yes; \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
|
|
done; \
|
|
|
|
if test "$$dot_seen" = "no"; then \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
|
|
fi; test -z "$$fail"
|
|
|
|
|
|
|
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
|
|
|
maintainer-clean-recursive:
|
|
|
|
@set fnord $$MAKEFLAGS; amf=$$2; \
|
|
|
|
dot_seen=no; \
|
|
|
|
case "$@" in \
|
|
|
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
|
|
|
*) list='$(SUBDIRS)' ;; \
|
|
|
|
esac; \
|
|
|
|
rev=''; for subdir in $$list; do \
|
|
|
|
if test "$$subdir" = "."; then :; else \
|
|
|
|
rev="$$subdir $$rev"; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
|
|
|
rev="$$rev ."; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
for subdir in $$rev; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
|
|
done && test -z "$$fail"
|
|
|
|
tags-recursive:
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
|
|
done
|
|
|
|
|
|
|
|
ETAGS = etags
|
|
|
|
ETAGSFLAGS =
|
|
|
|
|
|
|
|
tags: TAGS
|
|
|
|
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
|
|
unique=`for i in $$list; do \
|
|
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
|
|
done | \
|
|
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
mkid -fID $$unique
|
|
|
|
|
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
|
|
$(TAGS_FILES) $(LISP)
|
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
if test "$$subdir" = .; then :; else \
|
2003-08-13 09:58:53 +05:30
|
|
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
2002-10-20 19:55:16 +05:30
|
|
|
fi; \
|
|
|
|
done; \
|
|
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
|
|
unique=`for i in $$list; do \
|
|
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
|
|
done | \
|
|
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
|
|
|
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
|
$$tags $$unique
|
|
|
|
|
|
|
|
GTAGS:
|
|
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
|
|
&& cd $(top_srcdir) \
|
|
|
|
&& gtags -i $(GTAGS_ARGS) $$here
|
|
|
|
|
|
|
|
distclean-tags:
|
2003-08-13 09:58:53 +05:30
|
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
2002-10-20 19:55:16 +05:30
|
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
|
|
|
|
top_distdir = ..
|
|
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
|
|
|
|
|
|
|
distdir: $(DISTFILES)
|
2003-08-13 09:58:53 +05:30
|
|
|
@list='$(DISTFILES)'; for file in $$list; do \
|
2002-10-20 19:55:16 +05:30
|
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
|
|
|
dir="/$$dir"; \
|
|
|
|
$(mkinstalldirs) "$(distdir)$$dir"; \
|
|
|
|
else \
|
|
|
|
dir=''; \
|
|
|
|
fi; \
|
|
|
|
if test -d $$d/$$file; then \
|
|
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
|
|
fi; \
|
|
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|
|
|| exit 1; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
if test "$$subdir" = .; then :; else \
|
|
|
|
test -d $(distdir)/$$subdir \
|
|
|
|
|| mkdir $(distdir)/$$subdir \
|
|
|
|
|| exit 1; \
|
|
|
|
(cd $$subdir && \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) \
|
|
|
|
top_distdir="$(top_distdir)" \
|
|
|
|
distdir=../$(distdir)/$$subdir \
|
|
|
|
distdir) \
|
|
|
|
|| exit 1; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
check-am: all-am
|
|
|
|
check: check-recursive
|
2003-05-23 09:46:01 +05:30
|
|
|
all-am: Makefile $(DATA) all-local
|
2002-10-20 19:55:16 +05:30
|
|
|
installdirs: installdirs-recursive
|
|
|
|
installdirs-am:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgpythondir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(pkgdatadir)
|
|
|
|
|
|
|
|
install: install-recursive
|
|
|
|
install-exec: install-exec-recursive
|
|
|
|
install-data: install-data-recursive
|
|
|
|
uninstall: uninstall-recursive
|
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
|
|
|
|
installcheck: installcheck-recursive
|
|
|
|
install-strip:
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
|
|
INSTALL_STRIP_FLAG=-s \
|
|
|
|
`test -z '$(STRIP)' || \
|
|
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
|
|
|
mostlyclean-generic:
|
|
|
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
|
|
|
|
distclean-generic:
|
|
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
|
|
|
@echo "This command is intended for maintainers to use"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
clean: clean-recursive
|
|
|
|
|
|
|
|
clean-am: clean-generic mostlyclean-am
|
|
|
|
|
|
|
|
distclean: distclean-recursive
|
|
|
|
|
|
|
|
distclean-am: clean-am distclean-generic distclean-tags
|
|
|
|
|
|
|
|
dvi: dvi-recursive
|
|
|
|
|
|
|
|
dvi-am:
|
|
|
|
|
|
|
|
info: info-recursive
|
|
|
|
|
|
|
|
info-am:
|
|
|
|
|
|
|
|
install-data-am: install-data-local install-dist_pkgdataDATA \
|
2003-05-23 09:46:01 +05:30
|
|
|
install-nodist_pkgdataDATA install-pkgpythonPYTHON
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
install-exec-am:
|
|
|
|
|
|
|
|
install-info: install-info-recursive
|
|
|
|
|
|
|
|
install-man:
|
|
|
|
|
|
|
|
installcheck-am:
|
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-recursive
|
|
|
|
|
|
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
|
|
|
|
mostlyclean: mostlyclean-recursive
|
|
|
|
|
|
|
|
mostlyclean-am: mostlyclean-generic
|
|
|
|
|
|
|
|
uninstall-am: uninstall-dist_pkgdataDATA uninstall-info-am \
|
2003-05-23 09:46:01 +05:30
|
|
|
uninstall-local uninstall-nodist_pkgdataDATA \
|
|
|
|
uninstall-pkgpythonPYTHON
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
uninstall-info: uninstall-info-recursive
|
|
|
|
|
2003-08-13 09:58:53 +05:30
|
|
|
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
|
|
|
|
clean clean-generic clean-recursive distclean distclean-generic \
|
|
|
|
distclean-recursive distclean-tags distdir dvi dvi-am \
|
|
|
|
dvi-recursive info info-am info-recursive install install-am \
|
|
|
|
install-data install-data-am install-data-local \
|
|
|
|
install-data-recursive install-dist_pkgdataDATA install-exec \
|
|
|
|
install-exec-am install-exec-recursive install-info \
|
|
|
|
install-info-am install-info-recursive install-man \
|
|
|
|
install-nodist_pkgdataDATA install-pkgpythonPYTHON \
|
|
|
|
install-recursive install-strip installcheck installcheck-am \
|
|
|
|
installdirs installdirs-am installdirs-recursive \
|
|
|
|
maintainer-clean maintainer-clean-generic \
|
2003-05-23 09:46:01 +05:30
|
|
|
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
2003-08-13 09:58:53 +05:30
|
|
|
mostlyclean-recursive tags tags-recursive uninstall \
|
|
|
|
uninstall-am uninstall-dist_pkgdataDATA uninstall-info-am \
|
2003-05-23 09:46:01 +05:30
|
|
|
uninstall-info-recursive uninstall-local \
|
|
|
|
uninstall-nodist_pkgdataDATA uninstall-pkgpythonPYTHON \
|
2002-10-20 19:55:16 +05:30
|
|
|
uninstall-recursive
|
|
|
|
|
|
|
|
|
2003-05-23 09:46:01 +05:30
|
|
|
all-local: $(INTLLIBS) grampslib.so
|
2002-10-20 19:55:16 +05:30
|
|
|
|
2003-05-23 09:46:01 +05:30
|
|
|
# These can probably be done in a better or more elegant/generic way
|
2002-10-20 19:55:16 +05:30
|
|
|
# eventually (libtool?), but this works.
|
2003-05-23 09:46:01 +05:30
|
|
|
intl22.so: $(srcdir)/intl.c
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) @P22_INCLUDES@ -DVER22 -o $@ $(srcdir)/intl.c
|
2002-10-20 19:55:16 +05:30
|
|
|
|
2003-05-23 09:46:01 +05:30
|
|
|
grampslib.so: $(srcdir)/grampslib_wrap.c
|
|
|
|
$(CC) $(CFLAGS) @P22_INCLUDES@ -o $@ $(srcdir)/grampslib_wrap.c $(LDFLAGS)
|
2002-10-25 10:22:51 +05:30
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
# In principle the following rule slightly violates the automake/autoconf
|
|
|
|
# spirit of keeping each subdirectory as a separate entity unto itself.
|
|
|
|
# But, since the template depends on everything from here, we allow this
|
|
|
|
# one exception.
|
2003-05-23 09:46:01 +05:30
|
|
|
# Build po/template.po.
|
|
|
|
.PHONY: trans
|
|
|
|
trans:
|
2002-10-20 19:55:16 +05:30
|
|
|
./build_po
|
|
|
|
|
2003-05-23 09:46:01 +05:30
|
|
|
pycheck:
|
|
|
|
for d in $(SUBDIRS) ; do \
|
|
|
|
(cd $$d; make pycheck); \
|
|
|
|
done;
|
2003-03-08 11:29:20 +05:30
|
|
|
pychecker $(pkgpython_PYTHON)
|
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
install-data-local:
|
2003-05-23 09:46:01 +05:30
|
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/pixmaps
|
|
|
|
$(INSTALL_DATA) $(srcdir)/gramps.png $(DESTDIR)$(prefix)/share/pixmaps
|
|
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/gnome/apps/Applications
|
|
|
|
$(INSTALL_DATA) $(srcdir)/gramps.desktop $(DESTDIR)$(prefix)/share/gnome/apps/Applications
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
uninstall-local:
|
2003-05-23 09:46:01 +05:30
|
|
|
-rm $(DESTDIR)$(prefix)/share/pixmaps/gramps.png
|
|
|
|
-rm $(DESTDIR)$(prefix)/share/gnome/apps/Applications/gramps.desktop
|
2002-10-20 19:55:16 +05:30
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
|
.NOEXPORT:
|