1999-11-17 10:59:06 -08:00
|
|
|
#########################################################################
|
|
|
|
# #
|
2011-07-27 07:17:02 -07:00
|
|
|
# OCaml #
|
1999-11-17 10:59:06 -08:00
|
|
|
# #
|
|
|
|
# Xavier Leroy, projet Cristal, INRIA Rocquencourt #
|
|
|
|
# #
|
|
|
|
# Copyright 1999 Institut National de Recherche en Informatique et #
|
|
|
|
# en Automatique. All rights reserved. This file is distributed #
|
2001-12-07 05:41:02 -08:00
|
|
|
# under the terms of the GNU Library General Public License, with #
|
|
|
|
# the special exception on linking described in file ../LICENSE. #
|
1999-11-17 10:59:06 -08:00
|
|
|
# #
|
|
|
|
#########################################################################
|
|
|
|
|
2008-07-23 22:18:31 -07:00
|
|
|
include Makefile.shared
|
1996-02-15 08:25:44 -08:00
|
|
|
|
|
|
|
allopt: stdlib.cmxa std_exit.cmx
|
|
|
|
|
|
|
|
installopt:
|
2014-04-07 00:06:17 -07:00
|
|
|
cp stdlib.cmxa stdlib.$(A) std_exit.$(O) *.cmx $(INSTALL_LIBDIR)
|
1996-02-15 08:25:44 -08:00
|
|
|
|
2002-06-07 02:49:45 -07:00
|
|
|
camlheader camlheader_ur: headernt.c ../config/Makefile
|
2011-03-17 09:18:05 -07:00
|
|
|
$(BYTECC) $(BYTECCCOMPOPTS) -c -I../byterun \
|
|
|
|
-DRUNTIME_NAME='"ocamlrun"' headernt.c
|
2007-11-15 05:21:15 -08:00
|
|
|
$(MKEXE) -o tmpheader.exe headernt.$(O) $(EXTRALIBS)
|
2005-02-03 02:03:03 -08:00
|
|
|
rm -f camlheader.exe
|
|
|
|
mv tmpheader.exe camlheader
|
1998-06-01 07:53:28 -07:00
|
|
|
cp camlheader camlheader_ur
|
1996-02-15 08:25:44 -08:00
|
|
|
|
2011-03-17 09:18:05 -07:00
|
|
|
camlheaderd: headernt.c ../config/Makefile
|
|
|
|
$(BYTECC) $(BYTECCCOMPOPTS) -c -I../byterun \
|
|
|
|
-DRUNTIME_NAME='"ocamlrund"' headernt.c
|
|
|
|
$(MKEXE) -o tmpheader.exe headernt.$(O) $(EXTRALIBS)
|
|
|
|
mv tmpheader.exe camlheaderd
|
|
|
|
|
2007-11-06 07:16:56 -08:00
|
|
|
# TODO: do not call flexlink to build tmpheader.exe (we don't need
|
|
|
|
# the export table)
|