Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/base/Makefile.nhc98

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


THISPKG	= base
SEARCH	= -I$(TOPDIR)/targets/$(MACHINE) -Iinclude \
	  -I../../prelude/PreludeIO -I../../prelude/`../../../script/harch`
EXTRA_H_FLAGS   = -H4M -K3M
EXTRA_HBC_FLAGS = -H16M -A1M

DIRS	= \
	Data Debug Control Control/Monad System System/IO System/Console \
	Text Text/Html Text/Show Text/ParserCombinators Text/Regex \
	Foreign Foreign/Marshal Foreign/C NHC Unsafe System/Posix

SRCS	= \
	Data/Bits.hs Data/Bool.hs Data/Char.hs Data/Complex.hs \
	Data/Either.hs Data/IORef.hs Data/Int.hs \
	Data/Ix.hs Data/List.hs Data/Maybe.hs Data/PackedString.hs \
	Data/Ratio.hs Data/Set.hs Data/Tuple.hs Data/Word.hs Data/Array.hs \
	Data/HashTable.hs Data/Typeable.hs Data/Dynamic.hs \
	Data/Monoid.hs Data/Tree.hs \
	Data/Map.hs Data/IntMap.hs Data/IntSet.hs \
	Data/Eq.hs Data/Ord.hs Data/Fixed.hs \
	Data/Foldable.hs Data/Traversable.hs Data/Sequence.hs \
	Data/Function.hs Data/Graph.hs \
	Control/Monad.hs Control/Monad/Fix.hs Control/Monad/Instances.hs \
	Control/Arrow.hs Control/Applicative.hs \
	Control/Exception.hs \
	Debug/Trace.hs \
	NHC/SizedTypes.hs NHC/PosixTypes.hsc \
	System/IO.hs System/IO/Error.hs System/IO/Unsafe.hs \
	System/Environment.hs System/Exit.hs \
	System/Mem.hs System/Info.hs \
	System/Console/GetOpt.hs \
	System/CPUTime.hsc System/Timeout.hs \
	Foreign/Ptr.hs Foreign/StablePtr.hs Foreign/Storable.hs \
	Foreign/ForeignPtr.hs Foreign/C/Types.hs \
	Foreign/Marshal/Alloc.hs Foreign/Marshal/Array.hs \
	Foreign/Marshal/Utils.hs Foreign/Marshal/Error.hs \
	Foreign/Marshal/Pool.hs Foreign/Marshal.hs \
	Foreign/C/String.hs Foreign/C/Error.hs Foreign/C.hs Foreign.hs \
	Text/Printf.hs \
	Text/Read.hs Text/Show.hs Text/Show/Functions.hs \
	Text/ParserCombinators/ReadP.hs Data/Version.hs \
	Unsafe/Coerce.hs \
	WCsubst.c \
	System/Posix/Types.hs \

# now moved to separate packages:
#	System/Directory.hs \
#	System/Directory/Internals.hs \
#	Text/PrettyPrint/HughesPJ.hs Text/PrettyPrint.hs \
#	System/Random.hs System/Locale.hs System/Time.hsc \
#	System/Cmd.hs

#	Text/Regex/Posix.hsc Text/Regex.hs \
#	Text/ParserCombinators/ReadPrec.hs
#	[Data/Dynamic.hs] Data/Generics.hs Data/STRef.hs Data/Unique.hs
#	System/Mem.hs System/Mem/StableName.hs System/Mem/Weak.hs
#	System/Posix/Types.hs System/Posix/Signals.hsc
#	Text/Read/Lex.hs
#	System/FilePath.hs


# Here are the main rules.
include ../Makefile.common

# some extra rules
extra:
	if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
	if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
extracfiles:
	if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
	if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi

# Here are any extra dependencies.

# C-files dependencies.


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].