[project @ 2003-08-27 15:18:29 by panne]
authorpanne <unknown>
Wed, 27 Aug 2003 15:18:43 +0000 (15:18 +0000)
committerpanne <unknown>
Wed, 27 Aug 2003 15:18:43 +0000 (15:18 +0000)
green-card => greencard
Green Card => GreenCard

Although Alastair prefers "Greencard", the library's name is
"Foreign.GreenCard", and unless we change this, too, "GreenCard" is
more consistent.

Makefile
README
aclocal.m4
configure.ac
distrib/prep-bin-dist-mingw-greencard
docs/building/building.sgml
docs/ffi.sgml
ghc/InstallShield/File Groups/Profiling Libraries.fgl
ghc/InstallShield/File Groups/Program Executable Files.fgl
mk/config.mk.in

index 794860b..1ec0796 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ endif
 
 ifneq "$(Project)" ""
    ifeq "$(Project)" "GreenCard"
 
 ifneq "$(Project)" ""
    ifeq "$(Project)" "GreenCard"
-       ProjectDirectory=green-card
+       ProjectDirectory=greencard
    else
        ifeq "$(Project)" "HaskellDirect"
                ProjectDirectory=hdirect
    else
        ifeq "$(Project)" "HaskellDirect"
                ProjectDirectory=hdirect
diff --git a/README b/README
index 80beba5..153ed24 100644 (file)
--- a/README
+++ b/README
@@ -12,7 +12,7 @@ the following directories:
     haggis       The Haggis GUI toolkit
     happy        The Happy Haskell parser generator
     hdirect       Haskell interop tool
     haggis       The Haggis GUI toolkit
     happy        The Happy Haskell parser generator
     hdirect       Haskell interop tool
-    green-card   A foreign function interface pre-processor for Haskell.
+    greencard    A foreign function interface pre-processor for Haskell.
     libraries    Haskell libraries (reqd. by ghc)
     nofib        The NoFib Haskell benchmarking suite
 
     libraries    Haskell libraries (reqd. by ghc)
     nofib        The NoFib Haskell benchmarking suite
 
index ea73a21..0fb7fcd 100644 (file)
@@ -269,15 +269,15 @@ AS_IF([test "$fp_num1" $2 "$fp_num2"], [$4], [$5])[]dnl
 
 
 dnl
 
 
 dnl
-dnl Check for Greencard and version.
+dnl Check for GreenCard and version.
 dnl
 AC_DEFUN(FPTOOLS_GREENCARD,
 [
 dnl
 AC_DEFUN(FPTOOLS_GREENCARD,
 [
-AC_PATH_PROG(GreencardCmd,greencard)
+AC_PATH_PROG(GreenCardCmd,greencard)
 AC_CACHE_CHECK([for version of greencard], fptools_cv_greencard_version,
 changequote(, )dnl
 AC_CACHE_CHECK([for version of greencard], fptools_cv_greencard_version,
 changequote(, )dnl
-[if test x"$GreencardCmd" != x; then
-   fptools_cv_greencard_version="`$GreencardCmd --version |
+[if test x"$GreenCardCmd" != x; then
+   fptools_cv_greencard_version="`$GreenCardCmd --version |
                          grep 'version' | sed -e 's/greencard. version \([^ ]*\).*/\1/g'`"
 else
    fptools_cv_greencard_version=""
                          grep 'version' | sed -e 's/greencard. version \([^ ]*\).*/\1/g'`"
 else
    fptools_cv_greencard_version=""
@@ -286,8 +286,8 @@ changequote([, ])dnl
 ])
 FP_COMPARE_VERSIONS([$fptools_cv_greencard_version],[-lt],[$1],
   [AC_MSG_ERROR([greencard version $1 or later is required (found '$fptools_cv_greencard_version')])])[]dnl
 ])
 FP_COMPARE_VERSIONS([$fptools_cv_greencard_version],[-lt],[$1],
   [AC_MSG_ERROR([greencard version $1 or later is required (found '$fptools_cv_greencard_version')])])[]dnl
-GreencardVersion=$fptools_cv_greencard_version
-AC_SUBST(GreencardVersion)
+GreenCardVersion=$fptools_cv_greencard_version
+AC_SUBST(GreenCardVersion)
 ])
 
 dnl
 ])
 
 dnl
index def4085..bba4b3c 100644 (file)
@@ -727,10 +727,10 @@ fi
 
 AC_ARG_WITH(greencard,
 [  --with-greencard=<greencard compiler>
 
 AC_ARG_WITH(greencard,
 [  --with-greencard=<greencard compiler>
-        Use a command different from 'green-card' to compile GreenCard files
+        Use a command different from 'greencard' to compile GreenCard files
 ],
 [
 ],
 [
-GreencardCmd=$withval;
+GreenCardCmd=$withval;
 FPTOOLS_GREENCARD(3.00)
 ]
 )
 FPTOOLS_GREENCARD(3.00)
 ]
 )
index 68ff6fd..ef57a00 100644 (file)
@@ -24,8 +24,8 @@ if ! [ -d bin/i386-unknown-mingw32 ] ; then
 fi;\r
 \r
 echo "rejig bin/"\r
 fi;\r
 \r
 echo "rejig bin/"\r
-cp bin/i386-unknown-mingw32/green-card.exe $binary_dir/bin\r
-strip $binary_dir/bin/green-card.exe\r
+cp bin/i386-unknown-mingw32/greencard.exe $binary_dir/bin\r
+strip $binary_dir/bin/greencard.exe\r
 \r
 echo "rejig lib/"\r
 cp lib/i386-unknown-mingw32/* $binary_dir\r
 \r
 echo "rejig lib/"\r
 cp lib/i386-unknown-mingw32/* $binary_dir\r
index 23c181d..bd5246c 100644 (file)
@@ -741,11 +741,11 @@ $ cvs checkout nofib/spectral
       </varlistentry>
 
       <varlistentry>
       </varlistentry>
 
       <varlistentry>
-       <term><literal>green-card</literal></term>
-       <indexterm><primary><literal>green-card</literal></primary><secondary>project</secondary></indexterm>
+       <term><literal>greencard</literal></term>
+       <indexterm><primary><literal>greencard</literal></primary><secondary>project</secondary></indexterm>
        <listitem>
          <para>The <ulink
        <listitem>
          <para>The <ulink
-         url="http://www.haskell.org/greencard/">Green Card</ulink>
+         url="http://www.haskell.org/greencard/">GreenCard</ulink>
          system for generating Haskell foreign function
          interfaces.</para>
        </listitem>
          system for generating Haskell foreign function
          interfaces.</para>
        </listitem>
index 067f790..bb5d78b 100644 (file)
@@ -11,7 +11,7 @@ interfaces provided by GHC and Hugs.  However, the FFI specified in this
 document is not in the market of trying to completely bridge the gap between
 the actual type of an external function, and what is a
 <Emphasis>convenient</Emphasis> type for that function to the Haskell
 document is not in the market of trying to completely bridge the gap between
 the actual type of an external function, and what is a
 <Emphasis>convenient</Emphasis> type for that function to the Haskell
-programmer. That is the domain of tools like HaskellDirect or Green Card, both
+programmer. That is the domain of tools like HaskellDirect or GreenCard, both
 of which are capable of generating Haskell code that uses this FFI.
 </Para>
 
 of which are capable of generating Haskell code that uses this FFI.
 </Para>
 
index eb9a928..8614722 100644 (file)
@@ -16,7 +16,7 @@ file5=C:\TEMP\fptools\hslibs\net\libHSnet_p.a
 file6=C:\TEMP\fptools\hslibs\text\libHStext_p.a
 file7=C:\TEMP\fptools\hslibs\util\libHSutil_p.a
 file8=C:\TEMP\fptools\hslibs\win32\src\libHSwin32_p.a
 file6=C:\TEMP\fptools\hslibs\text\libHStext_p.a
 file7=C:\TEMP\fptools\hslibs\util\libHSutil_p.a
 file8=C:\TEMP\fptools\hslibs\win32\src\libHSwin32_p.a
-file9=C:\TEMP\fptools\green-card\lib\ghc\libHSgreencard_p.a
+file9=C:\TEMP\fptools\greencard\lib\ghc\libHSgreencard_p.a
 SubDir0=lib\imports
 
 [lib\imports]
 SubDir0=lib\imports
 
 [lib\imports]
@@ -84,7 +84,7 @@ file30=C:\TEMP\fptools\hslibs\data\edison\Seq\BankersQueue.p_hi
 
 [lib\imports\greencard]
 fulldirectory=
 
 [lib\imports\greencard]
 fulldirectory=
-file0=C:\TEMP\fptools\green-card\lib\ghc\StdDIS.p_hi
+file0=C:\TEMP\fptools\greencard\lib\ghc\StdDIS.p_hi
 
 [lib\imports\lang]
 fulldirectory=
 
 [lib\imports\lang]
 fulldirectory=
index 91c00d9..14790cd 100644 (file)
@@ -80,8 +80,8 @@ file34=C:\TEMP\fptools\ghc\lib\std\cbits\libHSstd_cbits.a
 file35=C:\TEMP\fptools\ghc\lib\std\cbits\libHSstd_cbits_imp.a
 file36=C:\TEMP\fptools\hslibs\win32\src\libHSwin32_imp.a
 file37=C:\TEMP\fptools\hslibs\win32\src\libHSwin32.a
 file35=C:\TEMP\fptools\ghc\lib\std\cbits\libHSstd_cbits_imp.a
 file36=C:\TEMP\fptools\hslibs\win32\src\libHSwin32_imp.a
 file37=C:\TEMP\fptools\hslibs\win32\src\libHSwin32.a
-file38=C:\TEMP\fptools\green-card\lib\ghc\libHSgreencard_imp.a
-file39=C:\TEMP\fptools\green-card\lib\ghc\libHSgreencard.a
+file38=C:\TEMP\fptools\greencard\lib\ghc\libHSgreencard_imp.a
+file39=C:\TEMP\fptools\greencard\lib\ghc\libHSgreencard.a
 file40=C:\TEMP\fptools\ghc\utils\hscpp\hscpp
 file41=C:\TEMP\fptools\ghc\utils\mkdependHS\mkdependHS
 file42=C:\TEMP\fptools\hslibs\net\libHSnet_imp.a
 file40=C:\TEMP\fptools\ghc\utils\hscpp\hscpp
 file41=C:\TEMP\fptools\ghc\utils\mkdependHS\mkdependHS
 file42=C:\TEMP\fptools\hslibs\net\libHSnet_imp.a
@@ -308,7 +308,7 @@ file22=C:\TEMP\fptools\hslibs\text\haxml\lib\Haskell2Xml.hi
 
 [lib\imports\greencard]
 fulldirectory=
 
 [lib\imports\greencard]
 fulldirectory=
-file0=C:\TEMP\fptools\green-card\lib\ghc\StdDIS.hi
+file0=C:\TEMP\fptools\greencard\lib\ghc\StdDIS.hi
 
 [lib\imports\concurrent]
 fulldirectory=
 
 [lib\imports\concurrent]
 fulldirectory=
index 0401de4..3153e49 100644 (file)
@@ -101,9 +101,9 @@ BootingFromUnregisterisedHc = @BootingFromUnregisterisedHc@
 
 # build the libs first if we're bootstrapping from .hc files
 ifeq "$(BootingFromHc)" "YES"
 
 # build the libs first if we're bootstrapping from .hc files
 ifeq "$(BootingFromHc)" "YES"
-AllProjects = glafp-utils libraries hslibs ghc green-card happy hdirect hood nofib haddock alex
+AllProjects = glafp-utils libraries hslibs ghc greencard happy hdirect hood nofib haddock alex
 else
 else
-AllProjects = glafp-utils ghc libraries hslibs green-card happy hdirect hood nofib haddock alex
+AllProjects = glafp-utils ghc libraries hslibs greencard happy hdirect hood nofib haddock alex
 endif
 
 #
 endif
 
 #
@@ -386,9 +386,9 @@ HappyHcOpts = -O
 
 ################################################################################
 #
 
 ################################################################################
 #
-#              green-card project
+#              greencard project
 #
 #
-#      Green-card specific options
+#      GreenCard specific options
 #
 ################################################################################
 
 #
 ################################################################################
 
@@ -853,10 +853,10 @@ ILASM                   = ilasm
 GHC_PKG                        = @GhcPkgCmd@
 
 #
 GHC_PKG                        = @GhcPkgCmd@
 
 #
-# Greencard
+# GreenCard
 #
 #
-GREENCARD              = @GreencardCmd@
-GREENCARD_VERSION      = @GreencardVersion@            
+GREENCARD              = @GreenCardCmd@
+GREENCARD_VERSION      = @GreenCardVersion@            
 
 #
 # Happy
 
 #
 # Happy