mv code back into src/. Kindly pointed out by Lemmih
This commit is contained in:
parent
150b37cb4b
commit
c336af2b0e
2
configure
vendored
2
configure
vendored
@ -271,7 +271,7 @@ PACKAGE_VERSION=
|
|||||||
PACKAGE_STRING=
|
PACKAGE_STRING=
|
||||||
PACKAGE_BUGREPORT=
|
PACKAGE_BUGREPORT=
|
||||||
|
|
||||||
ac_unique_file="System/Plugins.hs"
|
ac_unique_file="src/System/Plugins.hs"
|
||||||
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os PREFIX TOP GHC GLASGOW_HASKELL HASKELL_SRC TEX TEX2PAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os PREFIX TOP GHC GLASGOW_HASKELL HASKELL_SRC TEX TEX2PAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
|
||||||
ac_subst_files=''
|
ac_subst_files=''
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
# only AC_DEFINES are visible in Haskell src
|
# only AC_DEFINES are visible in Haskell src
|
||||||
|
|
||||||
# sanity test
|
# sanity test
|
||||||
AC_INIT(System/Plugins.hs)
|
AC_INIT(src/System/Plugins.hs)
|
||||||
|
|
||||||
# Prepare to generate the config.h.in file
|
# Prepare to generate the config.h.in file
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
@ -30,8 +30,9 @@ exposed-modules:
|
|||||||
System.Plugins.Process,
|
System.Plugins.Process,
|
||||||
System.Plugins.Utils
|
System.Plugins.Utils
|
||||||
c-sources:
|
c-sources:
|
||||||
Language/Hi/hschooks.c
|
src/Language/Hi/hschooks.c
|
||||||
includes: Linker.h
|
includes: Linker.h
|
||||||
extensions: CPP, ForeignFunctionInterface
|
extensions: CPP, ForeignFunctionInterface
|
||||||
Build-Depends: base, Cabal, haskell-src
|
Build-Depends: base, Cabal, haskell-src
|
||||||
ghc-options: -Wall -O -fvia-C -funbox-strict-fields -fno-warn-missing-signatures
|
ghc-options: -Wall -O -fvia-C -funbox-strict-fields -fno-warn-missing-signatures
|
||||||
|
Hs-source-dirs: src
|
||||||
|
@ -30,9 +30,9 @@ exposed-modules:
|
|||||||
System.Plugins.Process,
|
System.Plugins.Process,
|
||||||
System.Plugins.Utils
|
System.Plugins.Utils
|
||||||
c-sources:
|
c-sources:
|
||||||
Language/Hi/hschooks.c
|
src/Language/Hi/hschooks.c
|
||||||
includes: Linker.h
|
includes: Linker.h
|
||||||
extensions: CPP, ForeignFunctionInterface
|
extensions: CPP, ForeignFunctionInterface
|
||||||
Build-Depends: base, Cabal, haskell-src-exts
|
Build-Depends: base, Cabal, haskell-src-exts
|
||||||
ghc-options: -Wall -O -fvia-C -funbox-strict-fields -fno-warn-missing-signatures
|
ghc-options: -Wall -O -fvia-C -funbox-strict-fields -fno-warn-missing-signatures
|
||||||
|
Hs-source-dirs: src
|
||||||
|
@ -48,7 +48,7 @@ import Language.Hi.Syntax
|
|||||||
import Language.Hi.Binary
|
import Language.Hi.Binary
|
||||||
import Language.Hi.FastString
|
import Language.Hi.FastString
|
||||||
|
|
||||||
#include "../../config.h"
|
#include "../../../config.h"
|
||||||
|
|
||||||
-- ---------------------------------------------------------------------------
|
-- ---------------------------------------------------------------------------
|
||||||
-- how to get there from here
|
-- how to get there from here
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
module System.Plugins.Consts where
|
module System.Plugins.Consts where
|
||||||
|
|
||||||
#include "../../config.h"
|
#include "../../../config.h"
|
||||||
|
|
||||||
|
|
||||||
#if __GLASGOW_HASKELL__ >= 604
|
#if __GLASGOW_HASKELL__ >= 604
|
@ -45,7 +45,7 @@ module System.Plugins.Env (
|
|||||||
|
|
||||||
) where
|
) where
|
||||||
|
|
||||||
#include "../../config.h"
|
#include "../../../config.h"
|
||||||
|
|
||||||
import System.Plugins.LoadTypes (Module)
|
import System.Plugins.LoadTypes (Module)
|
||||||
import System.Plugins.PackageAPI {- everything -}
|
import System.Plugins.PackageAPI {- everything -}
|
@ -49,7 +49,7 @@ module System.Plugins.Load (
|
|||||||
|
|
||||||
) where
|
) where
|
||||||
|
|
||||||
#include "../../config.h"
|
#include "../../../config.h"
|
||||||
|
|
||||||
import System.Plugins.Make ( build )
|
import System.Plugins.Make ( build )
|
||||||
import System.Plugins.Env
|
import System.Plugins.Env
|
@ -36,7 +36,7 @@ module System.Plugins.PackageAPI (
|
|||||||
, updLibraryDirs
|
, updLibraryDirs
|
||||||
) where
|
) where
|
||||||
|
|
||||||
#include "../../config.h"
|
#include "../../../config.h"
|
||||||
|
|
||||||
#if CABAL == 1 || __GLASGOW_HASKELL__ >= 604
|
#if CABAL == 1 || __GLASGOW_HASKELL__ >= 604
|
||||||
import Distribution.InstalledPackageInfo
|
import Distribution.InstalledPackageInfo
|
@ -24,7 +24,7 @@ module System.Plugins.Parser (
|
|||||||
replaceModName
|
replaceModName
|
||||||
) where
|
) where
|
||||||
|
|
||||||
#include "../../config.h"
|
#include "../../../config.h"
|
||||||
|
|
||||||
import Data.List
|
import Data.List
|
||||||
import Data.Char
|
import Data.Char
|
@ -56,7 +56,7 @@ module System.Plugins.Utils (
|
|||||||
|
|
||||||
) where
|
) where
|
||||||
|
|
||||||
#include "../../config.h"
|
#include "../../../config.h"
|
||||||
|
|
||||||
import System.Plugins.Env ( isLoaded )
|
import System.Plugins.Env ( isLoaded )
|
||||||
import System.Plugins.Consts ( objSuf, hiSuf, tmpDir )
|
import System.Plugins.Consts ( objSuf, hiSuf, tmpDir )
|
Loading…
x
Reference in New Issue
Block a user