2006-06-13 17:09:13 +02:00
|
|
|
# Makefile.am - Copyright 2005, 2006, University
|
|
|
|
# of Padova, dept. of Pure and Applied
|
|
|
|
# Mathematics
|
|
|
|
#
|
|
|
|
# This file is part of SGPEMv2.
|
|
|
|
#
|
|
|
|
# This is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# SGPEMv2 is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with SGPEMv2; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
|
|
|
|
|
|
|
|
# extra calls
|
|
|
|
.PHONY : apidox
|
|
|
|
|
|
|
|
# this should be the only recursive call
|
|
|
|
SUBDIRS = po
|
|
|
|
|
|
|
|
# directories definition
|
|
|
|
localedir = @datadir@/locale
|
|
|
|
plugindir = $(SGPEMV2_PLUGINS_DIR)
|
|
|
|
sharedir = $(plugindir)/extras/xmlsave
|
|
|
|
policiesdir = $(SGPEMV2_POLICIES_DIR)
|
|
|
|
|
|
|
|
#define empty global variables
|
|
|
|
plugin_LTLIBRARIES =
|
|
|
|
noinst_HEADERS =
|
|
|
|
EXTRA_DIST =
|
|
|
|
MAINTAINERCLEANFILES =
|
|
|
|
MOSTLYCLEANFILES =
|
|
|
|
CLEANFILES =
|
|
|
|
|
|
|
|
# ############################################################
|
|
|
|
#
|
|
|
|
# extra dist, cleanup and automake/aclocal flags
|
|
|
|
#
|
|
|
|
# ############################################################
|
|
|
|
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
|
|
|
macros = m4/compilerflags.m4 \
|
|
|
|
m4/linkingflags.m4 \
|
|
|
|
m4/sgpemv2-dirs.m4
|
|
|
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
config/config.rpath \
|
|
|
|
config/mkinstalldirs \
|
|
|
|
configure.ac \
|
|
|
|
gettext.h \
|
|
|
|
$(macros)
|
|
|
|
|
|
|
|
# ############################################################
|
|
|
|
#
|
2006-06-13 17:34:24 +02:00
|
|
|
# source : libxmlsave.la
|
2006-06-13 17:09:13 +02:00
|
|
|
#
|
|
|
|
# ############################################################
|
|
|
|
|
|
|
|
plugin_LTLIBRARIES += libxmlsave.la
|
|
|
|
|
2006-06-13 17:34:24 +02:00
|
|
|
libxmlsave_la_CPPFLAGS = \
|
2006-06-13 17:09:13 +02:00
|
|
|
-I@top_srcdir@ \
|
|
|
|
-DSHAREDIR="\"$(sharedir)\"" \
|
|
|
|
-DLOCALEDIR="\"$(localedir)\"" \
|
|
|
|
$(LIBXML2_CFLAGS) \
|
|
|
|
$(GLIBMM_CFLAGS) \
|
|
|
|
$(SGPEMV2_CFLAGS)
|
2006-06-13 17:34:24 +02:00
|
|
|
libxmlsave_la_CXXFLAGS = \
|
2006-06-13 17:09:13 +02:00
|
|
|
$(VISIB_HIDDEN)
|
2006-06-13 17:34:24 +02:00
|
|
|
libxmlsave_la_LIBADD = \
|
2006-06-13 17:09:13 +02:00
|
|
|
$(LIBXML2_LIBS) \
|
|
|
|
$(GLIBMM_LIBS) \
|
|
|
|
$(SGPEMV2_LIBS)
|
2006-06-13 17:34:24 +02:00
|
|
|
libxmlsave_la_LDFLAGS = \
|
2006-06-13 17:09:13 +02:00
|
|
|
$(LT_LDFLAGS) \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-module
|
|
|
|
|
|
|
|
# Please keep this in sorted order:
|
2006-06-13 17:34:24 +02:00
|
|
|
libxmlsave_la_SOURCES = \
|
2006-06-13 17:09:13 +02:00
|
|
|
src/hook.cc
|
|
|
|
|
|
|
|
noinst_HEADERS +=
|
|
|
|
|
|
|
|
# ############################################################
|
|
|
|
#
|
|
|
|
# check : testsuite
|
|
|
|
#
|
|
|
|
# ############################################################
|
|
|
|
|
|
|
|
if COND_TESTS
|
|
|
|
|
|
|
|
# DEJATOOL = src/testsuite/example-test.exp
|
|
|
|
|
|
|
|
#noinst_PROGRAMS = \
|
|
|
|
# src/testsuite/test-xmlsave
|
|
|
|
|
2006-06-13 17:34:24 +02:00
|
|
|
#src_testsuite_test_xml_save_CPPFLAGS = \
|
|
|
|
# -I@top_srcdir@ \
|
|
|
|
# -DSHAREDIR="\"$(sharedir)\"" \
|
|
|
|
# $(LIBXML2_CFLAGS) \
|
|
|
|
# $(GLIBMM_CFLAGS) \
|
|
|
|
# $(SGPEMV2_CFLAGS)
|
|
|
|
#src_testsuite_test_xml_save_DEPENDENCIES = \
|
|
|
|
# libxmlsave.la
|
|
|
|
#src_testsuite_test_xml_save_LDFLAGS = \
|
|
|
|
# $(SGPEMV2_LIBS) \
|
|
|
|
# $(GLIBMM_LIBS) \
|
|
|
|
# $(LIBXML2_LIBS)
|
|
|
|
#src_testsuite_test_xml_save_SOURCES = \
|
|
|
|
# src/testsuite/test-xml_save.cc
|
2006-06-13 17:09:13 +02:00
|
|
|
|
|
|
|
# Workaround an automake bug that leaves behind some files
|
|
|
|
# while it's finishing the distcheck target
|
2006-06-13 17:34:24 +02:00
|
|
|
#CLEANFILES += \
|
|
|
|
# src/testsuite/.libs/test-xml_save
|
2006-06-13 17:09:13 +02:00
|
|
|
|
|
|
|
endif #~ if COND_TESTS
|
|
|
|
|