1
0
Fork 0
mutter-performance-source/deps/gmodule/Makefile.am
Damien Lespiau d2c41502a4 build: Allow to build cogl without an external glib dependency
This commit pushes --disable-glib to the extreme of embedding the par of
glib cogl depends on in tree to be able to generate a DSO that does not
depend on an external glib.

To do so, it:
  - keeps a lot of glib's configure.ac in as-glibconfig.m4
  - pulls the code cogl depends on and the necessary dependencies

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2013-01-22 17:47:58 +00:00

32 lines
622 B
Makefile

noinst_LTLIBRARIES = libgmodule.la
libgmodule_la_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/deps \
-I$(top_srcdir)/deps/glib \
-I$(top_builddir)/deps/glib \
-Wall \
$(NULL)
EXTRA_DIST = \
gmoduleconf.h.in \
gmodule-dl.c \
gmodule-dld.c \
gmodule-dyld.c \
gmodule-win32.c \
gmoduleconf.h.win32 \
$(NULL)
BUILT_SOURCES = gmoduleconf.h
gmoduleconf.h: gmoduleconf.h.in
libgmodule_la_SOURCES = gmodule.c
libgmodule_la_LIBADD = \
$(G_MODULE_LIBS_EXTRA) \
$(G_MODULE_LIBS) \
$(top_builddir)/deps/glib/$(libglib) \
$(NULL)
libgmodule_la_LDFLAGS = \
$(G_MODULE_LDFLAGS) \
$(NULL)