ifneq "$(Project)" ""
ifeq "$(Project)" "GreenCard"
- ProjectDirectory=green-card
+ ProjectDirectory=greencard
else
ifeq "$(Project)" "HaskellDirect"
ProjectDirectory=hdirect
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
dnl
-dnl Check for Greencard and version.
+dnl Check for GreenCard and version.
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
-[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=""
])
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
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)
]
)
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
</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
- 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>
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>
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]
[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=
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
[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=
# 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
-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
#
################################################################################
#
-# green-card project
+# greencard project
#
-# Green-card specific options
+# GreenCard specific options
#
################################################################################
GHC_PKG = @GhcPkgCmd@
#
-# Greencard
+# GreenCard
#
-GREENCARD = @GreencardCmd@
-GREENCARD_VERSION = @GreencardVersion@
+GREENCARD = @GreenCardCmd@
+GREENCARD_VERSION = @GreenCardVersion@
#
# Happy