summaryrefslogtreecommitdiffstats
path: root/kioslave/nfs/Makefile.am
blob: dfa24a9283f1d0b5bb627d798261d9187069d3ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## Makefile.am of kdebase/kioslave/man

INCLUDES= $(all_includes)
AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor

####### 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