Commit 3c2b66df authored by gerd's avatar gerd

Respecting global OCAML*_OPTIONS.


git-svn-id: https://godirepo.camlcity.org/svn/lib-pxp/trunk@679 dbe99aee-44db-0310-b2b3-d33182c8eb97
parent dfe59b20
TOP_DIR = ../..
include $(TOP_DIR)/Makefile.rules
ENC = @ENCNAME@
INPUT = $(TOP_DIR)/src/pxp-lex
MLL = $(shell echo pxp_lex_$(ENC)_*.mll)
CMO = $(MLL:.mll=.cmo)
CMX = $(MLL:.mll=.cmx)
OCAMLC_OPTIONS = -I $(TOP_DIR)/src/pxp-engine
OCAMLOPT_OPTIONS = $(OCAMLC_OPTIONS)
OCAMLC_OPTIONS += -I $(TOP_DIR)/src/pxp-engine
OCAMLOPT_OPTIONS += -I $(TOP_DIR)/src/pxp-engine
PACKAGES = netstring
include $(TOP_DIR)/Makefile.rules
.PHONY: all opt generate clean CLEAN distclean install uninstall
all: pxp_lex_$(ENC).cma pxp_lex_link_$(ENC).cmo
......
TOP_DIR = ../..
include $(TOP_DIR)/Makefile.rules
ENC = utf8
INPUT = $(TOP_DIR)/src/pxp-lex
ML = $(shell echo pxp_ulex_$(ENC)_*.ml)
CMO = $(ML:.ml=.cmo)
CMX = $(ML:.ml=.cmx)
OCAMLC_OPTIONS = -I $(TOP_DIR)/src/pxp-engine -syntax camlp4o
OCAMLOPT_OPTIONS = $(OCAMLC_OPTIONS) -syntax camlp4o
OCAMLC_OPTIONS += -I $(TOP_DIR)/src/pxp-engine -syntax camlp4o
OCAMLOPT_OPTIONS += -I $(TOP_DIR)/src/pxp-engine -syntax camlp4o
PACKAGES = netstring,ulex
include $(TOP_DIR)/Makefile.rules
.PHONY: all opt generate clean CLEAN distclean install uninstall
all: pxp_ulex_$(ENC).cma pxp_ulex_link_$(ENC).cmo
......
TOP_DIR = ../..
include $(TOP_DIR)/Makefile.rules
ENC = utf8
INPUT = $(TOP_DIR)/src/pxp-lex
MLL = $(shell echo pxp_wlex_$(ENC)_*.mll)
CMO = $(MLL:.mll=.cmo)
CMX = $(MLL:.mll=.cmx)
OCAMLC_OPTIONS = -I $(TOP_DIR)/src/pxp-engine
OCAMLOPT_OPTIONS = $(OCAMLC_OPTIONS)
OCAMLC_OPTIONS += -I $(TOP_DIR)/src/pxp-engine
OCAMLOPT_OPTIONS += $(OCAMLC_OPTIONS)
PACKAGES = netstring,wlexing
include $(TOP_DIR)/Makefile.rules
.PHONY: all opt generate clean CLEAN distclean install uninstall
all: pxp_wlex_$(ENC).cma pxp_wlex_link_$(ENC).cmo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment