From: Ian Lynagh Date: Thu, 24 May 2007 14:25:45 +0000 (+0000) Subject: Remove Makefile and package.conf.in (used in the old build system) X-Git-Tag: 2007-09-13~83 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=5d5dfc30decbace8706c4fec1e46b291282141e5;p=ghc-base.git Remove Makefile and package.conf.in (used in the old build system) --- diff --git a/Makefile b/Makefile deleted file mode 100644 index c326e63..0000000 --- a/Makefile +++ /dev/null @@ -1,141 +0,0 @@ -TOP=.. -include $(TOP)/mk/boilerplate.mk - -# ----------------------------------------------------------------------------- - -SUBDIRS = cbits include - -ALL_DIRS = \ - Control \ - Control/Concurrent \ - Control/Parallel \ - Control/Monad \ - Control/Monad/ST \ - Data \ - Data/ByteString \ - Data/ByteString/Lazy \ - Data/Generics \ - Data/Array \ - Data/Array/IO \ - Data/STRef \ - Debug \ - Foreign \ - Foreign/C \ - Foreign/Marshal \ - GHC \ - System \ - System/Console \ - System/Mem \ - System/IO \ - System/Posix \ - System/Process \ - System/Directory \ - Text \ - Text/PrettyPrint \ - Text/ParserCombinators \ - Text/Show \ - Text/Read \ - Unsafe - -PACKAGE = base -VERSION = 2.0 - -SRC_HC_OPTS += -fglasgow-exts -cpp -Iinclude -"\#include" HsBase.h -SRC_HSC2HS_OPTS += -Iinclude -I$(GHC_INCLUDE_DIR) - -# ----------------------------------------------------------------------------- -# Per-module flags - -# ESSENTIAL, for getting reasonable performance from the I/O library: -SRC_HC_OPTS += -funbox-strict-fields - -# ----------------------------------------------------------------------------- -# PrimOpWrappers - -# These two lines are required for pre-processing compiler/prelude/primops.txt -SRC_CPP_OPTS += -I$(GHC_INCLUDE_DIR) -SRC_CPP_OPTS += ${GhcCppOpts} - -ifeq "$(BootingFromHc)" "YES" -GHC/PrimopWrappers.hs: - touch GHC/PrimopWrappers.hs -else -GHC/PrimopWrappers.hs: $(GHC_COMPILER_DIR)/prelude/primops.txt GHC/Prim.hs - @$(RM) $@ - $(GENPRIMOP) --make-haskell-wrappers < $< > $@ -endif - -GHC/Prim.hs: $(GHC_COMPILER_DIR)/prelude/primops.txt - @$(RM) $@ - $(GENPRIMOP) --make-haskell-source < $< > $@ - -EXCLUDED_SRCS = GHC/Prim.hs -EXTRA_HADDOCK_SRCS = GHC/Prim.hs - -boot :: GHC/PrimopWrappers.hs - -EXTRA_SRCS += GHC/PrimopWrappers.hs -CLEAN_FILES += GHC/PrimopWrappers.hs - -# ----------------------------------------------------------------------------- -ifneq "$(BootingFromHc)" "YES" -STUBOBJS += \ - Control/Concurrent_stub.$(way_)o - -CLEAN_FILES += $(STUBOBJS) \ - Control/Concurrent_stub.[ch] -endif - -#----------------------------------------------------------------------------- -# Building the library for GHCi -# -# The procedure differs from that in fptools/mk/target.mk in one way: -# (*) on Win32 we must split it into two, because a single .o file can't -# have more than 65536 relocations in it [due to a bug in the GNU -# linker.] - -OBJECT_FILEFORMAT=unknown -ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" -OBJECT_FILEFORMAT=PEi -endif -ifeq "$(TARGETPLATFORM)" "i386-unknown-cygwin32" -OBJECT_FILEFORMAT=PEi -endif - -ifeq "$(OBJECT_FILEFORMAT)" "PEi" - -# Turn off standard rule which creates HSbase.o from LIBOBJS. -#DONT_WANT_STD_GHCI_LIB_RULE=YES - -GHCI_LIBOBJS = $(HS_OBJS) - -INSTALL_LIBS += HSbase.o - -endif # OBJECT_FILEFORMAT = PEi - - -# ----------------------------------------------------------------------------- -# Doc building with Haddock - -EXCLUDED_HADDOCK_SRCS = \ - GHC/PrimopWrappers.hs \ - GHC/PArr.hs - -SRC_HADDOCK_OPTS += -t "Haskell Hierarchical Libraries ($(PACKAGE) package)" \ - --no-implicit-prelude - -# ----------------------------------------------------------------------------- - -GHC/ForeignPtr.o Data/Array/IO/Internals.o Data/Array/Base.o \ - Data/Generics/Instances.o Data/Complex.o Data/Array.o Data/STRef.o \ - Data/Dynamic.o Data/Typeable.o Data/PackedString.o System/Mem/Weak.o \ - System/Mem/StableName.o System/Posix/Types.o Control/Monad/ST.o \ - Control/Exception.o Foreign/C/Types.o Foreign/ForeignPtr.o: include/Typeable.h - -System/Posix/Types.o Foreign/C/Types.o: include/CTypes.h - -# ----------------------------------------------------------------------------- - -DIST_CLEAN_FILES += base.buildinfo config.cache config.status - -include $(TOP)/mk/target.mk diff --git a/package.conf.in b/package.conf.in deleted file mode 100644 index d57b86d..0000000 --- a/package.conf.in +++ /dev/null @@ -1,198 +0,0 @@ -#include "ghcconfig.h" - -name: PACKAGE -version: VERSION -license: BSD3 -maintainer: libraries@haskell.org -exposed: True - -exposed-modules: - Control.Applicative, - Control.Arrow, - Control.Concurrent, - Control.Concurrent.Chan, - Control.Concurrent.MVar, - Control.Concurrent.QSem, - Control.Concurrent.QSemN, - Control.Concurrent.SampleVar, - Control.Exception, - Control.Monad, - Control.Monad.Fix, - Control.Monad.Instances, - Control.Monad.ST, - Control.Monad.ST.Lazy, - Control.Monad.ST.Strict, - Control.Parallel, - Control.Parallel.Strategies, - Data.Array, - Data.Array.Base, - Data.Array.Diff, - Data.Array.IArray, - Data.Array.IO, - Data.Array.MArray, - Data.Array.ST, - Data.Array.Storable, - Data.Array.Unboxed, - Data.Bits, - Data.Bool, - Data.ByteString, - Data.ByteString.Char8, - Data.ByteString.Lazy - Data.ByteString.Lazy.Char8 - Data.ByteString.Base - Data.ByteString.Fusion - Data.Char, - Data.Complex, - Data.Dynamic, - Data.Either, - Data.Eq, - Data.Fixed, - Data.Foldable, - Data.Function, - Data.Generics, - Data.Generics.Aliases, - Data.Generics.Basics, - Data.Generics.Instances, - Data.Generics.Schemes, - Data.Generics.Text, - Data.Generics.Twins, - Data.Graph, - Data.HashTable, - Data.IORef, - Data.Int, - Data.IntMap, - Data.IntSet, - Data.Ix, - Data.List, - Data.Maybe, - Data.Map, - Data.Monoid, - Data.Ord, - Data.PackedString, - Data.Ratio, - Data.STRef, - Data.STRef.Lazy, - Data.STRef.Strict, - Data.Sequence, - Data.Set, - Data.String, - Data.Traversable, - Data.Tree, - Data.Tuple, - Data.Typeable, - Data.Unique, - Data.Version, - Data.Word, - Debug.Trace, - Foreign, - Foreign.C, - Foreign.C.Error, - Foreign.C.String, - Foreign.C.Types, - Foreign.Concurrent, - Foreign.ForeignPtr, - Foreign.Marshal, - Foreign.Marshal.Alloc, - Foreign.Marshal.Array, - Foreign.Marshal.Error, - Foreign.Marshal.Pool, - Foreign.Marshal.Utils, - Foreign.Ptr, - Foreign.StablePtr, - Foreign.Storable, - GHC.ConsoleHandler, - GHC.Dotnet, - GHC.Dynamic, - GHC.Exts, - GHC.ForeignPtr, - GHC.Handle, - GHC.IO, - GHC.Int, - GHC.PArr, - GHC.PrimopWrappers, - GHC.Unicode, - GHC.Word, - Numeric, - Prelude, - System.Cmd, - System.Console.GetOpt, - System.CPUTime, - System.Directory, - System.Directory.Internals, - System.Environment, - System.Exit, - System.IO, - System.IO.Error, - System.IO.Unsafe, - System.Info, - System.Locale, - System.Mem, - System.Mem.StableName, - System.Mem.Weak, - System.Posix.Internals, - System.Posix.Signals, - System.Posix.Types, - System.Process, - System.Process.Internals, - System.Random, - System.Time, - Text.ParserCombinators.ReadP, - Text.ParserCombinators.ReadPrec, - Text.PrettyPrint, - Text.PrettyPrint.HughesPJ, - Text.Printf, - Text.Read, - Text.Read.Lex, - Text.Show, - Text.Show.Functions, - Unsafe.Coerce, - GHC.Arr, - GHC.Base, - GHC.Conc, - GHC.Enum, - GHC.Err, - GHC.Exception, - GHC.Float, - GHC.IOBase, - GHC.List, - GHC.Num, - GHC.Pack, - GHC.Prim, - GHC.Ptr, - GHC.Read, - GHC.Real, - GHC.ST, - GHC.STRef, - GHC.Show, - GHC.Stable, - GHC.Storable, - GHC.TopHandler, - GHC.Weak - -hidden-modules: - Data.Array.IO.Internals - -import-dirs: IMPORT_DIR - -library-dirs: LIB_DIR -#ifndef INSTALLING - , LIB_DIR"/cbits" -#endif - -hs-libraries: "HSbase" - -extra-libraries: "HSbase_cbits" -#if defined(mingw32_HOST_OS) || defined(__MINGW32__) || defined(_MSC_VER) - , "wsock32", "msvcrt", "kernel32", "user32", "shell32" -#endif - -include-dirs: INCLUDE_DIR -includes: HsBase.h -depends: rts -hugs-options: -cc-options: -ld-options: -framework-dirs: -frameworks: -haddock-interfaces: HADDOCK_IFACE -haddock-html: HTML_DIR