Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 79 lines (63 sloc) 1.764 kb
d72de1d4 » samoht
2012-05-07 More cleanups
1 BIN = /usr/local/bin
750fc503 » samoht
2012-03-05 Add a first build skeleton
2 OCPBUILD ?= ./_obuild/unixrun ./boot/ocp-build.boot
cef31127 » cago
2012-04-13 Moved external source in src_ext/
3 OCAMLC=ocamlc
4 SRC_EXT=src_ext
c8822551 » samoht
2012-05-15 [opam server] start implementing the OPAM server repository pluggin.
5 TARGETS = opam opam-server \
ab53affa » samoht
2012-05-15 Fix Makefile
6 opam-rsync-init opam-rsync-update opam-rsync-download opam-rsync-upload \
b0971658 » samoht
2012-06-24 [curl] Add a new repository backend, based on curl/wget, as rsync-ing…
7 opam-curl-init opam-curl-update opam-curl-download opam-curl-upload \
c8822551 » samoht
2012-05-15 [opam server] start implementing the OPAM server repository pluggin.
8 opam-git-init opam-git-update opam-git-download opam-git-upload \
7e5fe8a5 » samoht
2012-05-18 Add helper scripts to build .config.in and .install
9 opam-server-init opam-server-update opam-server-download opam-server-upload \
9fd1a527 » samoht
2012-05-18 [scripts] add a small script to initialize rsync and server repositories
10 opam-mk-config opam-mk-install opam-mk-repo
750fc503 » samoht
2012-03-05 Add a first build skeleton
11
12 .PHONY: all
13
061a3760 » samoht
2012-05-21 [build] fix build to use the latest version of ocaml-re
14 all: ./_obuild/unixrun
15 $(MAKE) clone
16 $(MAKE) compile
750fc503 » samoht
2012-03-05 Add a first build skeleton
17
18 scan: ./_obuild/unixrun
19 $(OCPBUILD) -scan
20 sanitize: ./_obuild/unixrun
21 $(OCPBUILD) -sanitize
22 byte: ./_obuild/unixrun
23 $(OCPBUILD) -byte
24 opt: ./_obuild/unixrun
25 $(OCPBUILD) -asm
26 ./_obuild/unixrun:
27 mkdir -p ./_obuild
cef31127 » cago
2012-04-13 Moved external source in src_ext/
28 $(OCAMLC) -o ./_obuild/unixrun -make-runtime unix.cma str.cma
99481721 » samoht
2012-03-29 add str.cma to unixrun (useful to bootstrap ocp-get, as dose and cudf…
29
ac99a15b » samoht
2012-05-02 More WIP ...
30 bootstrap: _obuild/unixrun _obuild/opam/opam.byte
31 rm -f boot/opam.boot
32 ocp-bytehack -static _obuild/opam/opam.byte -o boot/opam.boot
750fc503 » samoht
2012-03-05 Add a first build skeleton
33
fd96a376 » samoht
2012-05-21 [build] symplify Makefile
34 compile: ./_obuild/unixrun
750fc503 » samoht
2012-03-05 Add a first build skeleton
35 $(OCPBUILD) -init -scan -sanitize $(TARGET)
36
cef31127 » cago
2012-04-13 Moved external source in src_ext/
37 clone:
38 $(MAKE) -C $(SRC_EXT)
750fc503 » samoht
2012-03-05 Add a first build skeleton
39
40 clean:
b1c2162c » samoht
2012-03-21 Fix Makefile
41 rm -rf _obuild
2c9a85c7 » samoht
2012-03-07 More file spliting.
42 rm -rf src/*.annot bat/*.annot
ac99a15b » samoht
2012-05-02 More WIP ...
43 rm -f opam
b1c2162c » samoht
2012-03-21 Fix Makefile
44 rm -f ocp-build.*
cef31127 » cago
2012-04-13 Moved external source in src_ext/
45 $(MAKE) -C $(SRC_EXT) clean
750fc503 » samoht
2012-03-05 Add a first build skeleton
46
cef31127 » cago
2012-04-13 Moved external source in src_ext/
47 distclean: clean
b1c2162c » samoht
2012-03-21 Fix Makefile
48 rm -f *.tar.gz *.tar.bz2
cef31127 » cago
2012-04-13 Moved external source in src_ext/
49 rm -rf _obuild _build
50 $(MAKE) -C $(SRC_EXT) distclean
7f510c50 » samoht
2012-03-07 Few makefile tweaks
51
ec59f94f » samoht
2012-05-30 [tests] make tests should test all the backends
52 .PHONY: tests
53
7f510c50 » samoht
2012-03-07 Few makefile tweaks
54 tests:
ec59f94f » samoht
2012-05-30 [tests] make tests should test all the backends
55 $(MAKE) -C tests all
56
57 tests-rsync:
58 $(MAKE) -C tests rsync
f8dc2211 » samoht
2012-03-08 Add --root to ocp-get and ocp-get-server to change the default root p…
59
bcd969d7 » samoht
2012-05-16 Fix build
60 tests-server:
61 $(MAKE) -C tests server
62
638dc66a » samoht
2012-05-18 [build] add make tests-git target
63 tests-git:
64 $(MAKE) -C tests git
d72de1d4 » samoht
2012-05-07 More cleanups
65
66 %-install:
67 cp _obuild/$*/$*.asm $(BIN)/$*
68
69 .PHONY: install
70 install: $(TARGETS:%=%-install)
e04535c1 » samoht
2012-05-11 Add API documentation
71 @
72
73 doc: compile
e7eb612d » samoht
2012-07-05 Move all the doc-related stuff into the same folder
74 mkdir -p doc/html/
e04535c1 » samoht
2012-05-11 Add API documentation
75 ocamldoc \
76 -I _obuild/opam-lib -I _obuild/cudf -I _obuild/dose \
77 -I _obuild/bat -I _obuild/unix -I _obuild/extlib \
78 -I _obuild/arg -I _obuild/graph \
e7eb612d » samoht
2012-07-05 Move all the doc-related stuff into the same folder
79 src/*.mli -html -d doc/html/
Something went wrong with that request. Please try again.