Adjust Makefile.am's to support out-of-source builds
authorMaxim Koltsov <maksbotan@gentoo.org>
Wed, 8 Jan 2014 08:35:19 +0000 (12:35 +0400)
committerMaxim Koltsov <maksbotan@gentoo.org>
Wed, 8 Jan 2014 08:36:09 +0000 (12:36 +0400)
examples/Makefile.am
lib/Makefile.am

index 32b0e5597cd597c43d906b3e044d211ff3cdc0bc..39f5a17eea57d402499c5de6951ad3f22078a2cc 100644 (file)
@@ -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
index 97beb837ea2691de713568f9eed92a626fadcb87..de4fc5883acc7dee1b87a06671f503008b69a50b 100644 (file)
@@ -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 = \