Get rid of the last remnants of PROJECT_DIR
authorIan Lynagh <igloo@earth.li>
Wed, 11 Jun 2008 23:04:33 +0000 (23:04 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 11 Jun 2008 23:04:33 +0000 (23:04 +0000)
This disappeared when we stopped being "fptools" and became just "ghc"

compiler/Makefile
compiler/main/SysTools.lhs

index 8c52e97..e75be0c 100644 (file)
@@ -257,8 +257,6 @@ $(CONFIG_HS) : $(FPTOOLS_TOP)/mk/config.mk
        @echo "cLdIsGNULd            = \"$(LdIsGNULd)\"" >> $(CONFIG_HS)
        @echo "cLD_X                 :: String" >> $(CONFIG_HS)
        @echo "cLD_X                 = \"$(LD_X)\"" >> $(CONFIG_HS)
-       @echo "cPROJECT_DIR          :: String" >> $(CONFIG_HS)
-       @echo "cPROJECT_DIR          = \"$(PROJECT_DIR)\"" >> $(CONFIG_HS)
        @echo "cGHC_DRIVER_DIR_REL   :: String" >> $(CONFIG_HS)
        @echo "cGHC_DRIVER_DIR_REL   = \"$(GHC_DRIVER_DIR_REL)\"" >> $(CONFIG_HS)
        @echo "cGHC_TOUCHY_PGM       :: String" >> $(CONFIG_HS)
index e5f1a31..934755d 100644 (file)
@@ -167,13 +167,7 @@ initSysTools mbMinusB dflags
        ; let installed, installed_bin :: FilePath -> FilePath
               installed_bin pgm   =  top_dir </> pgm
              installed     file  =  top_dir </> file
-             inplace dir   pgm   =  top_dir </> 
-#ifndef darwin_TARGET_OS
--- Not sure where cPROJECT_DIR makes sense, on Mac OS, building with
--- xcodebuild, it surely is a *bad* idea!  -=chak
-                                     cPROJECT_DIR </> 
-#endif
-                                     dir </> pgm
+             inplace dir   pgm   =  top_dir </> dir </> pgm
 
        ; let pkgconfig_path
                | am_installed = installed "package.conf"