X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile;h=9be234b7e0d27e3d7be1d687c99b354134737467;hb=5e9b5aeef5cbb19fcad6ccd0eaf7d5fff2bb88c0;hp=61c017486549e7bda4bc6de15512253df84ae525;hpb=f71f13bd5e85b5cca4e9c2e63bf9d9c3283d66cf;p=perl4caml.git diff --git a/Makefile b/Makefile index 61c0174..9be234b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Interface to Perl from OCaml. # Copyright (C) 2003 Merjis Ltd. -# $Id: Makefile,v 1.22 2004-11-22 17:08:36 rich Exp $ +# $Id: Makefile,v 1.27 2004-12-11 13:38:32 rich Exp $ include Makefile.config @@ -17,17 +17,12 @@ OCAMLCFLAGS := -w s -g $(OCAMLCINCS) OCAMLOPTFLAGS := -w s $(OCAMLOPTINCS) CC := gcc -CFLAGS := -Wall -Wno-unused -I$(PERLINCDIR) $(EXTRA_CFLAGS) +CFLAGS := -fPIC -Wall -Wno-unused -I$(PERLINCDIR) $(EXTRA_CFLAGS) LIBPERL := $(shell perl -MExtUtils::Embed -e ldopts) SED := sed -# 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 - OCAMLDOCFLAGS := -html -stars -sort $(OCAMLCINCS) WRAPPERS := \ @@ -49,8 +44,10 @@ WRAPPERS := \ wrappers/pl_HTTP_Request.cmo \ wrappers/pl_HTTP_Request_Common.cmo \ wrappers/pl_HTTP_Response.cmo \ + wrappers/pl_HTML_Form.cmo \ wrappers/pl_LWP_UserAgent.cmo \ - wrappers/pl_Template.cmo + wrappers/pl_Template.cmo \ + wrappers/pl_WWW_Mechanize.cmo all: perl4caml.cma perl4caml.cmxa META all-examples html @@ -145,6 +142,7 @@ install: # Distribution. dist: + $(MAKE) check-manifest rm -rf $(PACKAGE)-$(VERSION) mkdir $(PACKAGE)-$(VERSION) tar -cf - -T MANIFEST | tar -C $(PACKAGE)-$(VERSION) -xf -