Skip to content

Commit d51488a

Browse files
committed
Release 1.7.2
2 parents 0388271 + 1f037f8 commit d51488a

76 files changed

Lines changed: 116 additions & 113 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

META

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ description = "C Intermediate Language"
22
requires = "unix str num"
33
version = "@CIL_VERSION@"
44
archive(byte) = "cil.cma"
5-
archive(opt) = "cil.cmxa"
5+
archive(native) = "cil.cmxa"

Makefile.in

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,12 @@ ifeq ($(FORCE_PERL_PREFIX), 1)
9898
export PERL_MM_OPT
9999
endif
100100

101-
$(CILLYDIR)/Makefile: Makefile $(CILLYDIR)/Makefile.PL $(CILLYDIR)/App/Cilly.pm
101+
CILLYMOD := Cilly
102+
103+
$(CILLYDIR)/Makefile: Makefile $(CILLYDIR)/Makefile.PL $(CILLYDIR)/App/$(CILLYMOD).pm
102104
cd $(CILLYDIR); $(PERL) Makefile.PL
103105

104-
.PHONY: cilly
106+
.PHONY: $(CILLY)
105107
$(CILLY): $(BINDIR)/$(CILLY)$(EXE) $(CILLYDIR)/Makefile
106108
$(MAKE) -C $(CILLYDIR)
107109

@@ -169,17 +171,17 @@ $(OBJDIR)/machdep.ml : src/machdep-ml.c configure.ac Makefile.in
169171
;fi
170172
@echo "let theMachine : mach ref = ref gcc" >>$@
171173

172-
$(CILLYDIR)/App/Cilly.pm: $(CILLYDIR)/App/Cilly.pm.in src/machdep-ml.c configure.ac Makefile.in
173-
cp $(CILLYDIR)/App/Cilly.pm.in $(CILLYDIR)/App/Cilly.pm
174-
sed -e "s|CIL_VERSION|@CIL_VERSION@|" $(CILLYDIR)/App/Cilly.pm > $(CILLYDIR)/App/Cilly.pm.tmp; \
175-
mv $(CILLYDIR)/App/Cilly.pm.tmp $(CILLYDIR)/App/Cilly.pm; \
174+
$(CILLYDIR)/App/$(CILLYMOD).pm: $(CILLYDIR)/App/$(CILLYMOD).pm.in src/machdep-ml.c configure.ac Makefile.in
175+
cp $(CILLYDIR)/App/$(CILLYMOD).pm.in $(CILLYDIR)/App/$(CILLYMOD).pm
176+
sed -e "s|CIL_VERSION|@CIL_VERSION@|" $(CILLYDIR)/App/$(CILLYMOD).pm > $(CILLYDIR)/App/$(CILLYMOD).pm.tmp; \
177+
mv $(CILLYDIR)/App/$(CILLYMOD).pm.tmp $(CILLYDIR)/App/$(CILLYMOD).pm; \
176178
if $(MACHDEPCC) -m32 src/machdep-ml.c -o $(OBJDIR)/machdep-ml32.exe ;then \
177-
sed -e "s|nogcc32model|`$(EMUL) $(OBJDIR)/machdep-ml32.exe --env`|" $(CILLYDIR)/App/Cilly.pm > $(CILLYDIR)/App/Cilly.pm.tmp; \
178-
mv $(CILLYDIR)/App/Cilly.pm.tmp $(CILLYDIR)/App/Cilly.pm; \
179+
sed -e "s|nogcc32model|`$(EMUL) $(OBJDIR)/machdep-ml32.exe --env`|" $(CILLYDIR)/App/$(CILLYMOD).pm > $(CILLYDIR)/App/$(CILLYMOD).pm.tmp; \
180+
mv $(CILLYDIR)/App/$(CILLYMOD).pm.tmp $(CILLYDIR)/App/$(CILLYMOD).pm; \
179181
fi
180182
if $(MACHDEPCC) -m64 src/machdep-ml.c -o $(OBJDIR)/machdep-ml64.exe ;then \
181-
sed -e "s|nogcc64model|`$(EMUL) $(OBJDIR)/machdep-ml64.exe --env`|" $(CILLYDIR)/App/Cilly.pm > $(CILLYDIR)/App/Cilly.pm.tmp; \
182-
mv $(CILLYDIR)/App/Cilly.pm.tmp $(CILLYDIR)/App/Cilly.pm; \
183+
sed -e "s|nogcc64model|`$(EMUL) $(OBJDIR)/machdep-ml64.exe --env`|" $(CILLYDIR)/App/$(CILLYMOD).pm > $(CILLYDIR)/App/$(CILLYMOD).pm.tmp; \
184+
mv $(CILLYDIR)/App/$(CILLYMOD).pm.tmp $(CILLYDIR)/App/$(CILLYMOD).pm; \
183185
fi
184186

