Commit 860e8b52 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2005-03-16 17:23:03 by afrisch] Don't build mlcduce_wrapper when the ocaml iface is not available

Original author: afrisch
Date: 2005-03-16 17:23:03+00:00
parent d78f3e52
include Makefile.conf
VERSION = 0.3.0
all: cduce cdo2ml mlcduce_wrapper cduce_lib.cma
ALL_TARGET=cduce cduce_lib.cma
INSTALL_BINARIES=cduce$(EXE)
ifneq ($(ML_INTERFACE), false)
ALL_TARGET += cdo2ml mlcduce_wrapper
INSTALL_BINARIES += cdo2ml$(EXE) mlcduce_wrapper$(EXE) cduce_mktop
endif
all: $(ALL_TARGET)
ifeq ($(NATIVE),true)
all: cduce_lib.cmxa
endif
......@@ -83,10 +92,7 @@ install: all install_bin install_lib install_doc
install_bin:
@echo "Install binaries"
$(HIDE)mkdir -p $(BINDIR)
$(HIDE)$(INSTALL) -m755 cduce$(EXE) \
cdo2ml$(EXE) \
mlcduce_wrapper$(EXE) \
cduce_mktop $(BINDIR)/
$(HIDE)$(INSTALL) -m755 $(INSTALL_BINARIES) $(BINDIR)/
install_lib:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment