-# $Id: Makefile.config,v 1.33 2006/12/07 17:05:47 rich Exp $
+# $Id: Makefile.config,v 1.34 2007/02/24 17:28:50 rich Exp $
PACKAGE := cocanwiki
VERSION := 1.4.2
# Location of PG'OCaml (http://merjis.com/developers/pgocaml)
PGOCAMLDIR := $(HOME)/d/merjis/freeware/pgocaml
+# CSV (http://merjis.com/developers/csv)
+CSVDIR := $(HOME)/d/merjis/freeware/csv
+
# Location of OCamlRSS and XML-Light. These are optional, but if you
# add them you will get RSS feeds using the {{rss:url=...}} notation.
#
#XML_LIGHT := +xml-light
# Location of the OCaml lib directory.
-OCAMLLIBDIR := $(shell ocamlc -where)
\ No newline at end of file
+OCAMLLIBDIR := $(shell ocamlc -where)
# Makefile for COCANWIKI.
-# $Id: Makefile,v 1.54 2006/12/08 15:36:44 rich Exp $
+# $Id: Makefile,v 1.55 2007/02/24 17:28:52 rich Exp $
include ../Makefile.config
-PGOCAML_PP := camlp4o -I +pcre -I +extlib -I $(PGOCAMLDIR) $(OCAMLLIBDIR)/unix.cma $(OCAMLLIBDIR)/pcre/pcre.cma $(OCAMLLIBDIR)/extlib/extLib.cma $(OCAMLLIBDIR)/calendar/calendar.cma pgocaml.cma pa_pgsql.cmo
+PGOCAML_PP := camlp4o -I +pcre -I +extlib -I $(PGOCAMLDIR) $(OCAMLLIBDIR)/unix.cma $(OCAMLLIBDIR)/pcre/pcre.cma $(OCAMLLIBDIR)/extlib/extLib.cma $(OCAMLLIBDIR)/calendar/calendar.cma $(CSVDIR)/csv/csv.cma pgocaml.cma pa_pgsql.cmo
PACKAGES = apache,pcre,extlib,netstring,calendar
OCAMLC := ocamlc
OCAMLCFLAGS = \
-package $(PACKAGES) \
- -I $(PGOCAMLDIR) \
+ -I $(PGOCAMLDIR) -I $(CSVDIR) \
-I lib -pp "$(PGOCAML_PP)"
CPP := cpp
# Makefile for COCANWIKI.
-# $Id: Makefile,v 1.3 2006/09/11 09:38:59 rich Exp $
+# $Id: Makefile,v 1.4 2007/02/24 17:28:53 rich Exp $
include ../Makefile.config
-PGOCAML_PP := camlp4o -I +pcre -I +extlib -I $(PGOCAMLDIR) $(OCAMLLIBDIR)/unix.cma $(OCAMLLIBDIR)/pcre/pcre.cma $(OCAMLLIBDIR)/extlib/extLib.cma $(OCAMLLIBDIR)/calendar/calendar.cma pgocaml.cma pa_pgsql.cmo
+PGOCAML_PP := camlp4o -I +pcre -I +extlib -I $(PGOCAMLDIR) $(OCAMLLIBDIR)/unix.cma $(OCAMLLIBDIR)/pcre/pcre.cma $(OCAMLLIBDIR)/extlib/extLib.cma $(OCAMLLIBDIR)/calendar/calendar.cma $(CSVDIR)/csv/csv.cma pgocaml.cma pa_pgsql.cmo
OCAMLPACKAGES := -package pcre,extlib,netstring,calendar
-OCAMLCFLAGS := $(OCAMLPACKAGES) -I $(PGOCAMLDIR) -pp "$(PGOCAML_PP)"
-OCAMLCLIBS := -linkpkg pgocaml.cma
+OCAMLCFLAGS := $(OCAMLPACKAGES) -I $(PGOCAMLDIR) -I $(CSVDIR) \
+ -pp "$(PGOCAML_PP)"
+OCAMLCLIBS := -linkpkg csv.cma pgocaml.cma
export PGDATABASE=cocanwiki