Add the bcast and the listservers examples to the new build system

libnfs-4.0.0-vitalif
Ronnie Sahlberg 2011-07-02 11:21:44 +10:00
parent 2e4db0d145
commit 9ab4d56ef9
3 changed files with 17 additions and 6 deletions

View File

@ -1,4 +1,4 @@
noinst_PROGRAMS = nfsclient-async nfsclient-raw nfsclient-sync
noinst_PROGRAMS = nfsclient-async nfsclient-raw nfsclient-sync nfsclient-bcast nfsclient-listservers
nfsclient_async_CPPFLAGS = \
-I$(abs_top_srcdir)/include \
@ -22,3 +22,19 @@ nfsclient_sync_CPPFLAGS = \
"-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

View File

@ -33,7 +33,6 @@
#include "libnfs-raw.h"
#include "libnfs-raw-mount.h"
#include "libnfs-raw-portmap.h"
#include "libnfs-private.h"
struct nfs_list_data {
int status;

View File

@ -30,10 +30,6 @@
#include <net/if.h>
#include <netdb.h>
#include "libnfs.h"
#include "libnfs-raw.h"
#include "libnfs-raw-mount.h"
#include "libnfs-raw-portmap.h"
#include "libnfs-private.h"
int main(int argc _U_, char *argv[] _U_)