summaryrefslogtreecommitdiffstats
path: root/kioslave/nfs/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/nfs/Makefile.am')
-rw-r--r--kioslave/nfs/Makefile.am28
1 files changed, 28 insertions, 0 deletions
diff --git a/kioslave/nfs/Makefile.am b/kioslave/nfs/Makefile.am
new file mode 100644
index 000000000..2c4fc062c
--- /dev/null
+++ b/kioslave/nfs/Makefile.am
@@ -0,0 +1,28 @@
+## Makefile.am of kdebase/kioslave/man
+
+INCLUDES= $(all_includes)
+AM_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+
+####### Files
+
+kde_module_LTLIBRARIES = kio_nfs.la
+
+kio_nfs_la_SOURCES = kio_nfs.cpp mount_xdr.c nfs_prot_xdr.c
+kio_nfs_la_LIBADD = -lkio $(LIBRPC)
+kio_nfs_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+noinst_HEADERS = nfs_prot.h mount.h
+
+kdelnk_DATA = nfs.protocol
+kdelnkdir = $(kde_servicesdir)
+
+METASOURCES = AUTO
+
+$(srcdir)/mount_xdr.c: $(srcdir)/mount.x
+ cd $(srcdir) && rpcgen ./mount.x
+
+
+$(srcdir)/nfs_prot_xdr.c: $(srcdir)/nfs_prot.x
+ cd $(srcdir) && rpcgen ./nfs_prot.x
+
+messages:
+ $(XGETTEXT) *.cpp -o $(podir)/kio_nfs.pot