185187
.PHONY: cilversion
@@ -232,7 +234,7 @@ odoc: $(OBJDIR)/doc/cil.docdir/index.html
232234
-mkdir -p doc/html/cil/
233235
-cp -r $(dir $<) doc/html/cil/api
234236

235-
doc/cilpp.tex: doc/cilcode.pl doc/cil.tex $(CILLYDIR)/App/Cilly.pm
237+
doc/cilpp.tex: doc/cilcode.pl doc/cil.tex $(CILLYDIR)/App/$(CILLYMOD).pm
236238
-rm -rf doc/html/cil
237239
-mkdir -p doc/html/cil
238240
-mkdir -p doc/html/cil/examples
@@ -254,12 +256,12 @@ pdfdoc: doc/cilpp.tex
254256
cd doc; pdflatex cilpp.tex; pdflatex cilpp.tex
255257
cd doc; mv cilpp.pdf html/cil/CIL.pdf
256258

257-
.PHONY: distclean cleandoc cleancilly clean
259+
.PHONY: distclean clean
258260
distclean: clean
259261
$(MAKE) -C test distclean
260262
rm -rf autom4te.cache/
261263
rm -f Makefile
262-
rm -f $(CILLYDIR)/App/Cilly/CilConfig.pm
264+
rm -f $(CILLYDIR)/App/$(CILLYMOD)/CilConfig.pm
263265
rm -f config.h
264266
rm -f config.log
265267
rm -f config.mk
@@ -269,11 +271,6 @@ distclean: clean
269271
rm -f src/machdep-ml.c
270272
rm -f stamp-h
271273

272-
273-
cleandoc:
274-
275-
cleancilly:
276-
277274
clean: $(CILLYDIR)/Makefile
278275
rm -rf $(OBJDIR)
279276
rm -f $(BINDIR)/$(CILLY).*
@@ -282,7 +279,7 @@ clean: $(CILLYDIR)/Makefile
282279
rm -f doc/cil.version.*
283280
rm -f doc/cilpp.*
284281
$(MAKE) -C $(CILLYDIR) clean
285-
rm -f $(CILLYDIR)/App/Cilly.pm
282+
rm -f $(CILLYDIR)/App/$(CILLYMOD).pm
286283
rm -f $(CILLYDIR)/Makefile.old
287284
rm -f Makefile.features
288285

@@ -303,7 +300,6 @@ install: $(CILLY) install-findlib
303300
$(MAKE) -C $(CILLYDIR) pure_install
304301
$(INSTALL) -m 0755 $(BINDIR)/$(CILLY).* $(DESTDIR)$(bindir)
305302

306-
# FIXME
307303
uninstall: $(CILLYDIR)/Makefile uninstall-findlib
308304
-rm -f $(DESTDIR)$(bindir)/$(CILLY).*
309305
$(MAKE) -C $(CILLYDIR) force_uninstall

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ instance in the OCaml toplevel using [findlib][]:
5757
# #require "cil";;
5858
[...]
5959
# Cil.cilVersion;;
60-
- : string = "1.7.1"
60+
- : string = "1.7.2"
6161

