Commit 4302dc6b authored by stolpmann's avatar stolpmann

Fixes for Cygwin: .exe suffix


git-svn-id: https://godirepo.camlcity.org/svn/wdialog/trunk@214 f54c9a64-0731-4a92-b797-30fd5898f27c
parent 2aa82c95
#! /bin/sh
# $Id: configure,v 3.16 2005-06-11 14:24:13 stolpmann Exp $
# $Id: configure,v 3.17 2005-08-17 12:01:14 stolpmann Exp $
#--- Options ---
# value -1: off by command line ("forced")
......@@ -21,7 +21,7 @@ set_defaults () {
}
set_defaults
version="2.1"
version="2.1.1"
exec_suffix=""
ehelp_findlib="Enable/disable installation as findlib package"
......@@ -678,17 +678,17 @@ fi
######################################################################
# Check cygwin
#printf "%s" "Checking for cygwin... "
#u=`uname`
#case "$u" in
# CYGWIN*)
# echo "found"
# exec_suffix=".exe"
# ;;
# *)
# echo "not found"
# ;;
#esac
printf "%s" "Checking for cygwin... "
u=`uname`
case "$u" in
CYGWIN*)
echo "found"
exec_suffix=".exe"
;;
*)
echo "not found"
;;
esac
######################################################################
# Summary
......
......@@ -77,6 +77,8 @@ Copyright holders are Joachim Schrod NPC GmbH and Gerd Stolpmann.</p>
<sect1>
<title>Version History</title>
<ul>
<li><p><em>Version 2.1.1:</em> Fixes for Cygwin.</p></li>
<li><p><em>Version 2.1:</em> Inclusion of several new session managers
(in-memory session manager, daemon session manager).</p>
<p>Extension of the
......
# $Id: Makefile,v 1.4 2005-05-13 21:24:33 gremlin43820 Exp $
# $Id: Makefile,v 1.5 2005-08-17 12:01:14 stolpmann Exp $
TOP_DIR=../..
......@@ -8,9 +8,9 @@ PKGNAME = wd-daemon-session
include $(TOP_DIR)/Makefile.rules
all: wdstated wd_daemon_session
all: wdstated$(EXEC_SUFFIX) wd_daemon_session
opt: wdstated.opt wd_daemon_session.opt
opt: wdstated.opt$(EXEC_SUFFIX) wd_daemon_session.opt
wd_daemon_session: wd_daemon_session.cmi wd_daemon_session.cmo
$(OCAMLC) -a -o wd_daemon_session.cma wdstated_aux.cmo \
......@@ -20,16 +20,16 @@ wd_daemon_session.opt: wd_daemon_session.cmi wd_daemon_session.cmx
$(OCAMLOPT) -a -o wd_daemon_session.cmxa \
wdstated_aux.cmx wdstated_clnt.cmx wd_daemon_session.cmx
wdstated: wdstated_aux.cmi wdstated_aux.cmo wdstated_clnt.cmi \
wdstated$(EXEC_SUFFIX): wdstated_aux.cmi wdstated_aux.cmo wdstated_clnt.cmi \
wdstated_clnt.cmo wdstated_srv.cmi wdstated_srv.cmo \
wdstated_config.cmo wdstated.cmo
$(OCAMLC) -o wdstated wdstated_aux.cmo wdstated_srv.cmo \
$(OCAMLC) -o wdstated$(EXEC_SUFFIX) wdstated_aux.cmo wdstated_srv.cmo \
wdstated_config.cmo wdstated.cmo -linkpkg
wdstated.opt: wdstated_aux.cmi wdstated_aux.cmx wdstated_clnt.cmi \
wdstated.opt$(EXEC_SUFFIX): wdstated_aux.cmi wdstated_aux.cmx wdstated_clnt.cmi \
wdstated_clnt.cmx wdstated_srv.cmi wdstated_srv.cmx \
wdstated_config.cmx wdstated.cmx
$(OCAMLOPT) -o wdstated wdstated_aux.cmx wdstated_srv.cmx \
$(OCAMLOPT) -o wdstated$(EXEC_SUFFIX) wdstated_aux.cmx wdstated_srv.cmx \
wdstated_config.cmx wdstated.cmx -linkpkg
rpcinterface:
......@@ -37,10 +37,10 @@ rpcinterface:
OCAMLC_OPTIONS += -I ../wdialog
OCAMLOPT_OPTIONS += -I ../wdialog
INSTALL_EXTRA = wdstated wdstated.conf
INSTALL_EXTRA = wdstated$(EXEC_SUFFIX) wdstated.conf
clean::
rm -rf wdstated
rm -rf wdstated$(EXEC_SUFFIX)
*.mli:
true
......
# $Id: Makefile,v 3.2 2002-02-19 21:32:11 stolpmann Exp $
# $Id: Makefile,v 3.3 2005-08-17 12:01:14 stolpmann Exp $
TOP_DIR=../..
......@@ -6,18 +6,18 @@ OBJECTS =
PKGNAME = wd-xmlcompiler
all: wd-xmlcompile
all: wd-xmlcompile$(EXEC_SUFFIX)
opt:
true
wd-xmlcompile: wd_xmlcompile.cmo
$(OCAMLC) -o wd-xmlcompile wdialog.cma wd_xmlcompile.cmo -linkpkg
wd-xmlcompile$(EXEC_SUFFIX): wd_xmlcompile.cmo
$(OCAMLC) -o wd-xmlcompile$(EXEC_SUFFIX) wdialog.cma wd_xmlcompile.cmo -linkpkg
include $(TOP_DIR)/Makefile.rules
OCAMLC_OPTIONS += -I ../wdialog
INSTALL_EXTRA = wd-xmlcompile
INSTALL_EXTRA = wd-xmlcompile$(EXEC_SUFFIX)
clean::
rm -f wd-xmlcompile
......
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