Update of /cvsroot/gtk2hs/gtk2hs/gtk
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31883/gtk
Added Files:
gtk.pkg.in
Removed Files:
gtk2hs.pkg.in
Log Message:
Rename package libs to libHS{pkg}.a, ie follow ghc convention and prefix them
with HS so we do not get name clashes with system libraries.
Rename the gtk2hs package to be just gtk.
Get the flags to put into the *pkg.in files to work properly for packages
other than the main gtk pacakge by adding a couple macros to aclocal.m4 and
changing all the *.pkg.in files appropriately.
Eliminate use of compat/* modules and lang & data pacakges in Makefile.am.
Small fix to install-data-hook target in mk/common.mk.
--- gtk2hs.pkg.in DELETED ---
--- NEW FILE: gtk.pkg.in ---
Package {
name = "gtk",
auto = False,
import_dirs = ["@hidir@"],
source_dirs = [],
library_dirs = [@GTK_LIBDIR_CQ@],
hs_libraries = ["HSgtk"],
extra_libraries = [@GTK_LIBS_CQ@],
include_dirs = [@GTK_CFLAGS_CQ@],
c_includes = ["gtk/gtk.h"],
package_deps = ["base"],
extra_ghc_opts = [],
extra_cc_opts = [],
extra_ld_opts = [@GTK_LIBEXTRA_CQ@]
}
|