diff --git a/src/driver/audiodec/Makefile.am b/src/driver/audiodec/Makefile.am index 4c39180b7..c00c5c65d 100644 --- a/src/driver/audiodec/Makefile.am +++ b/src/driver/audiodec/Makefile.am @@ -5,10 +5,16 @@ INCLUDES = \ -I$(top_srcdir)/lib \ -I$(top_srcdir)/src/zapit/include \ -I$(top_srcdir)/lib/libconfigfile \ - -I$(top_srcdir)/lib/libcoolstream \ @FREETYPE_CFLAGS@ \ @VORBISIDEC_CFLAGS@ +if BOXTYPE_COOL +INCLUDES += -I$(top_srcdir)/lib/libcoolstream +endif +if BOXTYPE_TRIPLE +INCLUDES += -I$(top_srcdir)/lib/libtriple +endif + noinst_LIBRARIES = libneutrino_driver_audiodec.a libneutrino_driver_audiodec_a_SOURCES = \ diff --git a/src/driver/pictureviewer/Makefile.am b/src/driver/pictureviewer/Makefile.am index b1b505c02..5805e8f37 100644 --- a/src/driver/pictureviewer/Makefile.am +++ b/src/driver/pictureviewer/Makefile.am @@ -4,10 +4,16 @@ INCLUDES = \ -I$(top_srcdir)/src \ -I$(top_srcdir)/src/zapit/include \ -I$(top_srcdir)/lib/libconfigfile \ - -I$(top_srcdir)/lib/libcoolstream \ @FREETYPE_CFLAGS@ \ -I$(top_srcdir)/lib - + +if BOXTYPE_COOL +INCLUDES += -I$(top_srcdir)/lib/libcoolstream +endif +if BOXTYPE_TRIPLE +INCLUDES += -I$(top_srcdir)/lib/libtriple +endif + noinst_LIBRARIES = libneutrino_pictureviewer.a libneutrino_pictureviewer_a_SOURCES = \ diff --git a/src/gui/widget/Makefile.am b/src/gui/widget/Makefile.am index d1236f9dc..13d0282ca 100644 --- a/src/gui/widget/Makefile.am +++ b/src/gui/widget/Makefile.am @@ -6,9 +6,15 @@ INCLUDES = \ -I$(top_srcdir)/src/zapit/include \ -I$(top_srcdir)/lib/libnet \ -I$(top_srcdir)/lib/libconfigfile \ - -I$(top_srcdir)/lib/libcoolstream \ @FREETYPE_CFLAGS@ +if BOXTYPE_COOL +INCLUDES += -I$(top_srcdir)/lib/libcoolstream +endif +if BOXTYPE_TRIPLE +INCLUDES += -I$(top_srcdir)/lib/libtriple +endif + noinst_LIBRARIES = libneutrino_gui_widget.a libneutrino_gui_widget2.a libneutrino_gui_widget_a_SOURCES = \ diff --git a/src/sectionsd/Makefile.am b/src/sectionsd/Makefile.am index 778506c2d..d7d7cce26 100644 --- a/src/sectionsd/Makefile.am +++ b/src/sectionsd/Makefile.am @@ -4,9 +4,15 @@ INCLUDES = \ -I$(top_srcdir)/lib/libconfigfile \ -I$(top_srcdir)/lib/connection \ -I$(top_srcdir)/lib/libeventserver \ - -I$(top_srcdir)/lib/libcoolstream \ -I$(top_srcdir)/lib/xmltree +if BOXTYPE_COOL +INCLUDES += -I$(top_srcdir)/lib/libcoolstream +endif +if BOXTYPE_TRIPLE +INCLUDES += -I$(top_srcdir)/lib/libtriple +endif + AM_CPPFLAGS = -D DO_NOT_INCLUDE_STUFF_NOT_NEEDED_FOR_SECTIONSD noinst_LIBRARIES = libsectionsd.a