lib_LTLIBRARIES = libgdome_xslt_cpp_smart.la
+libgdome_xslt_cpp_smart_la_LIBADD = $(top_builddir)/C/gdome_xslt/libgdome_xslt.la
+
libgdome_xslt_cpp_smart_la_LDFLAGS = -version-info @VERSION_INFO@
libgdome_xslt_cpp_smart_la_SOURCES = \
- GdomeSmartDOMXSLTStylesheet.cc \
- gdome_xslt.c
+ GdomeSmartDOMXSLTStylesheet.cc
pkginclude_HEADERS = \
GdomeSmartDOMXSLTStylesheet.hh \
$(GMETADOM_CFLAGS) \
$(LIBXSLT_CFLAGS) \
-I$(top_srcdir) \
- -I$(top_srcdir)/../C/gdome_xslt
-
-gdome_xslt.c: $(top_srcdir)/../C/gdome_xslt/gdome_xslt.c
- ln -s $< $@
-
+ -I$(top_srcdir)/C/gdome_xslt
LDADDS = \
$(GMETADOM_LIBS) \
$(LIBXSLT_LIBS) \
- $(top_builddir)/gdome_xslt/.libs/libgdome_xslt_cpp_smart.a
+ $(top_builddir)/C++/gdome_xslt/libgdome_xslt_cpp_smart.la
test_LDADD = $(LDADDS)
INCLUDES = \
$(GMETADOM_CFLAGS) \
$(LIBXSLT_CFLAGS) \
- -I$(top_srcdir)/gdome_xslt \
- -I$(top_srcdir)/../C/gdome_xslt
+ -I$(top_srcdir)/C/gdome_xslt \
+ -I$(top_srcdir)/C++/gdome_xslt
pkgincludedir = $(includedir)/gdome2-xslt
top_builddir = ../..
-ACLOCAL = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run aclocal
-AUTOCONF = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run autoconf
-AUTOMAKE = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run automake
-AUTOHEADER = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run autoheader
+ACLOCAL = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run aclocal
+AUTOCONF = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run autoconf
+AUTOMAKE = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run automake
+AUTOHEADER = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run autoheader
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
POST_UNINSTALL = :
host_alias =
host_triplet = i686-pc-linux-gnu
-AMTAR = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run tar
+AMTAR = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run tar
AS = @AS@
AWK = mawk
CC = gcc
DLLTOOL = @DLLTOOL@
ECHO = echo
EXEEXT =
-GDOME_CFLAGS = -I/home/luca/Local/include -I/home/luca/Local/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/home/luca/Local/include/libxml2
-GDOME_LIBS = -L/home/luca/Local/lib -L/usr/lib -lgdome -lglib -lxml2 -lz -lm
-GMETADOM_CFLAGS = -I/home/luca/Local/include/gmetadom/gdome_cpp_smart -I/home/luca/Local/include -I/home/luca/Local/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/home/luca/Local/include/libxml2
-GMETADOM_LIBS = -L/home/luca/Local/lib -lgmetadom_gdome_cpp_smart -L/home/luca/Local/lib -L/usr/lib -lgdome -lglib -lxml2 -lz -lm
+GDOME_CFLAGS = -I/usr/include -I/usr/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libxml2/libxml -I/usr/include/libxml2
+GDOME_LIBS = -L/usr/lib -lgdome -lglib -lxml2
+GMETADOM_CFLAGS = -I/home/lpadovan/local/include/gmetadom/gdome_cpp_smart -I/usr/include -I/usr/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libxml2/libxml -I/usr/include/libxml2
+GMETADOM_LIBS = -L/home/lpadovan/local/lib -lgmetadom_gdome_cpp_smart -L/usr/lib -lgdome -lglib -lxml2
HAVE_OCAMLC = yes
HAVE_OCAMLFIND = yes
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LIBTOOL = $(SHELL) $(top_builddir)/libtool
-LIBXSLT_CFLAGS = -I/home/luca/Local/include/libxml2
+LIBXSLT_CFLAGS = -I/usr/include/libxml2/libxml -I/usr/include/libxml2
LIBXSLT_LIBS = -L/usr/lib -lxslt -lxml2 -lm
LN_S = ln -s
OBJDUMP = @OBJDUMP@
VERSION_INFO = 0:3:0
am__include = include
am__quote =
-install_sh = /home/luca/Projects/helm/DEVEL/gdome_xslt/install-sh
+install_sh = /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/install-sh
lib_LTLIBRARIES = libgdome_xslt.la
pkgincludedir = $(includedir)/gdome2-xslt
top_builddir = ../..
-ACLOCAL = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run aclocal
-AUTOCONF = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run autoconf
-AUTOMAKE = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run automake
-AUTOHEADER = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run autoheader
+ACLOCAL = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run aclocal
+AUTOCONF = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run autoconf
+AUTOMAKE = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run automake
+AUTOHEADER = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run autoheader
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
POST_UNINSTALL = :
host_alias =
host_triplet = i686-pc-linux-gnu
-AMTAR = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run tar
+AMTAR = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run tar
AS = @AS@
AWK = mawk
CC = gcc
DLLTOOL = @DLLTOOL@
ECHO = echo
EXEEXT =
-GDOME_CFLAGS = -I/home/luca/Local/include -I/home/luca/Local/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/home/luca/Local/include/libxml2
-GDOME_LIBS = -L/home/luca/Local/lib -L/usr/lib -lgdome -lglib -lxml2 -lz -lm
-GMETADOM_CFLAGS = -I/home/luca/Local/include/gmetadom/gdome_cpp_smart -I/home/luca/Local/include -I/home/luca/Local/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/home/luca/Local/include/libxml2
-GMETADOM_LIBS = -L/home/luca/Local/lib -lgmetadom_gdome_cpp_smart -L/home/luca/Local/lib -L/usr/lib -lgdome -lglib -lxml2 -lz -lm
+GDOME_CFLAGS = -I/usr/include -I/usr/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libxml2/libxml -I/usr/include/libxml2
+GDOME_LIBS = -L/usr/lib -lgdome -lglib -lxml2
+GMETADOM_CFLAGS = -I/home/lpadovan/local/include/gmetadom/gdome_cpp_smart -I/usr/include -I/usr/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libxml2/libxml -I/usr/include/libxml2
+GMETADOM_LIBS = -L/home/lpadovan/local/lib -lgmetadom_gdome_cpp_smart -L/usr/lib -lgdome -lglib -lxml2
HAVE_OCAMLC = yes
HAVE_OCAMLFIND = yes
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LIBTOOL = $(SHELL) $(top_builddir)/libtool
-LIBXSLT_CFLAGS = -I/home/luca/Local/include/libxml2
+LIBXSLT_CFLAGS = -I/usr/include/libxml2/libxml -I/usr/include/libxml2
LIBXSLT_LIBS = -L/usr/lib -lxslt -lxml2 -lm
LN_S = ln -s
OBJDUMP = @OBJDUMP@
VERSION_INFO = 0:3:0
am__include = include
am__quote =
-install_sh = /home/luca/Projects/helm/DEVEL/gdome_xslt/install-sh
+install_sh = /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/install-sh
noinst_PROGRAMS = test
test_SOURCES = test.c
-LDADDS = $(GDOME_LIBS) $(LIBXSLT_LIBS)
+LDADDS = \
+ $(GDOME_LIBS) \
+ $(LIBXSLT_LIBS) \
+ $(top_builddir)/C/gdome_xslt/libgdome_xslt.la
+
test_LDADD = $(LDADDS)
INCLUDES = \
$(GDOME_CFLAGS) \
$(LIBXSLT_CFLAGS) \
- -I$(top_srcdir)/gdome_xslt
+ -I$(top_srcdir)/C/gdome_xslt
subdir = C/test
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
am_test_OBJECTS = test.$(OBJEXT)
test_OBJECTS = $(am_test_OBJECTS)
-test_DEPENDENCIES =
+test_DEPENDENCIES = $(top_builddir)/C/gdome_xslt/libgdome_xslt.la
test_LDFLAGS =
DEFS = -DHAVE_CONFIG_H
test_SOURCES = test.c
-LDADDS = $(GDOME_LIBS) $(LIBXSLT_LIBS)
+LDADDS = \
+ $(GDOME_LIBS) \
+ $(LIBXSLT_LIBS) \
+ $(top_builddir)/C/gdome_xslt/libgdome_xslt.la
test_LDADD = $(LDADDS)
INCLUDES = \
$(GDOME_CFLAGS) \
$(LIBXSLT_CFLAGS) \
- -I$(top_srcdir)/gdome_xslt
+ -I$(top_srcdir)/C/gdome_xslt
pkgincludedir = $(includedir)/gdome2-xslt
top_builddir = .
-ACLOCAL = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run aclocal
-AUTOCONF = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run autoconf
-AUTOMAKE = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run automake
-AUTOHEADER = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run autoheader
+ACLOCAL = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run aclocal
+AUTOCONF = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run autoconf
+AUTOMAKE = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run automake
+AUTOHEADER = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run autoheader
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
POST_UNINSTALL = :
host_alias =
host_triplet = i686-pc-linux-gnu
-AMTAR = ${SHELL} /home/luca/Projects/helm/DEVEL/gdome_xslt/missing --run tar
+AMTAR = ${SHELL} /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/missing --run tar
AS = @AS@
AWK = mawk
CC = gcc
DLLTOOL = @DLLTOOL@
ECHO = echo
EXEEXT =
-GDOME_CFLAGS = -I/home/luca/Local/include -I/home/luca/Local/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/home/luca/Local/include/libxml2
-GDOME_LIBS = -L/home/luca/Local/lib -L/usr/lib -lgdome -lglib -lxml2 -lz -lm
-GMETADOM_CFLAGS = -I/home/luca/Local/include/gmetadom/gdome_cpp_smart -I/home/luca/Local/include -I/home/luca/Local/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/home/luca/Local/include/libxml2
-GMETADOM_LIBS = -L/home/luca/Local/lib -lgmetadom_gdome_cpp_smart -L/home/luca/Local/lib -L/usr/lib -lgdome -lglib -lxml2 -lz -lm
+GDOME_CFLAGS = -I/usr/include -I/usr/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libxml2/libxml -I/usr/include/libxml2
+GDOME_LIBS = -L/usr/lib -lgdome -lglib -lxml2
+GMETADOM_CFLAGS = -I/home/lpadovan/local/include/gmetadom/gdome_cpp_smart -I/usr/include -I/usr/include/libgdome -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libxml2/libxml -I/usr/include/libxml2
+GMETADOM_LIBS = -L/home/lpadovan/local/lib -lgmetadom_gdome_cpp_smart -L/usr/lib -lgdome -lglib -lxml2
HAVE_OCAMLC = yes
HAVE_OCAMLFIND = yes
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LIBTOOL = $(SHELL) $(top_builddir)/libtool
-LIBXSLT_CFLAGS = -I/home/luca/Local/include/libxml2
+LIBXSLT_CFLAGS = -I/usr/include/libxml2/libxml -I/usr/include/libxml2
LIBXSLT_LIBS = -L/usr/lib -lxslt -lxml2 -lm
LN_S = ln -s
OBJDUMP = @OBJDUMP@
VERSION_INFO = 0:3:0
am__include = include
am__quote =
-install_sh = /home/luca/Projects/helm/DEVEL/gdome_xslt/install-sh
+install_sh = /home/lpadovan/Projects/helm/DEVEL/gdome_xslt/install-sh
-EXTRA_DIST = BUGS LICENSE aclocal.m4
+EXTRA_DIST = BUGS LICENSE aclocal.m4 debian/
-SUBDIRS = C C++ ocaml test_files debian
+SUBDIRS = C C++ ocaml test_files
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES = ocaml/Makefile ocaml/gdome_xslt/Makefile \
- ocaml/test/Makefile test_files/Makefile debian/Makefile
+CONFIG_CLEAN_FILES = ocaml/gdome_xslt/META ocaml/gdome_xslt/Makefile \
+ ocaml/test/Makefile gdome_xslt_cpp_smart-config
DIST_SOURCES =
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
Makefile.am Makefile.in NEWS aclocal.m4 config.guess \
config.h.in config.sub configure configure.ac depcomp \
- install-sh ltmain.sh missing mkinstalldirs
+ gdome_xslt_cpp_smart-config.in install-sh ltmain.sh missing \
+ mkinstalldirs
DIST_SUBDIRS = $(SUBDIRS)
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
distclean-hdr:
-rm -f config.h
-ocaml/Makefile: $(top_builddir)/config.status $(top_srcdir)/ocaml/Makefile.in
+ocaml/gdome_xslt/META: $(top_builddir)/config.status $(top_srcdir)/ocaml/gdome_xslt/META.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
ocaml/gdome_xslt/Makefile: $(top_builddir)/config.status $(top_srcdir)/ocaml/gdome_xslt/Makefile.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
ocaml/test/Makefile: $(top_builddir)/config.status $(top_srcdir)/ocaml/test/Makefile.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
-test_files/Makefile: $(top_builddir)/config.status $(top_srcdir)/test_files/Makefile.in
- cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
-debian/Makefile: $(top_builddir)/config.status $(top_srcdir)/debian/Makefile.in
+gdome_xslt_cpp_smart-config: $(top_builddir)/config.status gdome_xslt_cpp_smart-config.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
uninstall-info-am:
distdir: $(DISTFILES)
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
mkdir $(distdir)
- $(mkinstalldirs) $(distdir)/C++ $(distdir)/debian $(distdir)/ocaml $(distdir)/ocaml/gdome_xslt $(distdir)/ocaml/test $(distdir)/test_files
+ $(mkinstalldirs) $(distdir)/. $(distdir)/ocaml/gdome_xslt $(distdir)/ocaml/test
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
-EXTRA_DIST = BUGS LICENSE aclocal.m4
+EXTRA_DIST = BUGS LICENSE aclocal.m4 debian/
-SUBDIRS = C C++ ocaml test_files debian
+SUBDIRS = C C++ ocaml test_files
VERSION_INFO=`echo $VERSION | awk -F. '{ printf "%d:%d:%d", $1+$2, $3, $2 }'`
AC_SUBST(VERSION_INFO)
+AC_ARG_WITH(
+ gmetadom-prefix,
+ [ --with-gmetadom-prefix=PFX prefix dir where gmetadom is installed],
+ [
+ with_gmetadom_prefix=yes
+ GMETADOM_PREFIX=$withval
+ ],
+ [
+ with_gmetadom_prefix=no
+ ]
+)
+
+AC_ARG_WITH(
+ gdome-prefix,
+ [ --with-gdome-prefix=PFX prefix dir where gdome is installed],
+ [
+ with_gdome_prefix=yes
+ GDOME_PREFIX=$withval
+ ],
+ [
+ with_gdome_prefix=no
+ ]
+)
+
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
if ${GDOME_PREFIX}/bin/$GDOME_CONFIG --version > /dev/null 2>&1
then
GDOME_CONFIG=${GDOME_PREFIX}/bin/$GDOME_CONFIG
- elif ! $GDOME_CONFIG --version > /dev/null 2>&1
- then
+ elif ! $GDOME_CONFIG --version > /dev/null 2>&1
+ then
AC_MSG_ERROR(Could not find Gdome2 anywhere (see config.log for details).)
fi
fi
C++/gdome_xslt/Makefile
C++/test/Makefile
C++/Makefile
- C++/gdome_xslt_cpp_smart-config
ocaml/Makefile
+ ocaml/gdome_xslt/META
ocaml/gdome_xslt/Makefile
ocaml/test/Makefile
- test_files/Makefile
- debian/Makefile])
-AC_CONFIG_COMMANDS([default],[[chmod +x C++/gdome_xslt_cpp_smart-config]],[[]])
+ gdome_xslt_cpp_smart-config
+ test_files/Makefile])
+AC_CONFIG_COMMANDS([default],[[chmod +x gdome_xslt_cpp_smart-config]],[[]])
AC_OUTPUT
opt: test.opt
test: test.ml
- $(OCAMLC) -linkpkg -o $@ $<
+ ( export OCAMLPATH=.; $(OCAMLC) -linkpkg -o $@ $< )
test.opt: test.ml
- $(OCAMLOPT) -linkpkg -o $@ $<
+ ( export OCAMLPATH=.; $(OCAMLOPT) -linkpkg -o $@ $< )
clean:
rm -f test test.opt test.cmi test.cmo text.cmx