2004-01-01 23:48:29 +05:30
|
|
|
# Makefile.in generated by automake 1.7.8 from Makefile.am.
|
2002-10-20 19:55:16 +05:30
|
|
|
# @configure_input@
|
|
|
|
|
2004-01-01 23:48:29 +05:30
|
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
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@
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = ..
|
|
|
|
|
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
|
|
install_sh_SCRIPT = $(install_sh) -c
|
|
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
2004-01-01 23:48:29 +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 = :
|
2004-01-01 23:48:29 +05:30
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AMDEP_FALSE = @AMDEP_FALSE@
|
|
|
|
AMDEP_TRUE = @AMDEP_TRUE@
|
2002-10-20 19:55:16 +05:30
|
|
|
AMTAR = @AMTAR@
|
2004-01-01 23:48:29 +05:30
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
2002-10-20 19:55:16 +05:30
|
|
|
AWK = @AWK@
|
|
|
|
BINSH = @BINSH@
|
|
|
|
CC = @CC@
|
2004-01-01 23:48:29 +05:30
|
|
|
CCDEPMODE = @CCDEPMODE@
|
|
|
|
|
|
|
|
# For intl. support, how do we compile?
|
|
|
|
CFLAGS = -fPIC -shared -O @GNOMEINC@ @CFLAGS@ @CPPFLAGS@ -I@includedir@
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
CYGPATH_W = @CYGPATH_W@
|
|
|
|
DEFS = @DEFS@
|
2002-10-20 19:55:16 +05:30
|
|
|
DEPDIR = @DEPDIR@
|
2004-01-01 23:48:29 +05:30
|
|
|
ECHO_C = @ECHO_C@
|
|
|
|
ECHO_N = @ECHO_N@
|
|
|
|
ECHO_T = @ECHO_T@
|
|
|
|
EXEEXT = @EXEEXT@
|
2002-10-20 19:55:16 +05:30
|
|
|
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@
|
2003-11-13 09:55:25 +05:30
|
|
|
ICONV = @ICONV@
|
2004-01-01 23:48:29 +05:30
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
2002-10-20 19:55:16 +05:30
|
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
|
|
LANGUAGES = @LANGUAGES@
|
2004-01-01 23:48:29 +05:30
|
|
|
LDFLAGS = @GNOMELIB@ @LDFLAGS@ -L@libdir@ @LIBS@
|
|
|
|
LIBOBJS = @LIBOBJS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
2002-10-20 19:55:16 +05:30
|
|
|
MOFILES = @MOFILES@
|
2003-09-03 09:50:11 +05:30
|
|
|
MSGCONV = @MSGCONV@
|
2002-10-20 19:55:16 +05:30
|
|
|
MSGFMT = @MSGFMT@
|
2004-01-01 23:48:29 +05:30
|
|
|
OBJEXT = @OBJEXT@
|
2002-10-20 19:55:16 +05:30
|
|
|
PACKAGE = @PACKAGE@
|
2004-01-01 23:48:29 +05:30
|
|
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
|
|
PACKAGE_STRING = @PACKAGE_STRING@
|
|
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
2002-10-20 19:55:16 +05:30
|
|
|
POFILES = @POFILES@
|
|
|
|
PYTHON = @PYTHON@
|
2003-08-16 08:56:43 +05:30
|
|
|
PYTHON_CPPFLAGS = @PYTHON_CPPFLAGS@
|
2002-10-20 19:55:16 +05:30
|
|
|
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@
|
2004-01-01 23:48:29 +05:30
|
|
|
SET_MAKE = @SET_MAKE@
|
|
|
|
SHELL = @SHELL@
|
2003-03-31 09:21:01 +05:30
|
|
|
SK_CONFIG = @SK_CONFIG@
|
2002-10-20 19:55:16 +05:30
|
|
|
STRIP = @STRIP@
|
|
|
|
VERSION = @VERSION@
|
|
|
|
VERSIONSTRING = @VERSIONSTRING@
|
|
|
|
ZIP = @ZIP@
|
2004-01-01 23:48:29 +05:30
|
|
|
ac_ct_CC = @ac_ct_CC@
|
|
|
|
ac_ct_STRIP = @ac_ct_STRIP@
|
|
|
|
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
|
|
|
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
2002-10-20 19:55:16 +05:30
|
|
|
am__include = @am__include@
|
2004-01-01 23:48:29 +05:30
|
|
|
am__leading_dot = @am__leading_dot@
|
2002-10-20 19:55:16 +05:30
|
|
|
am__quote = @am__quote@
|
2004-01-01 23:48:29 +05:30
|
|
|
bindir = @bindir@
|
|
|
|
build_alias = @build_alias@
|
|
|
|
datadir = @datadir@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
host_alias = @host_alias@
|
|
|
|
includedir = @includedir@
|
|
|
|
infodir = @infodir@
|
2002-10-20 19:55:16 +05:30
|
|
|
install_sh = @install_sh@
|
2004-01-01 23:48:29 +05:30
|
|
|
libdir = @libdir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
mandir = @mandir@
|
|
|
|
oldincludedir = @oldincludedir@
|
2002-10-20 19:55:16 +05:30
|
|
|
pkgpyexecdir = @pkgpyexecdir@
|
|
|
|
pkgpythondir = @pkgpythondir@
|
2004-01-01 23:48:29 +05:30
|
|
|
prefix = @prefix@
|
|
|
|
program_transform_name = @program_transform_name@
|
2002-10-20 19:55:16 +05:30
|
|
|
pyexecdir = @pyexecdir@
|
|
|
|
pythondir = @pythondir@
|
2004-01-01 23:48:29 +05:30
|
|
|
sbindir = @sbindir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
target_alias = @target_alias@
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
# This is the src level Makefile for Gramps
|
2003-01-09 10:11:08 +05:30
|
|
|
SUBDIRS = docgen filters plugins data po calendars
|
2003-08-17 07:44:33 +05:30
|
|
|
CLEANFILES = 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\
|
2003-09-09 07:18:50 +05:30
|
|
|
BaseDoc.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
Bookmarks.py\
|
|
|
|
Calendar.py\
|
|
|
|
ChooseParents.py\
|
|
|
|
const.py\
|
|
|
|
DateEdit.py\
|
|
|
|
Date.py\
|
|
|
|
DbPrompter.py\
|
|
|
|
DisplayTrace.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\
|
|
|
|
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\
|
2003-10-13 07:25:56 +05:30
|
|
|
PeopleView.py\
|
|
|
|
PeopleStore.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
PlaceView.py\
|
|
|
|
Plugins.py\
|
|
|
|
QuestionDialog.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\
|
2003-09-13 10:28:20 +05:30
|
|
|
SelectObject.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
sort.py\
|
|
|
|
soundex.py\
|
|
|
|
Sources.py\
|
|
|
|
SourceView.py\
|
|
|
|
SpreadSheetDoc.py\
|
|
|
|
StartupDialog.py\
|
|
|
|
StyleEditor.py\
|
|
|
|
SubstKeywords.py\
|
|
|
|
TarFile.py\
|
|
|
|
UrlEdit.py\
|
|
|
|
Utils.py\
|
|
|
|
VersionControl.py\
|
|
|
|
Witness.py\
|
2003-07-08 19:40:32 +05:30
|
|
|
WriteXML.py\
|
2003-10-13 07:25:56 +05:30
|
|
|
SelectPerson.py\
|
|
|
|
ArgHandler.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\
|
2003-08-16 08:56:43 +05:30
|
|
|
splash.jpg\
|
|
|
|
tools.png
|
2003-01-31 10:28:24 +05:30
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
# Other stuff that we need to install
|
2004-01-12 09:06:24 +05:30
|
|
|
dist_pkgdata_DATA = $(GLADEFILES) $(GRAPHICS) gramps.desktop papersize.xml
|
2002-10-20 19:55:16 +05:30
|
|
|
|
2003-08-17 07:44:33 +05:30
|
|
|
EXTRA_DIST = grampslib.i grampslib_wrap.c
|
2002-10-20 19:55:16 +05:30
|
|
|
subdir = src
|
2004-01-01 23:48:29 +05:30
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
2002-10-20 19:55:16 +05:30
|
|
|
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-09-19 08:59:33 +05:30
|
|
|
DATA = $(dist_pkgdata_DATA)
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
|
2004-01-01 23:48:29 +05:30
|
|
|
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
|
|
|
|
ps-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
|
|
|
|
DIST_COMMON = $(dist_pkgdata_DATA) $(pkgpython_PYTHON) \
|
|
|
|
$(srcdir)/Makefile.in Makefile.am 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\
|
2004-01-01 23:48:29 +05:30
|
|
|
if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
|
|
|
|
if test -f $$b$$p; then \
|
2002-10-20 19:55:16 +05:30
|
|
|
d=`echo "$$p" | sed -e 's,^.*/,,'`; \
|
|
|
|
dlist="$$dlist $$d"; \
|
2004-01-01 23:48:29 +05:30
|
|
|
echo " $(pkgpythonPYTHON_INSTALL) $$b$$p $(DESTDIR)$(pkgpythondir)/$$d"; \
|
|
|
|
$(pkgpythonPYTHON_INSTALL) $$b$$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
|
|
|
|
|
|
|
|
# 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
|
2004-01-01 23:48:29 +05:30
|
|
|
ctags-recursive:
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
|
|
|
done
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
ETAGS = etags
|
|
|
|
ETAGSFLAGS =
|
|
|
|
|
2004-01-01 23:48:29 +05:30
|
|
|
CTAGS = ctags
|
|
|
|
CTAGSFLAGS =
|
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
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`; \
|
2004-01-01 23:48:29 +05:30
|
|
|
if (etags --etags-include --version) >/dev/null 2>&1; then \
|
|
|
|
include_option=--etags-include; \
|
|
|
|
else \
|
|
|
|
include_option=--include; \
|
|
|
|
fi; \
|
2002-10-20 19:55:16 +05:30
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
if test "$$subdir" = .; then :; else \
|
2004-01-01 23:48:29 +05:30
|
|
|
test -f $$subdir/TAGS && \
|
|
|
|
tags="$$tags $$include_option=$$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
|
|
|
|
|
2004-01-01 23:48:29 +05:30
|
|
|
ctags: CTAGS
|
|
|
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
|
|
$(TAGS_FILES) $(LISP)
|
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
|
|
|
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 "$(CTAGS_ARGS)$$tags$$unique" \
|
|
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|
|
|
$$tags $$unique
|
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
GTAGS:
|
|
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
|
|
&& cd $(top_srcdir) \
|
|
|
|
&& gtags -i $(GTAGS_ARGS) $$here
|
|
|
|
|
|
|
|
distclean-tags:
|
2004-01-01 23:48:29 +05:30
|
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
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)
|
2004-01-01 23:48:29 +05:30
|
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
|
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
|
|
|
list='$(DISTFILES)'; for file in $$list; do \
|
|
|
|
case $$file in \
|
|
|
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
|
|
|
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
|
|
|
esac; \
|
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:
|
2003-09-19 08:59:33 +05:30
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgpythondir) $(DESTDIR)$(pkgdatadir)
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
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:
|
2004-01-01 23:48:29 +05:30
|
|
|
-rm -f $(CONFIG_CLEAN_FILES)
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
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
|
2004-01-01 23:48:29 +05:30
|
|
|
-rm -f Makefile
|
2002-10-20 19:55:16 +05:30
|
|
|
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-09-19 08:59:33 +05:30
|
|
|
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
|
2004-01-01 23:48:29 +05:30
|
|
|
-rm -f Makefile
|
2002-10-20 19:55:16 +05:30
|
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
|
|
|
|
mostlyclean: mostlyclean-recursive
|
|
|
|
|
|
|
|
mostlyclean-am: mostlyclean-generic
|
|
|
|
|
2004-01-01 23:48:29 +05:30
|
|
|
pdf: pdf-recursive
|
|
|
|
|
|
|
|
pdf-am:
|
|
|
|
|
|
|
|
ps: ps-recursive
|
|
|
|
|
|
|
|
ps-am:
|
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
uninstall-am: uninstall-dist_pkgdataDATA uninstall-info-am \
|
2003-09-19 08:59:33 +05:30
|
|
|
uninstall-local uninstall-pkgpythonPYTHON
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
uninstall-info: uninstall-info-recursive
|
|
|
|
|
2004-01-01 23:48:29 +05:30
|
|
|
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-local check \
|
|
|
|
check-am clean clean-generic clean-recursive ctags \
|
|
|
|
ctags-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-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 \
|
2004-01-01 23:48:29 +05:30
|
|
|
mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
|
|
|
|
ps-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 \
|
2003-09-19 08:59:33 +05:30
|
|
|
uninstall-pkgpythonPYTHON uninstall-recursive
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
|
2003-08-17 07:44:33 +05:30
|
|
|
all-local: 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
|
|
|
grampslib.so: $(srcdir)/grampslib_wrap.c
|
2003-08-16 08:56:43 +05:30
|
|
|
$(CC) $(CFLAGS) $(PYTHON_CPPFLAGS) -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
|
2003-10-13 07:25:56 +05:30
|
|
|
$(INSTALL) -d $(DESTDIR)$(pkglibdir)
|
|
|
|
$(INSTALL_DATA) grampslib.so $(DESTDIR)$(pkglibdir)
|
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
|
2003-11-13 09:55:25 +05:30
|
|
|
-rm $(DESTDIR)$(pkglibdir)/grampslib.so
|
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:
|