driver: pass '-fPIC' option to all CC invocations
[ghc.git] / .gitignore
index 2bbf800..bb4a293 100644 (file)
@@ -5,6 +5,7 @@ Thumbs.db
 .DS_Store
 
 *~
+*#
 #*#
 *.bak
 *.BAK
@@ -25,6 +26,9 @@ Thumbs.db
 *.a
 *.o.cmd
 *.depend*
+*.dyn_o
+*.dyn_hi
+
 log
 tags
 
@@ -33,6 +37,11 @@ config.log
 config.status
 configure
 
+# Temporarily generated configure files
+confdefs.h
+conftest-book.xml
+conftest.xml
+
 # -----------------------------------------------------------------------------
 # Ignore any overlapped darcs repos and back up files
 
@@ -43,46 +52,27 @@ _darcs/
 # sub-repositories
 
 /ghc-tarballs/
-/libraries/Cabal/
-/libraries/Win32/
-/libraries/array/
-/libraries/base/
-/libraries/binary/
-/libraries/bytestring/
-/libraries/containers/
-/libraries/deepseq/
-/libraries/directory/
-/libraries/dph/
-/libraries/extensible-exceptions/
-/libraries/filepath/
-/libraries/ghc-prim/
-/libraries/haskeline/
-/libraries/haskell2010/
-/libraries/haskell98/
-/libraries/hoopl/
-/libraries/hpc/
-/libraries/integer-gmp/
-/libraries/integer-simple/
-/libraries/mtl/
-/libraries/old-locale/
-/libraries/old-time/
-/libraries/parallel/
-/libraries/pretty/
-/libraries/primitive/
-/libraries/process/
-/libraries/random/
-/libraries/stm/
-/libraries/template-haskell/
-/libraries/terminfo/
-/libraries/transformers
-/libraries/unix/
-/libraries/utf8-string/
-/libraries/vector/
-/libraries/xhtml/
-/nofib/
-/testsuite/
-/utils/haddock/
-/utils/hsc2hs/
+
+# -----------------------------------------------------------------------------
+# Cabal dist directories
+
+/driver/ghc/dist/
+/driver/haddock/dist/
+/driver/ghci/dist/
+/driver/split/dist/
+/includes/dist-*/
+/libffi/dist-install/
+/libraries/*/dist-boot/
+/libraries/*/dist-install/
+/libraries/dist-haddock/
+/rts/dist/
+/utils/*/dist*/
+/compiler/stage1/
+/compiler/stage2/
+/compiler/stage3/
+/ghc/stage1/
+/ghc/stage2/
+/ghc/stage3/
 
 # -----------------------------------------------------------------------------
 # specific generated files
@@ -93,30 +83,9 @@ _darcs/
 /bindisttest/
 /ch01.html
 /ch02.html
-/compiler/cmm/CmmLex.hs
-/compiler/cmm/CmmParse.hs
+/compiler/dist/
 /compiler/ghc.cabal
 /compiler/ghc.cabal.old
-/compiler/ghci/LibFFI.hs
-/compiler/ghci/LibFFI_hsc.c
-/compiler/main/Config.hs
-/compiler/main/ParsePkgConf.hs
-/compiler/parser/HaddockLex.hs
-/compiler/parser/HaddockParse.hs
-/compiler/parser/Lexer.hs
-/compiler/parser/Parser.hs
-/compiler/parser/Parser.y
-/compiler/parser/ParserCore.hs
-/compiler/prelude/primops.txt
-/compiler/primop*incl
-/compiler/stage1/
-/compiler/stage2/
-/compiler/stage3/
-/compiler/utils/Fingerprint.hs
-/compiler/utils/Fingerprint_hsc.c
-/distrib/MacOS/GHC-system.pmdoc/index.xml
-/distrib/MacOS/installer-scripts/Uninstaller
-/distrib/MacOS/installer-scripts/create-links
 /distrib/configure.ac
 /distrib/ghc.iss
 /docs/index.html
