Commit 1682eab7 authored by panne's avatar panne
Browse files

[project @ 2000-07-08 23:08:02 by panne]

Synched section on packages with new generalized package file format
parent ac476ed9
...@@ -1606,12 +1606,12 @@ construction of interface files, is (allegedly) in the works. ...@@ -1606,12 +1606,12 @@ construction of interface files, is (allegedly) in the works.
import_dirs = ["/usr/local/lib/imports/mypkg"], import_dirs = ["/usr/local/lib/imports/mypkg"],
library_dirs = ["/usr/local/lib"], library_dirs = ["/usr/local/lib"],
libraries = ["HSmypkg", "HSmypkg_cbits"], libraries = ["HSmypkg", "HSmypkg_cbits"],
include_dir = "", include_dirs = [],
c_include = "HsMyPkg.h", c_includes = ["HsMyPkg.h"],
package_deps = ["text", "data"], package_deps = ["text", "data"],
extra_ghc_opts = "", extra_ghc_opts = [],
extra_cc_opts = "", extra_cc_opts = [],
extra_ld_opts = "-lmy_clib" extra_ld_opts = ["-lmy_clib"]
} }
) )
</screen> </screen>
...@@ -1659,25 +1659,26 @@ construction of interface files, is (allegedly) in the works. ...@@ -1659,25 +1659,26 @@ construction of interface files, is (allegedly) in the works.
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>include_dir</literal></term> <term><literal>include_dirs</literal></term>
<indexterm><primary><literal>include_dir</literal></primary> <indexterm><primary><literal>include_dirs</literal></primary>
<secondary>package specification</secondary></indexterm> <secondary>package specification</secondary></indexterm>
<listitem> <listitem>
<para>A directory containing C includes for this package <para>A list of directories containing C includes for this
(may be the empty string).</para> package (maybe the empty list).</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>c_include</literal></term> <term><literal>c_includes</literal></term>
<indexterm><primary><literal>c_include</literal></primary> <indexterm><primary><literal>c_includes</literal></primary>
<secondary>package specification</secondary></indexterm> <secondary>package specification</secondary></indexterm>
<listitem> <listitem>
<para>A file to include for via-C compilations using this <para>A list of files to include for via-C compilations
package. Typically this include file will contain using this package. Typically this include file will
function prototypes for any C functions used in the contain function prototypes for any C functions used in
package, in case they end up being called as a result of the package, in case they end up being called as a result
Haskell functions from the package being inlined.</para> of Haskell functions from the package being
inlined.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment