diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2007-08-30 17:46:09 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2007-08-30 17:46:09 +0100 |
commit | b8b8754dbd12d118ad359e324994802d878958b1 (patch) | |
tree | 9a9de895cca9700d13503ab4891f31ccd403d697 /virt-top | |
parent | a8b837d5018c488a130fcbea425904817a862210 (diff) | |
download | virt-top-b8b8754dbd12d118ad359e324994802d878958b1.tar.gz virt-top-b8b8754dbd12d118ad359e324994802d878958b1.tar.xz virt-top-b8b8754dbd12d118ad359e324994802d878958b1.zip |
Convert .cvsignore files to .cvsignore files, and remove some generated files.
Diffstat (limited to 'virt-top')
-rw-r--r-- | virt-top/.cvsignore | 8 | ||||
-rw-r--r-- | virt-top/Makefile | 79 |
2 files changed, 0 insertions, 87 deletions
diff --git a/virt-top/.cvsignore b/virt-top/.cvsignore deleted file mode 100644 index cb61894..0000000 --- a/virt-top/.cvsignore +++ /dev/null @@ -1,8 +0,0 @@ -*.cmi -*.cmo -*.cmx -*.cma -*.cmxa -Makefile -virt-top -virt-top.opt
\ No newline at end of file diff --git a/virt-top/Makefile b/virt-top/Makefile deleted file mode 100644 index 9c7ef0b..0000000 --- a/virt-top/Makefile +++ /dev/null @@ -1,79 +0,0 @@ -# $Id: Makefile.in,v 1.6 2007/08/23 11:09:19 rjones Exp $ - -PACKAGE := ocaml-libvirt -VERSION := 0.3.2.4 - -INSTALL := /usr/bin/install -c -HAVE_PERLDOC := perldoc - -prefix = /usr/local -exec_prefix = ${prefix} -bindir = ${exec_prefix}/bin - -pkg_curses = yes -pkg_xml_light = yes -pkg_csv = yes - -OCAMLCPACKAGES := -package unix,extlib,curses - -OBJS := virt_top.cmo -ifeq ($(pkg_xml_light),yes) -OBJS += virt_top_xml.cmo -OCAMLCPACKAGES := $(OCAMLCPACKAGES),xml-light -endif -ifeq ($(pkg_csv),yes) -OBJS += virt_top_csv.cmo -OCAMLCPACKAGES := $(OCAMLCPACKAGES),csv -endif -OBJS += virt_top_main.cmo - -XOBJS := $(OBJS:.cmo=.cmx) - -OCAMLCPACKAGES += -I ../libvirt -OCAMLCFLAGS := -g -w s -OCAMLCLIBS := -linkpkg - -OCAMLOPTPACKAGES := $(OCAMLCPACKAGES) -OCAMLOPTFLAGS := -w s -OCAMLOPTLIBS := $(OCAMLCLIBS) - -export LIBRARY_PATH=../libvirt -export LD_LIBRARY_PATH=../libvirt - -BYTE_TARGETS := virt-top -OPT_TARGETS := virt-top.opt - -ifeq ($(HAVE_PERLDOC),perldoc) -BYTE_TARGETS += virt-top.1 virt-top.txt -endif - -all: $(BYTE_TARGETS) - -opt: $(OPT_TARGETS) - -virt-top: $(OBJS) - ocamlfind ocamlc $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \ - ../libvirt/mllibvirt.cma -o $@ $^ - -virt-top.opt: $(XOBJS) - ocamlfind ocamlopt \ - $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \ - ../libvirt/mllibvirt.cmxa -cclib -lncurses -o $@ $^ - -# Manual page. -ifeq ($(HAVE_PERLDOC),perldoc) -virt-top.1: virt-top.pod - pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \ - $< > $@ - -virt-top.txt: virt-top.pod - pod2text $< > $@ -endif - -install: - if [ -x virt-top.opt ]; then \ - mkdir -p $(DESTDIR)$(bindir); \ - $(INSTALL) -m 0755 virt-top.opt $(DESTDIR)$(bindir)/virt-top; \ - fi - -include ../Make.rules |