From: Trent Nelson Date: Wed, 6 Jul 2011 20:32:08 +0000 (-0400) Subject: Simplify examples Makefile X-Git-Tag: upstream/1.9.6^2~350^2~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b7e444c6cf557fb0b2609217260826fc13a7ed1c;p=deb_libnfs.git Simplify examples Makefile --- 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