| 1 |
abate |
485 |
# build CDuce using OCaml native code compiler
|
| 2 |
abate |
672 |
ifeq ($(NATIVE), false)
|
| 3 |
|
|
else
|
| 4 |
|
|
NATIVE = true
|
| 5 |
|
|
endif
|
| 6 |
abate |
485 |
|
| 7 |
|
|
# profiling support
|
| 8 |
|
|
PROFILE = false
|
| 9 |
|
|
|
| 10 |
|
|
# use wlex lexers for parsing XML files with PXP
|
| 11 |
|
|
PXP_WLEX = false
|
| 12 |
|
|
|
| 13 |
|
|
# include support for expat
|
| 14 |
|
|
EXPAT = false
|
| 15 |
|
|
|
| 16 |
abate |
642 |
# Installation directory
|
| 17 |
|
|
# cduce and dtd2cduce => $(PREFIX)/bin
|
| 18 |
|
|
# cduce.1 => $(PREFIX)/man/man1
|
| 19 |
|
|
PREFIX = /usr/local
|
| 20 |
|
|
|
| 21 |
abate |
485 |
# Customize the following variables to match the settings
|
| 22 |
|
|
# of your local web server
|
| 23 |
|
|
WEB_PREFIX = /var/www
|
| 24 |
|
|
CGI_DIR = $(WEB_PREFIX)/cgi-bin
|
| 25 |
abate |
558 |
HTML_DIR = $(WEB_PREFIX)/html
|
| 26 |
abate |
541 |
SESSION_DIR = /tmp/cduce_sessions
|