X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.config;h=bfb49d6fa70cf81238c2bbf339a3bdaea0d94c0d;hb=5e9b5aeef5cbb19fcad6ccd0eaf7d5fff2bb88c0;hp=637ca6c2f7766893c868f870e16e76389ac9c3eb;hpb=60e320772abf3bdd6402ed4fb5513bbe50540d1b;p=perl4caml.git diff --git a/Makefile.config b/Makefile.config index 637ca6c..bfb49d6 100644 --- a/Makefile.config +++ b/Makefile.config @@ -1,5 +1,5 @@ # perl4caml configuration -*- Makefile -*- -# $Id: Makefile.config,v 1.12 2003-11-19 16:28:22 rich Exp $ +# $Id: Makefile.config,v 1.19 2004-12-11 13:38:32 rich Exp $ # PERLINCDIR # Directory containing the Perl include files, eg. . @@ -14,10 +14,32 @@ 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 +#EXTRA_CFLAGS := -I/Users/rich/OCaml/lib/ocaml/std-lib -DPERL4CAML_NO_CRYPT_H \ + -DPERL4CAML_NO_OFF64_T + +# DYNALOADER_HACK +# XXX Hack required by ocamlopt, and sometimes ocamlc. +# To work out what this should be, try: +# `perl -MExtUtils::Embed -e ldopts' + +DYNALOADER_HACK := /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a +#DYNALOADER_HACK := /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a # PACKAGE and VERSION PACKAGE := perl4caml -VERSION := 0.3.7 +VERSION := 0.3.14