e91a3dceda047c77b3b72dbaf2c780277c91d90f
[virt-mem.git] / extract / fedora-koji / Makefile.in
1 # virt-mem
2 # @configure_input@
3 # Copyright (C) 2008 Red Hat Inc., Richard W.M. Jones
4 #
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2 of the License, or (at your option) any later version.
9 #
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
18
19 PACKAGE         = @PACKAGE_NAME@
20 VERSION         = @PACKAGE_VERSION@
21
22 INSTALL         = @INSTALL@
23 MKDIR_P         = @MKDIR_P@
24 bindir          = @bindir@
25
26 pkg_xmlrpc_light = @pkg_xmlrpc_light@
27
28 OCAMLCPACKAGES  =
29
30 ifneq ($(pkg_xmlrpc_light),no)
31 OCAMLCPACKAGES  += -package xmlrpc-light,extlib
32 endif
33
34 OCAMLCFLAGS     = @OCAMLCFLAGS@
35 OCAMLCLIBS      = -linkpkg
36
37 OCAMLOPTFLAGS   = @OCAMLOPTFLAGS@
38 OCAMLOPTPACKAGES = $(OCAMLCPACKAGES)
39 OCAMLOPTLIBS    = -linkpkg
40
41 TARGETS         = fedora-koji-download-kernels.opt
42
43 OBJS            = fedora_koji_download_kernels.cmo
44 XOBJS           = $(OBJS:.cmo=.cmx)
45
46 all:    $(TARGETS)
47
48 fedora-koji-download-kernels.opt: $(XOBJS)
49         ocamlfind ocamlopt \
50           $(OCAMLOPTFLAGS) $(OCAMLOPTPACKAGES) $(OCAMLOPTLIBS) $(XOBJS) -o $@
51
52 install:
53
54 include ../../Make.rules