6262

6363
More documentation

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2207,7 +2207,7 @@ ac_config_files="$ac_config_files stamp-h"
22072207
# Assign here the CIL version numbers
22082208
CIL_VERSION_MAJOR=1
22092209
CIL_VERSION_MINOR=7
2210-
CIL_VERSION_REV=1
2210+
CIL_VERSION_REV=2
22112211
CIL_VERSION=$CIL_VERSION_MAJOR.$CIL_VERSION_MINOR.$CIL_VERSION_REV
22122212
22132213
# make sure I haven't forgotten to run autoconf

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ AC_PREREQ([2.69])
3333
# Assign here the CIL version numbers
3434
CIL_VERSION_MAJOR=1
3535
CIL_VERSION_MINOR=7
36-
CIL_VERSION_REV=1
36+
CIL_VERSION_REV=2
3737
CIL_VERSION=$CIL_VERSION_MAJOR.$CIL_VERSION_MINOR.$CIL_VERSION_REV
3838

3939
# make sure I haven't forgotten to run autoconf

doc/cil.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3363,6 +3363,9 @@ \section{Bug reports}
33633363

33643364
\section{Changes}\label{sec-changes}\cutname{changes.html}
33653365
\begin{itemize}
3366+
\item{\bf June 27, 2013}: {\bf Released version 1.7.2}.\\
3367+
Fix building and installation of CIL library (\#138).
3368+
33663369
\item{\bf June 18, 2013}: {\bf Released version 1.7.1}.\\
33673370
Improve build system, including:
33683371
\begin{itemize}

doc/html/cil/CIL.pdf

47 Bytes
Binary file not shown.

doc/html/cil/api/Alpha.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<link title="Errormsg" rel="Chapter" href="Errormsg.html">
2525
<link title="Formatcil" rel="Chapter" href="Formatcil.html">
2626
<link title="Pretty" rel="Chapter" href="Pretty.html">
27-
<link title="Stats" rel="Chapter" href="Stats.html"><title>CIL API Documentation (version 1.7.1) : Alpha</title>
27+
<link title="Stats" rel="Chapter" href="Stats.html"><title>CIL API Documentation (version 1.7.2) : Alpha</title>
2828
</head>
2929
<body>
3030
<div class="navbar">&nbsp;<a class="up" href="index.html" title="Index">Up</a>

doc/html/cil/api/Cfg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<link title="Errormsg" rel="Chapter" href="Errormsg.html">
2626
<link title="Formatcil" rel="Chapter" href="Formatcil.html">
2727
<link title="Pretty" rel="Chapter" href="Pretty.html">
28-
<link title="Stats" rel="Chapter" href="Stats.html"><title>CIL API Documentation (version 1.7.1) : Cfg</title>
28+
<link title="Stats" rel="Chapter" href="Stats.html"><title>CIL API Documentation (version 1.7.2) : Cfg</title>
2929
</head>
3030
<body>
3131
<div class="navbar"><a class="pre" href="Alpha.html" title="Alpha">Previous</a>

doc/html/cil/api/Cil.cilPrinter-c.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<link title="Errormsg" rel="Chapter" href="Errormsg.html">
2626
<link title="Formatcil" rel="Chapter" href="Formatcil.html">
2727
<link title="Pretty" rel="Chapter" href="Pretty.html">
28-
<link title="Stats" rel="Chapter" href="Stats.html"><title>CIL API Documentation (version 1.7.1) : Cil.cilPrinter</title>
28+
<link title="Stats" rel="Chapter" href="Stats.html"><title>CIL API Documentation (version 1.7.2) : Cil.cilPrinter</title>
2929
</head>
3030
<body>
3131
<div class="navbar"><a class="pre" href="Cil.cilVisitor-c.html" title="Cil.cilVisitor">Previous</a>

0 commit comments

Comments
 (0)