diff options
author | Ian Lynagh <igloo@earth.li> | 2011-12-02 21:35:18 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-12-02 21:38:04 +0000 |
commit | e8723129a6c48438e81f95a73271014ffa96eaa3 (patch) | |
tree | c82faa1a063be27fdd827deeda1d4f5e41418a3c /includes/HaskellConstants.hs | |
parent | 2694bb74158bac7276cded2435bba8e889659f98 (diff) | |
download | haskell-e8723129a6c48438e81f95a73271014ffa96eaa3.tar.gz |
Move includes/DerivedConstants.h and includes/GHCConstants.h into dist dirs
When they existed, they were getting included in the includes_H_FILES
variable (as it uses wildcard to find all header files). But the
.depends files for the programs that generate the headers depend on
$(includes_H_FILES), so the .depends files looked out-of-date once the
headers had been created. This caused unnecessary make reinvocations.
So now we put them in dist* directories, where they ought to be anyway.
Diffstat (limited to 'includes/HaskellConstants.hs')
-rw-r--r-- | includes/HaskellConstants.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/HaskellConstants.hs b/includes/HaskellConstants.hs index f133f6ac62..e38e896ba0 100644 --- a/includes/HaskellConstants.hs +++ b/includes/HaskellConstants.hs @@ -19,7 +19,7 @@ settings for the target plat instead). #include "stg/MachRegs.h" #include "rts/Constants.h" #include "MachDeps.h" -#include "DerivedConstants.h" +#include "../includes/dist-derivedconstants/header/DerivedConstants.h" -- import Util @@ -196,5 +196,5 @@ bITMAP_BITS_SHIFT = BITMAP_BITS_SHIFT -- Constants derived from headers in ghc/includes, generated by the program -- ../includes/mkDerivedConstants.c. -#include "GHCConstants.h" +#include "../includes/dist-ghcconstants/header/GHCConstants.h" |