build: replace deprecated INCLUDES with AM_CPPFLAGS
This commit is contained in:
parent
97aac40bd2
commit
81b9e0200f
22 changed files with 36 additions and 26 deletions
|
|
@ -3,7 +3,7 @@ include $(top_srcdir)/Makefile.decl
|
|||
|
||||
SUBDIRS = gtk-demo
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ demos = \
|
|||
tree_store.c \
|
||||
ui_manager.c
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-DDEMOCODEDIR="\"$(democodedir)\"" \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ EXTRA_HFILES= \
|
|||
|
||||
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
||||
# if $(DOC_MODULE).types is non-empty.
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ IGNORE_HFILES= \
|
|||
|
||||
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
||||
# if $(DOC_MODULE).types is non-empty.
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ CFILE_GLOB = $(top_srcdir)/modules/other/gail/libgail-util/*.c
|
|||
|
||||
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
||||
# if $(DOC_MODULE).types is non-empty.
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
$(DEP_CFLAGS)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ EXTRA_DIST += \
|
|||
abicheck.sh \
|
||||
pltcheck.sh
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DGDK_COMPILATION \
|
||||
-I$(top_srcdir) \
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ include $(top_srcdir)/Makefile.decl
|
|||
|
||||
libgdkincludedir = $(includedir)/gtk-2.0/gdk
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk-DirectFB\" \
|
||||
-DGDK_COMPILATION \
|
||||
-I$(top_srcdir) \
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ include $(top_srcdir)/Makefile.decl
|
|||
|
||||
libgdkincludedir = $(includedir)/gtk-2.0/gdk
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DGDK_COMPILATION \
|
||||
-I$(top_srcdir) \
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ include $(top_srcdir)/Makefile.decl
|
|||
|
||||
libgdkincludedir = $(includedir)/gtk-2.0/gdk
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DINSIDE_GDK_WIN32 \
|
||||
-I$(top_srcdir) \
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ include $(top_srcdir)/Makefile.decl
|
|||
|
||||
libgdkincludedir = $(includedir)/gtk-2.0/gdk
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DGDK_COMPILATION \
|
||||
-I$(top_srcdir) \
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ GTK_PLAT_CFLAGS_DEFINES = \
|
|||
-DGTK_PRINT_BACKENDS=\"$(GTK_PRINT_BACKENDS)\" \
|
||||
-DGTK_PRINT_PREVIEW_COMMAND=\"$(GTK_PRINT_PREVIEW_COMMAND)\"
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
$(GTK_BASE_CFLAGS_DEFINES) \
|
||||
$(GTK_PLAT_CFLAGS_DEFINES) \
|
||||
-DG_LOG_DOMAIN=\"Gtk\" \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
$(BASE_DEPENDENCIES_CFLAGS)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ SUBDIRS=Theme
|
|||
|
||||
EXTRA_DIST += Makefile.msc
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ if PLATFORM_WIN32
|
|||
no_undefined = -no-undefined
|
||||
endif
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ if PLATFORM_WIN32
|
|||
no_undefined = -no-undefined
|
||||
endif
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
|
|
@ -154,7 +154,9 @@ IME_MODULE=im-ime.la
|
|||
endif
|
||||
endif
|
||||
|
||||
im_quartz_la_CPPFLAGS = -xobjective-c
|
||||
im_quartz_la_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
-xobjective-c
|
||||
im_quartz_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_quartz_la_SOURCES = imquartz.c
|
||||
libstatic_im_quartz_la_SOURCES = $(im_quartz_la_SOURCES)
|
||||
|
|
@ -167,8 +169,14 @@ QUARTZ_MODULE = im-quartz.la
|
|||
endif
|
||||
endif
|
||||
|
||||
multipress_defs = -DMULTIPRESS_LOCALEDIR=\""$(mplocaledir)"\" -DMULTIPRESS_CONFDIR=\""$(sysconfdir)/gtk-2.0"\"
|
||||
im_multipress_la_CPPFLAGS = $(multipress_defs)
|
||||
multipress_defs = \
|
||||
-DMULTIPRESS_LOCALEDIR=\""$(mplocaledir)"\" \
|
||||
-DMULTIPRESS_CONFDIR=\""$(sysconfdir)/gtk-2.0"\"
|
||||
|
||||
im_multipress_la_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
$(multipress_defs)
|
||||
|
||||
libstatic_im_multipress_la_CPPFLAGS = $(im_multipress_la_CPPFLAGS)
|
||||
im_multipress_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_multipress_la_SOURCES = \
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ if PLATFORM_WIN32
|
|||
no_undefined = -no-undefined
|
||||
endif
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ if PLATFORM_WIN32
|
|||
no_undefined = -no-undefined
|
||||
endif
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ if OS_WIN32
|
|||
no_undefined = -no-undefined
|
||||
endif
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
## Makefile.am for gtk+/perf
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
## Makefile.am for gtk+/tests
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
|
|
@ -95,7 +95,9 @@ noinst_PROGRAMS += autotestkeywords
|
|||
TESTS = autotestkeywords
|
||||
|
||||
autotestkeywords_SOURCES = autotestkeywords.cc
|
||||
autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
|
||||
autotestkeywords_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
-I$(srcdir)/dummy-headers
|
||||
|
||||
if HAVE_OBJC
|
||||
autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
|
||||
|
|
|
|||
Loading…
Reference in a new issue