Commit af3ecf88 authored by Christian Persch's avatar Christian Persch Committed by Christian Persch

Use gnome-common macro for WARN_CFLAGS. Bug #399134.

2007-06-21  Christian Persch  <chpe@gnome.org>

	* bindings/python/Makefile.am:
	* configure.ac:
	* gladeui/Makefile.am:
	* plugins/gnome/Makefile.am:
	* plugins/gtk+/Makefile.am:
	* src/Makefile.am: Use gnome-common macro for WARN_CFLAGS. Bug
	#399134.

svn path=/trunk/; revision=1382
parent a89d528d
2007-06-21 Christian Persch <chpe@gnome.org>
* bindings/python/Makefile.am:
* configure.ac:
* gladeui/Makefile.am:
* plugins/gnome/Makefile.am:
* plugins/gtk+/Makefile.am:
* src/Makefile.am: Use gnome-common macro for WARN_CFLAGS. Bug
#399134.
2006-06-21 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/glade-app.[ch], gladeui/glade-widget-adaptor.c: Misc cleanups.
......
......@@ -14,14 +14,14 @@ libgladepython_la_CPPFLAGS = \
-I$(top_builddir) \
$(AM_CPPFLAGS)
libgladepython_la_CFLAGS = \
-g @GCC_WARN_FLAGS@ \
-I$(top_srcdir) \
-I$(top_builddir) \
$(PYTHON_CFLAGS) \
libgladepython_la_CFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir) \
$(PYTHON_CFLAGS) \
$(NO_STRICT_ALIASING_CFLAGS) \
$(PYGTK_CFLAGS) \
$(GTK_CFLAGS) \
$(WARN_CFLAGS) \
$(AM_CFLAGS)
libgladepython_la_LDFLAGS = -module -avoid-version
......@@ -33,5 +33,5 @@ libgladepython_la_LIBADD = \
$(PYGTK_LIBS)
if PLATFORM_WIN32
libgladepython_la_LDFLAGS += -no-undefined
libgladepython_la_LDFLAGS += -no-undefined
endif
......@@ -56,6 +56,13 @@ AC_SUBST(GLADE_CURRENT)
AC_SUBST(GLADE_AGE)
AC_SUBST(GLADE_CURRENT_MINUS_AGE)
# ================================================================
GNOME_COMMON_INIT
GNOME_DEBUG_CHECK
GNOME_COMPILE_WARNINGS([maximum])
GNOME_MAINTAINER_MODE_DEFINES
dnl ================================================================
dnl Gettext stuff.
dnl ================================================================
......
......@@ -72,8 +72,8 @@ libgladeui_1_la_CPPFLAGS = \
$(AM_CPPFLAGS)
libgladeui_1_la_CFLAGS = \
-g @GCC_WARN_FLAGS@ \
$(GTK_CFLAGS) \
$(WARN_CFLAGS) \
$(AM_CFLAGS)
libgladeui_1_la_LDFLAGS = -version-info $(GLADE_CURRENT):$(GLADE_REVISION):$(GLADE_AGE) $(AM_LDFLAGS)
......@@ -118,8 +118,8 @@ libgladeuiinclude_HEADERS = \
if PLATFORM_WIN32
libgladeui_1_la_LDFLAGS += -no-undefined -Wl,gladeui-win32-res.o -export-symbols gladeui.def
libgladeui_1_la_DEPENDENCIES = gladeui.def gladeui-win32-res.o
libgladeui_1_la_LDFLAGS += -no-undefined -Wl,gladeui-win32-res.o -export-symbols gladeui.def
libgladeui_1_la_DEPENDENCIES = gladeui.def gladeui-win32-res.o
endif
gladeui-win32-res.o: gladeui.rc
......
......@@ -13,11 +13,11 @@ gladegnomedir = $(pkglibdir)/modules
libgladegnome_la_SOURCES = glade-gnome.c
libgladegnome_la_CPPFLAGS = $(AM_CPPFLAGS)
libgladegnome_la_CFLAGS = \
-g @GCC_WARN_FLAGS@ \
-I$(top_srcdir) \
-I$(top_builddir) \
-I$(top_srcdir)/plugins/gtk+ \
$(GNOME_CFLAGS) \
$(WARN_CFLAGS) \
$(AM_CPPFLAGS)
libgladegnome_la_LDFLAGS = -module -avoid-version $(GNOME_LIBS) $(AM_LDFLAGS)
libgladegnome_la_LIBADD = $(libgladeui) $(GLADE_LIBS)
......
......@@ -15,12 +15,12 @@ libgladegtk_la_CPPLAGS = \
-I$(top_builddir) \
$(AM_CPPFLAGS)
libgladegtk_la_CFLAGS = \
-g @GCC_WARN_FLAGS@ \
-I$(top_srcdir) \
-I$(top_srcdir) \
-I$(top_builddir) \
$(GTK_CFLAGS) \
libgladegtk_la_CFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir) \
-I$(top_builddir) \
$(GTK_CFLAGS) \
$(WARN_CFLAGS) \
$(AM_CFLAGS)
libgladegtk_la_SOURCES = glade-gtk.c glade-gtk.h
......
......@@ -8,9 +8,9 @@ glade_3_CPPFLAGS = \
-DGLADE_GNOMEHELPDIR="\"$(HELP_DIR)\""
$(AM_CPPFLAGS)
glade_3_CFLAGS = \
-g @GCC_WARN_FLAGS@ \
$(GTK_CFLAGS) \
glade_3_CFLAGS = \
$(GTK_CFLAGS) \
$(WARN_CFLAGS) \
$(AM_CFLAGS)
glade_3_LDFLAGS = $(AM_LDFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment