blob: fd2640fe2b39d88772f7ed26c9b6f968e8a23233 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
#########################################################################
# #
# Objective Caml #
# #
# Xavier Leroy, projet Cristal, INRIA Rocquencourt #
# #
# Copyright 1999 Institut National de Recherche en Informatique et #
# en Automatique. All rights reserved. This file is distributed #
# under the terms of the GNU Library General Public License. #
# #
#########################################################################
# $Id$
# Makefile for the dynamic link library
!include ..\..\config\Makefile.nt
CAMLC=..\..\boot\ocamlrun ..\..\boot\ocamlc
INCLUDES=-I ..\..\utils -I ..\..\typing -I ..\..\bytecomp
COMPFLAGS=-I ..\..\stdlib $(INCLUDES)
OBJS=dynlink.cmo
COMPILEROBJS=misc.cmo config.cmo formatmsg.cmo tbl.cmo \
clflags.cmo ident.cmo path.cmo \
types.cmo btype.cmo predef.cmo runtimedef.cmo symtable.cmo opcodes.cmo
all: dynlink.cma extract_crc
allopt:
dynlink.cma: $(OBJS)
$(CAMLC) $(COMPFLAGS) -a -o dynlink.cma $(COMPILEROBJS) $(OBJS)
extract_crc: dynlink.cma extract_crc.cmo
$(CAMLC) $(COMPFLAGS) -o extract_crc dynlink.cma extract_crc.cmo
install:
cp dynlink.cmi dynlink.cma extract_crc $(LIBDIR)
installopt:
partialclean:
rm -f extract_crc *.cm[ioa]
clean: partialclean
.SUFFIXES: .ml .mli .cmo .cmi
.mli.cmi:
$(CAMLC) -c $(COMPFLAGS) $<
.ml.cmo:
$(CAMLC) -c $(COMPFLAGS) $<
depend:
..\..\boot\ocamlrun ..\..\tools\ocamldep *.mli *.ml > .depend
!include .depend
|