aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.conf.in
blob: 17e7473dc7872f99f65ac6be9a3093a06771f64a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include "ghcconfig.h"

Package {
	name		= "unix",
	auto		= True,
#ifdef INSTALLING
	import_dirs	= [ "$libdir/imports" ],
#else
	import_dirs	= [ "$libdir/libraries/unix" ],
#endif
	source_dirs	= [],
#ifdef INSTALLING
	library_dirs	= [ "$libdir" ],
#else
	library_dirs	= [ "$libdir/libraries/unix",
			    "$libdir/libraries/unix/cbits" ],
#endif
	hs_libraries	= [ "HSunix" ],
	extra_libraries	= [ "HSunix_cbits"
#ifndef HAVE_FRAMEWORK_HASKELLSUPPORT
#ifdef HAVE_LIBDL
			  , "dl"
#endif
#endif
			  ],

#ifdef INSTALLING
        include_dirs	= [],
#else
        include_dirs	= [ "$libdir/libraries/unix/include" ],
#endif
        c_includes	= [ "HsUnix.h" ],
        package_deps	= [ "base" ],
        extra_ghc_opts	= [],
        extra_cc_opts	= [],
        extra_ld_opts	= []
}