search for: libmlv2v

Displaying 1 result from an estimated 1 matches for "libmlv2v".

2019 Dec 13
1
[common PATCH] mlv2v: build as OCaml library
...+ uefi.ml + +SOURCES_C = \ + dummy.c + +# We pretend that we're building a C library. automake handles the +# compilation of the C sources for us. At the end we take the C +# objects and OCaml objects and link them into the OCaml library. +# This C library is never used. + +noinst_LIBRARIES = libmlv2v.a + +if !HAVE_OCAMLOPT +MLV2V_CMA = mlv2v.cma +else +MLV2V_CMA = mlv2v.cmxa +endif + +noinst_DATA = $(MLV2V_CMA) + +libmlv2v_a_SOURCES = $(SOURCES_C) +libmlv2v_a_CPPFLAGS = \ + -DCAML_NAME_SPACE \ + -I. \ + -I$(top_builddir) \ + -I$(shell $(OCAMLC) -where) +libmlv2v_a_CFLAGS = \ + $(WARN_CFLAGS) $(...