Inching closer to making the HGL part of the standard build.
This commit is mostly to remove bits of xlib and greencard whch had
crept into the source tree.
ToDo:
- make greencard part of standard build (waiting for response from
simonM)
- make greencard install libHSgreencard when it builds
- find a autoconf-respecting way of installing the package
- only build xlib and HGL if you have X11 installed
- merge all these changes into HEAD
- should the demos/ tests be built as part of the standard build?
what's the convention here?
(Note that the tests can't be used in batch more - you gotta click
on the window.)
- a little debugging - the tests aren't quite working.
extra_ld_opts = []
}
+ ,Package {
+ name = "HGL",
+ import_dirs = if installing
+ then [ "$libdir/imports/HGL" ]
+ else [ "$libdir/hslibs/graphics/lib/x11" ],
+ source_dirs = [],
+ library_dirs = [],
+ hs_libraries = [ "HSHGL" ],
+ extra_libraries= [],
+ include_dirs = [],
+ c_includes = [],
+ package_deps = [ "xlib", "concurrent" ],
+ extra_ghc_opts = [],
+ extra_cc_opts = [],
+ extra_ld_opts = []
+ }
+
]
where
ghc_src_dir :: String -> String