X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.config;h=4d70d9ec7423b4f6a1ff24061c44a842f741bec7;hb=12c06e82e99722ba478d9d9c10eea78397d649c7;hp=3cdafe3776eaee7692dc423104e30ec1da1f476b;hpb=1c369c3ba6b71d4524dfacd0ba3554e8a524ed57;p=perl4caml.git diff --git a/Makefile.config b/Makefile.config index 3cdafe3..4d70d9e 100644 --- a/Makefile.config +++ b/Makefile.config @@ -1,5 +1,5 @@ # perl4caml configuration -*- Makefile -*- -# $Id: Makefile.config,v 1.3 2003-10-12 17:33:14 rich Exp $ +# $Id: Makefile.config,v 1.16 2004-11-03 14:15:18 rich Exp $ # PERLINCDIR # Directory containing the Perl include files, eg. . @@ -7,11 +7,29 @@ PERLINCDIR := $(shell perl -MConfig -e 'print "$$Config{archlib}/CORE"') # OCAMLLIBDIR -# This is where we will install perl4caml. +# This is where we will install perl4caml (actually in the /perl subdirectory +# of this, so you will need to add '-I +perl' when compiling programs). OCAMLLIBDIR := $(shell ocamlc -where) +# EXTRA_CFLAGS +# You can specify extra flags to be passed to gcc here. +# +# One flag you might want to pass here is +# +# -DPERL4CAML_REFCOUNTING_EXPERIMENTAL=1 +# +# which will turn on experimental support for reference counting. +# Without this none of the Perl structures that you allocate will get +# freed. With this we try to map Perl's reference counting onto +# OCaml's garbage collection by using finalizers. There are some +# problems with this code at the moment, hence it is disabled by +# default. + +EXTRA_CFLAGS := +#EXTRA_CFLAGS := -DPERL4CAML_REFCOUNTING_EXPERIMENTAL=1 + # PACKAGE and VERSION PACKAGE := perl4caml -VERSION := 0.2.1 +VERSION := 0.3.11