@@ -130,36 +99,19 @@ _darcs/
 /docs/users_guide/users_guide.ps
 /docs/users_guide/users_guide/
 /docs/users_guide/what_glasgow_exts_does.gen.xml
-/driver/ghc/dist/
-/driver/haddock/dist/
 /driver/ghci/ghc-pkg-inplace
 /driver/ghci/ghci-inplace
-/driver/ghci/dist/
 /driver/ghci/ghci.res
-/driver/mangler/dist/ghc-asm
-/driver/mangler/dist/ghc-asm.prl
 /driver/package.conf
 /driver/package.conf.inplace.old
-/driver/split/dist/ghc-split
-/driver/split/dist/ghc-split.prl
-/driver/stamp-pkg-conf-rts
 /settings
 /ghc.spec
 /ghc/ghc-bin.cabal
-/ghc/stage1/
-/ghc/stage2/
-/ghc/stage3/
-/includes/DerivedConstants.h
-/includes/GHCConstants.h
-/includes/dist-*/
 /includes/ghcautoconf.h
 /includes/ghcplatform.h
-/includes/mkDerivedConstantsHdr
-/includes/mkGHCConstants
-/inplace-datadir/
+/includes/ghcversion.h
 /index.html
 /inplace/
-/libffi/dist-install/
 /libffi/build/
 /libffi/ffi.h
 /libffi/package.conf.inplace
@@ -182,10 +134,6 @@ _darcs/
 /libraries/plus.gif
 /libraries/synopsis.png
 /libraries/stamp/
-/libraries/time/
-/libraries/*/dist-boot/
-/libraries/*/dist-install/
-/libraries/dist-haddock/
 /mk/are-validating.mk
 /mk/build.mk
 /mk/config.h
@@ -195,51 +143,27 @@ _darcs/
 /mk/install.mk
 /mk/project.mk
 /mk/project.mk.old
-/mk/stamp-h
 /mk/validate.mk
-/rts/dist/
-/rts/AutoApply.*cmm
 /rts/package.conf.inplace
 /rts/package.conf.inplace.raw
-/rts/sm/Evac_thr.c
-/rts/sm/Scav_thr.c
 /rts/package.conf.install
 /rts/package.conf.install.raw
 /stage3.package.conf
 /testsuite_summary.txt
 /testlog
-/utils/*/dist*/
-/utils/ext-core/Driver
-/utils/ext-core/PrimEnv.hs
-/utils/genapply/genapply
-/utils/genprimopcode/Lexer.hs
-/utils/genprimopcode/Parser.hs
-/utils/genprimopcode/genprimopcode
-/utils/ghc-pkg/Version.hs
-/utils/ghc-pkg/ghc-pkg-inplace
-/utils/ghc-pkg/ghc-pkg-inplace.bin
-/utils/ghc-pkg/ghc-pkg-inplace.hs
-/utils/ghc-pkg/ghc-pkg.bin
-/utils/ghc-pwd/dist-boot/ghc-pwd
-/utils/hasktags/hasktags
-/utils/hasktags/hasktags-inplace
-/utils/hp2ps/hp2ps
-/utils/hpc/HpcParser.hs
-/utils/lndir/lndir
-/utils/mkdependC/mkdependC
-/utils/mkdirhier/mkdirhier
-/utils/prof/cgprof/cgprof
-/utils/prof/ghcprof-inplace
-/utils/pwd/pwd
-/utils/pwd/pwd-inplace
-/utils/runghc/runghc
-/utils/runghc/runghc-inplace
 /utils/runghc/runghc.cabal
-/utils/runghc/runhaskell
-/utils/runstdtest/runstdtest
-/utils/unlit/unlit
-
 
 /extra-gcc-opts
+/sdistprep
 
 .tm_properties
+VERSION
+GIT_COMMIT_ID
+
+# -------------------------------------------------------------------------------------
+# when using a docker image, one can mount the source code directory as the home folder
+# -------------------------------------------------------------------------------------
+.arcrc
+.ghc
+.bash_history
+.gitconfig