From 6e8a70cf51cb8af67f30ef47f1b49fdcec72c6cd Mon Sep 17 00:00:00 2001 From: Luca Padovani Date: Sat, 4 Oct 2003 08:21:57 +0000 Subject: [PATCH] * changed version in configure.ac * gdome_xslt.c renamed into x_gdome_xslt.c otherwise there was a conflict with make rules that prevented gdome_xslt.o from being built correctly --- helm/DEVEL/gdome_xslt/configure.ac | 2 +- helm/DEVEL/gdome_xslt/ocaml/gdome_xslt/Makefile.am | 8 ++++---- helm/DEVEL/gdome_xslt/ocaml/test/Makefile.am | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/helm/DEVEL/gdome_xslt/configure.ac b/helm/DEVEL/gdome_xslt/configure.ac index 89193537a..b8c3b7f29 100644 --- a/helm/DEVEL/gdome_xslt/configure.ac +++ b/helm/DEVEL/gdome_xslt/configure.ac @@ -3,7 +3,7 @@ AC_INIT AC_CONFIG_SRCDIR([C/gdome_xslt/gdome_xslt.h]) PACKAGE=gdome2-xslt -VERSION=0.0.5 +VERSION=0.0.6 VERSION_INFO=`echo $VERSION | awk -F. '{ printf "%d:%d:%d", $1+$2, $3, $2 }'` AC_SUBST(VERSION_INFO) diff --git a/helm/DEVEL/gdome_xslt/ocaml/gdome_xslt/Makefile.am b/helm/DEVEL/gdome_xslt/ocaml/gdome_xslt/Makefile.am index d27eb4c0c..21e3954b8 100644 --- a/helm/DEVEL/gdome_xslt/ocaml/gdome_xslt/Makefile.am +++ b/helm/DEVEL/gdome_xslt/ocaml/gdome_xslt/Makefile.am @@ -12,7 +12,7 @@ OCAMLFIND = @OCAMLFIND@ OCAMLMKLIB = ocamlmklib DLL = dll$(ARCHIVE).so -BUILT_SOURCES = gdome_xslt.c +BUILT_SOURCES = x_gdome_xslt.c CLEANFILES = \ $(ARCHIVE).cma $(ARCHIVE).cmxa $(ARCHIVE).a lib$(ARCHIVE).a $(DLL) \ @@ -34,7 +34,7 @@ noinst_DATA = \ endif noinst_LTLIBRARIES = libmlgdome2-xslt.la -C_SRC = ml_gdome_xslt.c gdome_xslt.c +C_SRC = ml_gdome_xslt.c x_gdome_xslt.c libmlgdome2_xslt_la_SOURCES = $(C_SRC) O_S = $(C_SRC:%.c=%.o) @@ -43,7 +43,7 @@ CMA_DEPS = i_gdome_xslt.cmo gdome_xslt.cmo CMXA_DEPS = $(CMA_DEPS:%.cmo=%.cmx) SHARED_LIBS = $(LIBXSLT_LIBS) $(GDOME_LIBS) -lmlgdome -gdome_xslt.c: $(top_srcdir)/C/gdome_xslt/gdome_xslt.c +x_gdome_xslt.c: $(top_srcdir)/C/gdome_xslt/gdome_xslt.c cp $< $@ $(ARCHIVE).cma: $(CMA_DEPS) @@ -63,7 +63,7 @@ $(ARCHIVE).cmxa: $(CMXA_DEPS) # done # $(DLL) lib$(ARCHIVE).a: $(O_S) - $(OCAMLMKLIB) -o $(ARCHIVE) -L@OCAMLSTUBDIR@ $(O_S) $(SHARED_LIBS) + $(OCAMLMKLIB) -o $(ARCHIVE) -L@OCAMLSTUBDIR@ $(O_S) $(SHARED_LIBS) INCLUDES = $(GDOME_CFLAGS) $(MLGDOME_CFLAGS) -I/usr/include/caml -I$(top_srcdir)/C/gdome_xslt diff --git a/helm/DEVEL/gdome_xslt/ocaml/test/Makefile.am b/helm/DEVEL/gdome_xslt/ocaml/test/Makefile.am index 58be30f90..95f83fa79 100644 --- a/helm/DEVEL/gdome_xslt/ocaml/test/Makefile.am +++ b/helm/DEVEL/gdome_xslt/ocaml/test/Makefile.am @@ -19,6 +19,7 @@ endif test: test.ml $(CMA) $(INIT_CMO) $(OCAMLC) -o $@ -linkpkg $(OCAMLC_FLAGS) $(CMA) $(INIT_CMO) $< + test.opt: test.ml $(CMXA) $(INIT_CMX) $(OCAMLOPT) -o $@ -linkpkg $(OCAMLC_FLAGS) $(CMXA) $(INIT_CMX) $< -- 2.39.2