1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-01 14:06:55 +03:00

trying to bypass libtool crazyness when compiling in my debug environment

* xsltproc/Makefile.am configure.in config.h.in: trying to
  bypass libtool crazyness when compiling in my debug environment
* libxslt/templates.c: fix a compilation problem due to recent
  libxml changes
Daniel
This commit is contained in:
Daniel Veillard
2001-10-16 09:27:50 +00:00
parent 9ed187b464
commit e74d9fef32
5 changed files with 34 additions and 12 deletions

View File

@ -2,14 +2,27 @@ INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/libxslt -I$(top_srcdir)/libexslt \
-I$(top_builddir) -I$(top_builddir)/libxslt \
-I$(top_builddir)/libexslt $(LIBXML_CFLAGS) $(CFLAGS)
bin_PROGRAMS = xsltproc
if DV_STATIC_LINK
#
# Try to bypass the braindead libtool processing of shared libs
#
all: xsltproc
DEPS = $(top_builddir)/libxslt/libxslt.la $(top_builddir)/libexslt/libexslt.la
LDADDS = -L. $(top_builddir)/libxslt/libxslt.la \
$(top_builddir)/libexslt/libexslt.la $(EXTRA_LIBS)
xsltproc: xsltproc.o ../libxslt/.libs/libxslt.a ../libexslt/.libs/libexslt.a ../../XML/.libs/libxml2.a
gcc -g -O -o xsltproc xsltproc.o ../libxslt/.libs/libxslt.a ../libexslt/.libs/libexslt.a ../../XML/.libs/libxml2.a -lz -lm
programs=
else
programs=xsltproc
endif
bin_PROGRAMS = $(programs)
xsltproc_SOURCES = xsltproc.c
xsltproc_LDFLAGS =
xsltproc_DEPENDENCIES = $(DEPS)
xsltproc_LDADD = $(LDADDS)
DEPS = $(top_builddir)/libxslt/libxslt.la $(top_builddir)/libexslt/libexslt.la
LDADDS = $(top_builddir)/libxslt/libxslt.la \
$(top_builddir)/libexslt/libexslt.la @LIBXML_LIBS@ $(EXTRA_LIBS)