git.annexia.org
/
perl4caml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tested perl4caml on Mac OS X. Basically works fine, but had to
[perl4caml.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
61c0174
..
9be234b
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,6
@@
# Interface to Perl from OCaml.
# Copyright (C) 2003 Merjis Ltd.
# Interface to Perl from OCaml.
# Copyright (C) 2003 Merjis Ltd.
-# $Id: Makefile,v 1.2
2 2004-11-22 17:08:36
rich Exp $
+# $Id: Makefile,v 1.2
7 2004-12-11 13:38:32
rich Exp $
include Makefile.config
include Makefile.config
@@
-17,17
+17,12
@@
OCAMLCFLAGS := -w s -g $(OCAMLCINCS)
OCAMLOPTFLAGS := -w s $(OCAMLOPTINCS)
CC := gcc
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
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 := \
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_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_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
all: perl4caml.cma perl4caml.cmxa META all-examples html
@@
-145,6
+142,7
@@
install:
# Distribution.
dist:
# Distribution.
dist:
+ $(MAKE) check-manifest
rm -rf $(PACKAGE)-$(VERSION)
mkdir $(PACKAGE)-$(VERSION)
tar -cf - -T MANIFEST | tar -C $(PACKAGE)-$(VERSION) -xf -
rm -rf $(PACKAGE)-$(VERSION)
mkdir $(PACKAGE)-$(VERSION)
tar -cf - -T MANIFEST | tar -C $(PACKAGE)-$(VERSION) -xf -