[beast/win32] Added CFLAGS to INCLUDES; that way libraries installed in non-standard



commit aacc28b70800b3731c87d5f1d3fbaf40e65e36b9
Author: Stefan Westerfeld <stefan space twc de>
Date:   Wed Sep 2 08:53:06 2009 +0200

    Added CFLAGS to INCLUDES; that way libraries installed in non-standard
    prefixes can be located.
    
    Patch based on 008_misc_fixes.diff.

 beast-gtk/Makefile.am        |    2 +-
 bse/tests/Makefile.am        |    2 +-
 plugins/Makefile.am          |    2 +-
 plugins/freeverb/Makefile.am |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/beast-gtk/Makefile.am b/beast-gtk/Makefile.am
index 1f0c572..7866889 100644
--- a/beast-gtk/Makefile.am
+++ b/beast-gtk/Makefile.am
@@ -6,7 +6,7 @@ include $(top_srcdir)/Makefile.decl
 
 SUBDIRS = gxk dialogs icons
 
-INCLUDES += -I$(top_srcdir) -I$(top_builddir) -I$(srcdir) -I. $(BEAST_CFLAGS) -DG_DISABLE_CONST_RETURNS -DGTK_ENABLE_BROKEN
+INCLUDES += -I$(top_srcdir) -I$(top_builddir) -I$(srcdir) -I. $(BEAST_CFLAGS) $(CFLAGS) -DG_DISABLE_CONST_RETURNS -DGTK_ENABLE_BROKEN
 # -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_COMPAT_H
 
 # we specify the logging domain here
diff --git a/bse/tests/Makefile.am b/bse/tests/Makefile.am
index 4cde8f1..5a8562e 100644
--- a/bse/tests/Makefile.am
+++ b/bse/tests/Makefile.am
@@ -6,7 +6,7 @@ include $(top_srcdir)/Makefile.decl
 
 SUBDIRS =
 
-INCLUDES += -I$(top_srcdir) -I$(top_builddir) $(SFI_CFLAGS)
+INCLUDES += -I$(top_srcdir) -I$(top_builddir) $(SFI_CFLAGS) $(CFLAGS)
 
 DEFS += -DG_LOG_DOMAIN=\"BSE-TEST\" # -DG_DISABLE_CONST_RETURNS
 
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 4aca82d..67aec6b 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -6,7 +6,7 @@ include $(top_srcdir)/Makefile.decl
 
 SUBDIRS = icons . freeverb # evaluator
 
-INCLUDES += -I$(top_srcdir) -I. $(BSE_CFLAGS) -DG_LOG_DOMAIN="\"$(strip $(basename $(<F)))\""
+INCLUDES += -I$(top_srcdir) -I. $(BSE_CFLAGS) $(CFLAGS) -DG_LOG_DOMAIN="\"$(strip $(basename $(<F)))\""
 
 #
 # C++ Plugins
diff --git a/plugins/freeverb/Makefile.am b/plugins/freeverb/Makefile.am
index 99f3164..ef9f81e 100644
--- a/plugins/freeverb/Makefile.am
+++ b/plugins/freeverb/Makefile.am
@@ -4,7 +4,7 @@
 ## GNU Lesser General Public License version 2 or any later version.
 include $(top_srcdir)/Makefile.decl
 
-INCLUDES += -I$(top_srcdir) -I. $(BSE_CFLAGS) -DG_LOG_DOMAIN="\"$(strip $(basename $(<F)))\""
+INCLUDES += -I$(top_srcdir) -I. $(BSE_CFLAGS) $(CFLAGS) -DG_LOG_DOMAIN="\"$(strip $(basename $(<F)))\""
 
 # install plugins under:
 plugindir = $(bseplugindir)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]