1#************************************************************************** 2#* * 3#* OCaml * 4#* * 5#* Xavier Leroy, projet Cristal, INRIA Rocquencourt * 6#* * 7#* Copyright 1999 Institut National de Recherche en Informatique et * 8#* en Automatique. * 9#* * 10#* All rights reserved. This file is distributed under the terms of * 11#* the GNU Lesser General Public License version 2.1, with the * 12#* special exception on linking described in the file LICENSE. * 13#* * 14#************************************************************************** 15 16LIBNAME=bigarray 17EXTRACFLAGS=-I../$(UNIXLIB) -DIN_OCAML_BIGARRAY 18EXTRACAMLFLAGS=-I ../$(UNIXLIB) 19COBJS=bigarray_stubs.$(O) mmap_$(UNIX_OR_WIN32).$(O) 20CAMLOBJS=bigarray.cmo 21HEADERS=bigarray.h 22 23include ../Makefile 24 25depend: 26 $(CC) -MM $(CFLAGS) *.c > .depend 27 $(CAMLRUN) $(ROOTDIR)/tools/ocamldep -slash *.mli *.ml >> .depend 28 29ifeq "$(TOOLCHAIN)" "msvc" 30.depend.nt: .depend 31 sed -e 's/\.o/.$(O)/g' $< > $@ 32 33include .depend.nt 34 35else 36include .depend 37endif 38