-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
46 lines (36 loc) · 956 Bytes
/
Makefile
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
#generated by ./configure
include autoconf/Makefile.config
OPAMDEPS=lwt ocp-build
all:
$(MAKE) -C plugins/central_monitor
$(MAKE) -C plugins/print_commands
$(MAKE) ocaml
clean:
$(MAKE) -C plugins/central_monitor clean
$(MAKE) -C plugins/print_commands clean
$(MAKE) ocaml-clean
ocaml:
if [ ! -d "_obuild" ]; then ocp-build init; fi
ocp-build
ocaml-clean:
rm -rf _obuild
OCPBUILD=ocp-build
OCAMLOPT=ocamlopt.opt
OCAMLC=ocamlc
SRC=src
distclean: clean
rm -f autoconf/config.log
rm -f autoconf/Makefile.config
rm -f autoconf/config.log
rm -f autoconf/config.ocpgen
rm -f autoconf/config.status
rm -rf autoconf/autom4te.cache
rm -rf _obuild/
rm -f *~
opam-deps:
opam install $(OPAMDEPS)
install:
cp -f _obuild/ocp-show-build/ocp-show-build.asm $(BINDIR)/ocp-show-build
cp -f plugins/central_monitor/central_monitor.so $(BINDIR)/
cp -f plugins/print_commands/print_commands.so $(BINDIR)/
ocp-build install ocplib-cplugin-monitor