mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
c84da3ce1b
If mutter is going to be a "real" library, then it should install its includes so that users can do #include <meta/display.h> rather than #include <display.h> So rename the includedir accordingly, move src/include to src/meta, and fix up all internal references. There were a handful of header files in src/include that were not installed; this appears to have been part of a plan to keep core/, ui/, and compositor/ from looking at each others' private includes, but that wasn't really working anyway. So move all non-installed headers back into core/ or ui/. https://bugzilla.gnome.org/show_bug.cgi?id=643959
19 lines
1.0 KiB
Makefile
19 lines
1.0 KiB
Makefile
|
|
pkglibdir=@MUTTER_PLUGIN_DIR@
|
|
|
|
INCLUDES=@MUTTER_CFLAGS@ -I $(top_srcdir)/src -DMUTTER_LIBEXECDIR=\"$(libexecdir)\" -DHOST_ALIAS=\"@HOST_ALIAS@\" -DMUTTER_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" -DMUTTER_PKGDATADIR=\"$(pkgdatadir)\" -DMUTTER_DATADIR=\"$(datadir)\" -DG_LOG_DOMAIN=\"mutter\" -DSN_API_NOT_YET_FROZEN=1 -DMUTTER_MAJOR_VERSION=$(MUTTER_MAJOR_VERSION) -DMUTTER_MINOR_VERSION=$(MUTTER_MINOR_VERSION) -DMUTTER_MICRO_VERSION=$(MUTTER_MICRO_VERSION) -DMUTTER_PLUGIN_API_VERSION=$(MUTTER_PLUGIN_API_VERSION) -DMUTTER_PLUGIN_DIR=\"@MUTTER_PLUGIN_DIR@\"
|
|
|
|
default_la_CFLAGS = -fPIC
|
|
default_la_SOURCES = default.c
|
|
default_la_LDFLAGS = -module -avoid-version -no-undefined
|
|
default_la_LIBADD = @CLUTTER_LIBS@
|
|
|
|
pkglib_LTLIBRARIES = default.la
|
|
|
|
# post-install hook to remove the .la and .a files we are not interested in
|
|
# (There is no way to stop libtool generating static libs locally, and we
|
|
# cannot do this globally because of libmutter-private.so).
|
|
install-exec-hook:
|
|
-rm $(DESTDIR)$(pkglibdir)/*.a
|
|
-rm $(DESTDIR)$(pkglibdir)/*.la
|