Commit 7b9d9714 authored by gremlin43820's avatar gremlin43820

fix opt building, install wdstated. Currently the bytecode executable will be...

fix opt building, install wdstated. Currently the bytecode executable will be overwritten by the native code executable if make opt is run, I imagine that this is what most people will want as performance is very important for wdstated.


git-svn-id: https://godirepo.camlcity.org/svn/wdialog/trunk@196 f54c9a64-0731-4a92-b797-30fd5898f27c
parent e9410432
# $Id: Makefile,v 1.1 2004-12-28 19:01:15 gremlin43820 Exp $
# $Id: Makefile,v 1.2 2005-01-01 14:09:32 gremlin43820 Exp $
TOP_DIR=../..
......@@ -6,6 +6,8 @@ OBJECTS =
PKGNAME = wd-daemonsession
include $(TOP_DIR)/Makefile.rules
all: wdstated wd_daemon_session
opt: wdstated.opt wd_daemon_session.opt
......@@ -16,8 +18,8 @@ wd_daemon_session: wd_daemon_session.cmi wd_daemon_session.cmo
-linkpkg
wd_daemon_session.opt: wd_daemon_session.cmi wd_daemon_session.cmx
$(OCAMLOPT) -I ../wdialog -o wd_daemon_session.cmxa \
wdialog.cmxa wdstated_aux.cmo wdstated_clnt.cmo \
$(OCAMLOPT) -o wd_daemon_session.cmxa \
wdialog.cmxa wdstated_aux.cmx wdstated_clnt.cmx \
wd_daemon_session.cmx -linkpkg
wdstated: wdstated_aux.cmi wdstated_aux.cmo wdstated_clnt.cmi \
......@@ -35,10 +37,9 @@ wdstated_config.cmx wdstated.cmx -linkpkg
rpcinterface:
ocamlrpcgen -aux -srv -clnt -int int32 wdstated.x
include $(TOP_DIR)/Makefile.rules
OCAMLC_OPTIONS += -I ../wdialog
INSTALL_EXTRA = wd-xmlcompile
OCAMLOPT_OPTIONS += -I ../wdialog
INSTALL_EXTRA = wdstated
clean::
rm -rf wdstated
......
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