Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 110 lines (86 sloc) 2.361 kb
334250b3 » samoht
2012-09-09 [build] simplified autoconf scripts
1 include Makefile.config
c226d2c5 » samoht
2012-09-07 [build] few tweaks to the autoconf scripts
2
334250b3 » samoht
2012-09-09 [build] simplified autoconf scripts
3 LOCAL_OCPBUILD=./ocp-build/ocp-build
c226d2c5 » samoht
2012-09-07 [build] few tweaks to the autoconf scripts
4 OCPBUILD ?= $(LOCAL_OCPBUILD)
334250b3 » samoht
2012-09-09 [build] simplified autoconf scripts
5 SRC_EXT=src_ext
cc0cd67a » samoht
2012-09-20 Remove opam-repo-convert
6 TARGETS = opam opam-mk-repo
750fc503 » samoht
2012-03-05 Add a first build skeleton
7
8 .PHONY: all
9
7f7724c9 » samoht
2012-09-04 Add a basic META.in file
10 all: $(LOCAL_OCPBUILD) META
061a3760 » samoht
2012-05-21 [build] fix build to use the latest version of ocaml-re
11 $(MAKE) clone
12 $(MAKE) compile
750fc503 » samoht
2012-03-05 Add a first build skeleton
13
8d1116aa » Fabrice Le Fessant
2012-08-30 ocp-build: update with most recent version
14 scan: $(LOCAL_OCPBUILD)
750fc503 » samoht
2012-03-05 Add a first build skeleton
15 $(OCPBUILD) -scan
8d1116aa » Fabrice Le Fessant
2012-08-30 ocp-build: update with most recent version
16 sanitize: $(LOCAL_OCPBUILD)
750fc503 » samoht
2012-03-05 Add a first build skeleton
17 $(OCPBUILD) -sanitize
8d1116aa » Fabrice Le Fessant
2012-08-30 ocp-build: update with most recent version
18 byte: $(LOCAL_OCPBUILD)
750fc503 » samoht
2012-03-05 Add a first build skeleton
19 $(OCPBUILD) -byte
8d1116aa » Fabrice Le Fessant
2012-08-30 ocp-build: update with most recent version
20 opt: $(LOCAL_OCPBUILD)
750fc503 » samoht
2012-03-05 Add a first build skeleton
21 $(OCPBUILD) -asm
99481721 » samoht
2012-03-29 add str.cma to unixrun (useful to bootstrap ocp-get, as dose and cudf…
22
8d1116aa » Fabrice Le Fessant
2012-08-30 ocp-build: update with most recent version
23 $(LOCAL_OCPBUILD): ocp-build/ocp-build.boot ocp-build/win32_c.c
24 $(MAKE) -C ocp-build
750fc503 » samoht
2012-03-05 Add a first build skeleton
25
8fcaae2d » samoht
2012-09-26 [build] add a 'prepare' target to use packages installed on the syste…
26 OCAMLFIND_DIR=$(shell ocamlfind printconf destdir)
27 prepare: depends.ocp.in
28 sed "s|%{lib}%|$(OCAMLFIND_DIR)|g" depends.ocp.in > depends.ocp
29
8d1116aa » Fabrice Le Fessant
2012-08-30 ocp-build: update with most recent version
30 compile: $(LOCAL_OCPBUILD)
750fc503 » samoht
2012-03-05 Add a first build skeleton
31 $(OCPBUILD) -init -scan -sanitize $(TARGET)
32
8d1116aa » Fabrice Le Fessant
2012-08-30 ocp-build: update with most recent version
33 clone:
cef31127 » cago
2012-04-13 Moved external source in src_ext/
34 $(MAKE) -C $(SRC_EXT)
750fc503 » samoht
2012-03-05 Add a first build skeleton
35
36 clean:
b1c2162c » samoht
2012-03-21 Fix Makefile
37 rm -rf _obuild
5c162f01 » Frédéric Tuong
2012-09-12 clean generated files
38 rm -f *.annot src/*.annot
b1c2162c » samoht
2012-03-21 Fix Makefile
39 rm -f ocp-build.*
cef31127 » cago
2012-04-13 Moved external source in src_ext/
40 $(MAKE) -C $(SRC_EXT) clean
794cbf86 » Fabrice Le Fessant
2012-08-30 ocp-build: remove useless directory boot
41 $(MAKE) -C ocp-build clean
750fc503 » samoht
2012-03-05 Add a first build skeleton
42
cef31127 » cago
2012-04-13 Moved external source in src_ext/
43 distclean: clean
5c162f01 » Frédéric Tuong
2012-09-12 clean generated files
44 rm -f META Makefile.config src/globals.ml config.log config.status
cef31127 » cago
2012-04-13 Moved external source in src_ext/
45 $(MAKE) -C $(SRC_EXT) distclean
7f510c50 » samoht
2012-03-07 Few makefile tweaks
46
ec59f94f » samoht
2012-05-30 [tests] make tests should test all the backends
47 .PHONY: tests
48
7f510c50 » samoht
2012-03-07 Few makefile tweaks
49 tests:
ec59f94f » samoht
2012-05-30 [tests] make tests should test all the backends
50 $(MAKE) -C tests all
51
52 tests-rsync:
53 $(MAKE) -C tests rsync
f8dc2211 » samoht
2012-03-08 Add --root to ocp-get and ocp-get-server to change the default root p…
54
638dc66a » samoht
2012-05-18 [build] add make tests-git target
55 tests-git:
56 $(MAKE) -C tests git
d72de1d4 » samoht
2012-05-07 More cleanups
57
58 %-install:
c226d2c5 » samoht
2012-09-07 [build] few tweaks to the autoconf scripts
59 cp _obuild/$*/$*.asm $(prefix)/bin/$*
334250b3 » samoht
2012-09-09 [build] simplified autoconf scripts
60
7f7724c9 » samoht
2012-09-04 Add a basic META.in file
61 META: META.in
334250b3 » samoht
2012-09-09 [build] simplified autoconf scripts
62 sed 's/@VERSION@/$(version)/g' < $< > $@
7f7724c9 » samoht
2012-09-04 Add a basic META.in file
63
b3f54cb2 » samoht
2012-09-26 [build] add a libinstall target
64 .PHONY: uninstall install
f09920fb » samoht
2012-08-14 Start fixing the converter from 0.3 to 0.4
65 install:
c226d2c5 » samoht
2012-09-07 [build] few tweaks to the autoconf scripts
66 mkdir -p $(prefix)/bin
f09920fb » samoht
2012-08-14 Start fixing the converter from 0.3 to 0.4
67 $(MAKE) $(TARGETS:%=%-install)
c226d2c5 » samoht
2012-09-07 [build] few tweaks to the autoconf scripts
68 mkdir -p $(mandir)/man1 && cp doc/man/* $(mandir)/man1
fc51e077 » Vincent Bernardoff
2012-09-05 Added man-src, man, and a rule for Makefile
69
70 uninstall:
c226d2c5 » samoht
2012-09-07 [build] few tweaks to the autoconf scripts
71 rm -f $(prefix)/bin/opam*
72 rm -f $(mandir)/man1/opam*
e04535c1 » samoht
2012-05-11 Add API documentation
73
b3f54cb2 » samoht
2012-09-26 [build] add a libinstall target
74 LIB = opam-lib
75 CMI = file path file_format process globals repositories lexer run\
76 linelexer types parallel utils parser
77 _FILES= $(LIB:%=%.a) $(LIB:%=%.cma) $(LIB:%=%.cmxa)\
78 $(CMI:%=%.cmi)
79 FILES = $(_FILES:%=_obuild/opam-lib/%)
022a5332 » samoht
2012-09-26 [build] libinstall depends on META
80
81 .PHONY: libuninstall libinstall
82 libinstall: META
b3f54cb2 » samoht
2012-09-26 [build] add a libinstall target
83 ocamlfind install opam META $(FILES)
84 libuninstall:
85 ocamlfind remove opam
86
e04535c1 » samoht
2012-05-11 Add API documentation
87 doc: compile
e7eb612d » samoht
2012-07-05 Move all the doc-related stuff into the same folder
88 mkdir -p doc/html/
e04535c1 » samoht
2012-05-11 Add API documentation
89 ocamldoc \
90 -I _obuild/opam-lib -I _obuild/cudf -I _obuild/dose \
91 -I _obuild/bat -I _obuild/unix -I _obuild/extlib \
92 -I _obuild/arg -I _obuild/graph \
0b3eeea3 » samoht
2012-07-29 Add a rule in Makefile to remove trailing blank lines in ml/mli
93 src/*.mli -html -d doc/html/
fc51e077 » Vincent Bernardoff
2012-09-05 Added man-src, man, and a rule for Makefile
94 $(MAKE) -C doc/man-src
a9db9b59 » samoht
2012-09-27 [doc] add a rule to generate the tutorials
95 $(MAKE) -C doc/tutorials
0b3eeea3 » samoht
2012-07-29 Add a rule in Makefile to remove trailing blank lines in ml/mli
96
97 trailing:
98 find src -name "*.ml*" -exec \
99 sed -i xxx -e :a -e "/^\n*$$/{$$d;N;ba" -e '}' {} \;
e7ed16f1 » samoht
2012-08-23 Update Makefile
100 find src -name "*xxx" -exec rm {} \;
812e1c9e » samoht
2012-09-06 [build] use the versions of ocaml-re and ocaml-arg
101
102 archive:
103 echo $(ARCHIVES)
104 $(MAKE) distclean
105 $(MAKE) clone
106 tar cz $(wildcard src_ext/*.tar.gz) > opam-extfiles.1.tar.gz
334250b3 » samoht
2012-09-09 [build] simplified autoconf scripts
107
108 configure: configure.ac m4/*.m4
109 aclocal -I m4
110 autoconf
Something went wrong with that request. Please try again.