From 5581436f5ff80da18a244f2338056a81552f9753 Mon Sep 17 00:00:00 2001 From: Maxim Koltsov Date: Wed, 8 Jan 2014 12:35:19 +0400 Subject: [PATCH] Adjust Makefile.am's to support out-of-source builds --- examples/Makefile.am | 8 ++++---- lib/Makefile.am | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 32b0e55..39f5a17 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -3,10 +3,10 @@ noinst_PROGRAMS = nfsclient-async nfsclient-raw nfsclient-sync nfsclient-bcast n AM_CPPFLAGS = \ -I$(abs_top_srcdir)/include \ -I$(abs_top_srcdir)/include/nfsc \ - -I../mount \ - -I../nfs \ - -I../rquota \ - -I../portmap \ + -I$(abs_top_srcdir)/mount \ + -I$(abs_top_srcdir)/nfs \ + -I$(abs_top_srcdir)/rquota \ + -I$(abs_top_srcdir)/portmap \ "-D_U_=__attribute__((unused))" AM_LDFLAGS = ../lib/.libs/libnfs.la -lpopt diff --git a/lib/Makefile.am b/lib/Makefile.am index 97beb83..de4fc58 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -2,12 +2,12 @@ lib_LTLIBRARIES = libnfs.la libnfs_la_CPPFLAGS = -I$(abs_top_srcdir)/include \ -I$(abs_top_srcdir)/include/nfsc \ - -I../mount \ - -I../nfs \ - -I../nlm \ - -I../nsm \ - -I../portmap \ - -I../rquota \ + -I$(abs_top_srcdir)/mount \ + -I$(abs_top_srcdir)/nfs \ + -I$(abs_top_srcdir)/nlm \ + -I$(abs_top_srcdir)/nsm \ + -I$(abs_top_srcdir)/portmap \ + -I$(abs_top_srcdir)/rquota \ "-D_U_=__attribute__((unused))" libnfs_la_SOURCES = \ -- 2.34.1