+++ /dev/null
-# $Id: Makefile.in,v 1.1 2007/08/21 12:33:40 rjones Exp $
-
-OCAMLCPACKAGES := -package extlib,unix -I ../libvirt
-OCAMLCFLAGS := -g
-OCAMLCLIBS := -linkpkg
-
-OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
-OCAMLOPTFLAGS :=
-OCAMLOPTLIBS := $(OCAMLCLIBS)
-
-export LIBRARY_PATH=../libvirt
-export LD_LIBRARY_PATH=../libvirt
-
-BYTE_TARGETS := list_domains
-OPT_TARGETS := list_domains.opt
-
-all: $(BYTE_TARGETS)
-
-opt: $(OPT_TARGETS)
-
-list_domains: list_domains.cmo
- ocamlfind ocamlc $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \
- ../libvirt/mllibvirt.cma -o $@ $<
-
-list_domains.opt: list_domains.cmx
- ocamlfind ocamlopt \
- $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \
- ../libvirt/mllibvirt.cmxa -o $@ $<
-
-install:
-
-include ../Make.rules
+++ /dev/null
-# $Id: Makefile.in,v 1.2 2007/08/21 13:24:08 rjones Exp $
-
-CFLAGS := -g -O2 -I/home/rjones/local/include \
- -I.. \
- -I$(shell ocamlc -where) \
- -Wall -Werror \
- -fPIC \
- -g
-LDFLAGS := -L/home/rjones/local/lib
-
-OCAMLCPACKAGES := -package extlib,unix
-OCAMLCFLAGS := -g
-OCAMLCLIBS := -linkpkg
-
-OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
-OCAMLOPTFLAGS :=
-OCAMLOPTLIBS := $(OCAMLCLIBS)
-
-export LIBRARY_PATH=.
-export LD_LIBRARY_PATH=.
-
-BYTE_TARGETS := libvirt.cma
-OPT_TARGETS := libvirt.cmxa
-
-all: $(BYTE_TARGETS)
-
-opt: $(OPT_TARGETS)
-
-libvirt.cma: libvirt_c.o libvirt.cmo libvirt_version.cmo
- ocamlmklib -o mllibvirt $^ $(LDFLAGS) -lvirt
-
-libvirt.cmxa: libvirt_c.o libvirt.cmx libvirt_version.cmx
- ocamlmklib -o mllibvirt $^ $(LDFLAGS) -lvirt
-
-libvirt.cmo: libvirt.cmi
-libvirt.cmi: libvirt.mli
-
-libvirt_version.cmo: libvirt_version.cmi
-libvirt_version.cmi: libvirt_version.mli
-
-install:
- ocamlfind install libvirt ../META *.so *.a *.cmx *.cma *.cmxa *.mli
-
-include ../Make.rules
+++ /dev/null
-# $Id: Makefile.in,v 1.2 2007/08/21 14:24:38 rjones Exp $
-
-INSTALL := /usr/bin/install -c
-
-prefix = /usr/local
-exec_prefix = ${prefix}
-bindir = ${exec_prefix}/bin
-
-OCAMLCPACKAGES := -package extlib,unix -I ../libvirt
-OCAMLCFLAGS := -g
-OCAMLCLIBS := -linkpkg
-
-OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
-OCAMLOPTFLAGS :=
-OCAMLOPTLIBS := $(OCAMLCLIBS)
-
-export LIBRARY_PATH=../libvirt
-export LD_LIBRARY_PATH=../libvirt
-
-BYTE_TARGETS := mlvirsh
-OPT_TARGETS := mlvirsh.opt
-
-all: $(BYTE_TARGETS)
-
-opt: $(OPT_TARGETS)
-
-mlvirsh: mlvirsh.cmo
- ocamlfind ocamlc $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \
- ../libvirt/mllibvirt.cma -o $@ $<
-
-mlvirsh.opt: mlvirsh.cmx
- ocamlfind ocamlopt \
- $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \
- ../libvirt/mllibvirt.cmxa -o $@ $<
-
-install:
- if [ -x mlvirsh.opt ]; then \
- mkdir -p $(DESTDIR)$(bindir); \
- $(INSTALL) -m 0755 mlvirsh.opt $(DESTDIR)$(bindir)/mlvirsh; \
- fi
-
-include ../Make.rules
+++ /dev/null
-# $Id: Makefile.in,v 1.2 2007/08/21 14:24:38 rjones Exp $
-
-INSTALL := /usr/bin/install -c
-
-prefix = /usr/local
-exec_prefix = ${prefix}
-bindir = ${exec_prefix}/bin
-
-OCAMLCPACKAGES := -package extlib,unix,lablgtk2 -I ../libvirt
-OCAMLCFLAGS := -g
-OCAMLCLIBS := -linkpkg
-
-OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
-OCAMLOPTFLAGS :=
-OCAMLOPTLIBS := $(OCAMLCLIBS)
-
-export LIBRARY_PATH=../libvirt
-export LD_LIBRARY_PATH=../libvirt
-
-BYTE_TARGETS := mlvirtmanager
-OPT_TARGETS := mlvirtmanager.opt
-
-VIRTMANAGER_OBJS := \
- mlvirtmanager_helpers.cmo \
- mlvirtmanager_connections.cmo \
- mlvirtmanager_domain_ops.cmo \
- mlvirtmanager_mainwindow.cmo \
- mlvirtmanager.cmo
-
-VIRTMANAGER_XOBJS := $(VIRTMANAGER_OBJS:.cmo=.cmx)
-
-all: $(BYTE_TARGETS)
-
-opt: $(OPT_TARGETS)
-
-mlvirtmanager: $(VIRTMANAGER_OBJS)
- ocamlfind ocamlc $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \
- ../libvirt/mllibvirt.cma gtkInit.cmo -o $@ $<
-
-mlvirtmanager.opt: $(VIRTMANAGER_XOBJS)
- ocamlfind ocamlopt \
- $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \
- ../libvirt/mllibvirt.cmxa gtkInit.cmx -o $@ $<
-
-install:
- if [ -x mlvirtmanager.opt ]; then \
- mkdir -p $(DESTDIR)$(bindir); \
- $(INSTALL) -m 0755 mlvirtmanager.opt $(DESTDIR)$(bindir)/mlvirtmanager; \
- fi
-
-include ../Make.rules