diff options
-rw-r--r-- | gui/libgdm/Makefile.am | 9 | ||||
-rw-r--r-- | utils/Makefile.am | 6 |
2 files changed, 9 insertions, 6 deletions
diff --git a/gui/libgdm/Makefile.am b/gui/libgdm/Makefile.am index 4d9c198d..99ada9aa 100644 --- a/gui/libgdm/Makefile.am +++ b/gui/libgdm/Makefile.am @@ -32,10 +32,11 @@ gdm-client-glue.c gdm-client-glue.h : $(top_srcdir)/daemon/gdm-session.xml Makef $(top_srcdir)/daemon/gdm-session.xml AM_CPPFLAGS = \ - -I. \ - -I.. \ - -I$(srcdir) \ - -DG_LOG_DOMAIN=\"Gdm\" \ + -I$(srcdir) \ + -I$(builddir) \ + -I$(top_srcdir) \ + -I$(top_builddir) \ + -DG_LOG_DOMAIN=\"Gdm\" \ -DDMCONFDIR=\""$(dmconfdir)"\" \ -DDATADIR=\""$(datadir)"\" \ $(END_OF_LIST) diff --git a/utils/Makefile.am b/utils/Makefile.am index 1cda413d..8b400f4c 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -1,8 +1,10 @@ NULL = AM_CPPFLAGS = \ - -I. \ - -I.. \ + -I$(srcdir) \ + -I$(builddir) \ + -I$(top_srcdir) \ + -I$(top_builddir) \ -DLOCALSTATEDIR=\""$(localstatedir)"\" \ -DGDM_SCREENSHOT_DIR=\""$(GDM_SCREENSHOT_DIR)"\"\ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ |