# Interface to Perl from OCaml.
# Copyright (C) 2003 Merjis Ltd.
-# $Id: Makefile,v 1.7 2003-10-14 16:05:21 rich Exp $
+# $Id: Makefile,v 1.8 2003-10-15 08:55:23 rich Exp $
include Makefile.config
wrappers/pl_HTTP_Message.cmo \
wrappers/pl_HTTP_Request.cmo \
wrappers/pl_HTTP_Response.cmo \
- wrappers/pl_LWP_UserAgent.cmo \
- wrappers/pl_Net_Google.cmo
+ wrappers/pl_LWP_UserAgent.cmo
all: perl.cma perl.cmxa perl_init.cmo perl_init.cmx all-examples
# Install.
install:
- install -c -m 0755 -d $(OCAMLLIBDIR)
+ install -c -m 0755 -d $(OCAMLLIBDIR)/perl
install -c -m 0755 -d $(OCAMLLIBDIR)/stublibs
- install -c -m 0644 perl.cmi perl.mli perl.cma perl.cmxa $(OCAMLLIBDIR)
- install -c -m 0644 perl_init.cmo perl_init.cmx $(OCAMLLIBDIR)
- install -c -m 0644 perl.a libperl.a $(OCAMLLIBDIR)
+ install -c -m 0644 perl.cmi perl.mli perl.cma perl.cmxa \
+ perl_init.cmo perl_init.cmx perl.a libperl.a \
+ $(WRAPPERS:.cmo=.ml) $(WRAPPERS:.cmo=.cmi) $(OCAMLLIBDIR)/perl
install -c -m 0644 dllperl.so $(OCAMLLIBDIR)/stublibs
# Distribution.
# perl4caml configuration -*- Makefile -*-
-# $Id: Makefile.config,v 1.5 2003-10-14 16:46:13 rich Exp $
+# $Id: Makefile.config,v 1.6 2003-10-15 08:55:23 rich Exp $
# PERLINCDIR
# Directory containing the Perl include files, eg. <EXTERN.h>.
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)