#*** Copyright 2002-2004 The Acute Team
#
#  Allen-Williams, Mair
#  Bishop, Steven
#  Fairbairn, Matthew
#  Habouzit, Pierre [*]
#  Leifer, James [*]
#  Sewell, Peter
#  Sjberg, Vilhelm
#  Steinruecken, Christian
#  Vafeiadis, Viktor
#  Wansbrough, Keith
#  Zappa Nardelli, Francesco [*]
#  Institut National de Recherche en Informatique et en Automatique (INRIA)
#
#  Contributions of authors marked [*] are copyright INRIA.
#
#All rights reserved.
#
#This file is distributed under the terms of the GNU Lesser General
#Public License, with the special exception on linking described in
#file NEW-LICENSE.
#
#***

FINC=$(FRESH_LIB_PREFIX)/caml

all : editline_wrap.cma

editline.cmo : editlinec.c editline.ml
	$(FCAMLC) -thread -I $(FINC) -c -custom editlinec.c editline.ml

editline_wrap.cma : editline.cmo editlinec.o
	$(FMKLIB) -custom editlinec.o editline.cmo -o editline_wrap -cclib -L$(LIBEDITPATH) -cclib -ledit

clean :
	rm -f *.cmi *.cmo *.o *.so *.a *.cma
