[build] Clean up cogl-pango Makefile

* Do _not_ use CLUTTER_MAJORMINOR to define the installation path
  for the headers; we must use CLUTTER_API_VERSION for that.

* Do not put the C compiler flags in the INCLUDES directive.

Bases on a patch by: Gary Ching-Pang Lin <glin@novell.com>
This commit is contained in:
Emmanuele Bassi 2009-08-14 11:29:03 +01:00
parent 5c8ae6d2dc
commit 3abf393b87

View File

@ -14,7 +14,7 @@ source_h_priv = \
noinst_LTLIBRARIES = libcoglpango.la
libcoglpango_la_SOURCES = $(source_c) $(source_h) $(source_h_priv)
libcoglpango_la_CPPFLAGS = $(CLUTTER_CFLAGS)
libcoglpango_la_CPPFLAGS = $(CLUTTER_CFLAGS) $(COGL_DEBUG_CFLAGS) $(MAINTAINER_CFLAGS)
libcoglpango_la_LIBADD = $(CLUTTER_LIBS)
INCLUDES = \
@ -25,10 +25,7 @@ INCLUDES = \
-I$(top_srcdir)/clutter \
-I$(top_srcdir)/clutter/cogl \
-I$(top_builddir)/clutter \
-I$(top_builddir)/clutter/cogl \
$(CLUTTER_DEBUG_CFLAGS) \
$(COGL_DEBUG_CFLAGS) \
$(MAINTAINER_CFLAGS)
-I$(top_builddir)/clutter/cogl
coglpangoheadersdir = $(includedir)/clutter-@CLUTTER_MAJORMINOR@/cogl
coglpangoheadersdir = $(includedir)/clutter-@CLUTTER_API_VERSION@/cogl
coglpangoheaders_HEADERS = $(source_h)