From b7e444c6cf557fb0b2609217260826fc13a7ed1c Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Wed, 6 Jul 2011 16:32:08 -0400 Subject: [PATCH] Simplify examples Makefile --- examples/Makefile.am | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index bbf2c34..f029a22 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,40 +1,22 @@ noinst_PROGRAMS = nfsclient-async nfsclient-raw nfsclient-sync nfsclient-bcast nfsclient-listservers -nfsclient_async_CPPFLAGS = \ - -I$(abs_top_srcdir)/include \ - -I$(abs_top_srcdir)/mount \ - "-D_U_=__attribute__((unused))" -nfsclient_async_SOURCES = nfsclient-async.c -nfsclient_async_LDADD = $(abs_top_srcdir)/lib/.libs/libnfs.la - -nfsclient_raw_CPPFLAGS = \ +AM_CPPFLAGS = \ -I$(abs_top_srcdir)/include \ -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 = $(abs_top_srcdir)/lib/.libs/libnfs.la + +nfsclient_async_SOURCES = nfsclient-async.c + nfsclient_raw_SOURCES = nfsclient-raw.c -nfsclient_raw_LDADD = $(abs_top_srcdir)/lib/.libs/libnfs.la -nfsclient_sync_CPPFLAGS = \ - -I$(abs_top_srcdir)/include \ - -I$(abs_top_srcdir)/mount \ - "-D_U_=__attribute__((unused))" nfsclient_sync_SOURCES = nfsclient-sync.c -nfsclient_sync_LDADD = $(abs_top_srcdir)/lib/.libs/libnfs.la -nfsclient_bcast_CPPFLAGS = \ - -I$(abs_top_srcdir)/include \ - -I$(abs_top_srcdir)/mount \ - -I$(abs_top_srcdir)/portmap \ - "-D_U_=__attribute__((unused))" nfsclient_bcast_SOURCES = nfsclient-bcast.c -nfsclient_bcast_LDADD = $(abs_top_srcdir)/lib/.libs/libnfs.la -nfsclient_listservers_CPPFLAGS = \ - -I$(abs_top_srcdir)/include \ - -I$(abs_top_srcdir)/mount \ - "-D_U_=__attribute__((unused))" nfsclient_listservers_SOURCES = nfsclient-listservers.c -nfsclient_listservers_LDADD = $(abs_top_srcdir)/lib/.libs/libnfs.la -- 2.34.1