if test -f lablgtkmathview.cmxa; then \
cp $(MLLIBS:.cma=.cmxa) $(MLLIBS:.cma=.a) \
$(INSTALLDIR); fi
+ cd minidom ; make install
lablgtkmathview.cma: $(MLOBJS)
$(LINKER) -a -custom -o $@ $(MLOBJS) $(GTKLIBS) $(GTKMATHVIEWLIBS)
+LIBDIR = /usr/lib/ocaml
+INSTALLDIR = $(LIBDIR)/lablgtk/mathview/minidom
+OBJECTS = minidom.cmi minidom.cmo minidom.cmx minidom.mli ml_minidom.h \
+ ml_minidom.o
all: test
-cclib "`xml-config --libs`" -cclib "`glib-config --libs`" \
-cclib "`gtkmathview-config --libs`"
+install:
+ if test -d $(INSTALLDIR); then : ; else mkdir -p $(INSTALLDIR); fi
+ cp $(OBJECTS) $(INSTALLDIR)
+
clean:
rm -f *.o *.cm? test test.opt