SHARED_LIBS = -lxslt -lgdome -lglib -lxml2 -lmlgdome
BYTE_STUFF = $(ARCHIVE).cma $(INIT).cmo
NATIVE_STUFF = $(ARCHIVE).cmxa $(ARCHIVE).a $(INIT).cmx
+BYTE_INSTALL_STUFF = \
+ i_gdome_xslt.cmi gdome_xslt.cmi gdome_xslt.mli $(ARCHIVE).cma \
+ $(INIT).cmi $(INIT).cmo $(INIT).mli $(DLL) META
+NATIVE_INSTALL_STUFF = $(ARCHIVE).a $(ARCHIVE).cmxa $(INIT).cmx $(INIT).o
EXTRA_DIST = \
META.in gdome_xslt.ml gdome_xslt.mli \
libmlgdome2_xslt_la_SOURCES = ml_gdome_xslt.c
if HAVE_OCAMLOPT_COND
-install-data-local: \
- gdome_xslt.cmi gdome_xslt.mli $(ARCHIVE).cma \
- $(INIT).cmi $(INIT).cmo $(INIT).mli $(DLL) META \
- $(ARCHIVE).a $(ARCHIVE).cmxa $(INIT).cmx $(INIT).o
+install-data-local: $(BYTE_INSTALL_STUFF) $(NATIVE_INSTALL_STUFF)
else
-install-data-local: \
- gdome_xslt.cmi gdome_xslt.mli $(ARCHIVE).cma \
- $(INIT).cmi $(INIT).cmo $(INIT).mli $(DLL) META
+install-data-local: $(BYTE_INSTALL_STUFF)
endif
$(mkinstalldirs) $(OCAMLSTDLIBDIR) $(OCAMLSTUBDIR)
chmod -x $(DLL)