diff --git a/Makefile.am b/Makefile.am index 779b42d84..edfae35b4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,7 +20,7 @@ DIST_SUBDIRS = po misc db3 lua rpmio rpmdb lib build python scripts doc tests pkgconfigdir = $(libdir)/pkgconfig -AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) +AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/rpm AM_CPPFLAGS += -I$(top_srcdir)/build AM_CPPFLAGS += -I$(top_srcdir)/lib AM_CPPFLAGS += -I$(top_builddir)/rpmdb -I$(top_srcdir)/rpmdb diff --git a/lib/Makefile.am b/lib/Makefile.am index 9c828127a..b1bbca785 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,6 +1,6 @@ # Makefile for rpm library. -AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) +AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/rpm AM_CPPFLAGS += -I$(top_srcdir)/lib AM_CPPFLAGS += -I$(top_builddir)/rpmdb -I$(top_srcdir)/rpmdb AM_CPPFLAGS += -I$(top_srcdir)/rpmio diff --git a/misc/Makefile.am b/misc/Makefile.am index 4a0a8e731..3df16fc8e 100644 --- a/misc/Makefile.am +++ b/misc/Makefile.am @@ -1,6 +1,6 @@ # Makefile for misc library. -AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) +AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/rpm AM_CPPFLAGS += -I$(top_srcdir)/misc EXTRA_DIST = \ diff --git a/python/Makefile.am b/python/Makefile.am index 9c3715590..b7956a20a 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -3,7 +3,7 @@ EXTRA_DIST = rpmdebug-py.c rpm/__init__.py if PYTHON -AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) +AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/rpm AM_CPPFLAGS += -I$(top_srcdir)/python AM_CPPFLAGS += -I$(top_srcdir)/build AM_CPPFLAGS += -I$(top_srcdir)/lib diff --git a/rpmdb/Makefile.am b/rpmdb/Makefile.am index 1ac822d74..1c0d0992d 100644 --- a/rpmdb/Makefile.am +++ b/rpmdb/Makefile.am @@ -2,7 +2,7 @@ include $(top_srcdir)/rpm.am -AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) +AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/rpm AM_CPPFLAGS += -I$(top_builddir)/rpmdb -I$(top_srcdir)/rpmdb AM_CPPFLAGS += -I$(top_srcdir)/build AM_CPPFLAGS += -I$(top_srcdir)/lib diff --git a/rpmio/Makefile.am b/rpmio/Makefile.am index a0dfa7b11..cc82302f3 100644 --- a/rpmio/Makefile.am +++ b/rpmio/Makefile.am @@ -1,6 +1,6 @@ # Makefile for rpm library. -AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) +AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/rpm AM_CPPFLAGS += -I$(top_srcdir)/rpmio AM_CPPFLAGS += @WITH_NSS_INCLUDE@ AM_CPPFLAGS += @WITH_LUA_INCLUDE@