#
# Makefile for building the GHC Prelude libraries umpteen ways
#
-# $Id: Makefile,v 1.12 1997/07/05 01:04:30 sof Exp $
+# $Id: Makefile,v 1.13 1997/07/07 17:08:21 andre Exp $
#
#
#################################################################################
glaExts/PackedString_HC_OPTS += -monly-3-regs
required/Directory_HC_OPTS += -monly-3-regs
concurrent/Parallel_HC_OPTS += -fglasgow-exts
-required/Time_HC_OPTS += -monly-3-regs
+required/Time_HC_OPTS += -monly-3-regs -H10m
# Far too much heap is needed to compile PrelNum with -O at the
# moment, but there you go..
ghc/PrelNum_HC_OPTS += -H30m
+ghc/PrelBase_HC_OPTS += -H8m
+ghc/PrelRead_HC_OPTS += -H8m
+ghc/IOHandle_HC_OPTS += -H8m
#-----------------------------------------------------------------------------
# Dependency generation
ghc_errno = GHC_ENOTDIR;
break;
#endif
+#ifndef aix_TARGET_OS
+/* AIX returns EEXIST where 4.3BSD used ENOTEMPTY.
+ * there is an ENOTEMPTY defined as the same as EEXIST, and
+ * therefore it won't work properly on a case statement.
+ * another option is to define _ALL_SOURCE for aix, which
+ * gives a different number for ENOTEMPTY.
+ * I haven't tried that. -- andre.
+ */
#ifdef ENOTEMPTY
case ENOTEMPTY:
ghc_errno = GHC_ENOTEMPTY;
break;
#endif
+#endif
#ifdef ENOTSOCK
case ENOTSOCK:
ghc_errno = GHC_ENOTSOCK;