CMI_S = $(MODULES:%=%.cmi)
CMO_S = $(MODULES:%=%.cmo)
CMX_S = $(MODULES:%=%.cmx)
-O_S = ml_mathml_editor.o c_mathml_editor.o
+O_S = .libs/ml_mathml_editor.o .libs/c_mathml_editor.o
LO_S = $(O_S:%.o=%.lo)
SHARED_LIBS = $(GMETADOM_LIBS) $(GDOMEXSLT_LIBS) -lmlgdome2-xslt -lmlgdome -lstdc++ -L$(top_builddir)/src/.libs/ -leditex
BYTE_STUFF = i_mathml_editor.cmi mathml_editor.cmi $(ARCHIVE).cma $(DLL) lib$(ARCHIVE).a
$(ARCHIVE).cmxa: $(CMX_S)
$(OCAMLMKLIB) -o $(ARCHIVE) -L@OCAMLSTUBDIR@ $(CMX_S) $(SHARED_LIBS)
-# use .lo for ocamlmklib
$(DLL) $(ARCHIVE).a: $(O_S)
$(OCAMLMKLIB) -o $(ARCHIVE) -L@OCAMLSTUBDIR@ $(SHARED_LIBS) $(O_S)