Compilation of C++ modules conditioned by --with-cxx (disabled by default).
[lufs.git] / lufsd / Makefile.am
1 INCLUDES=-I../ @all_includes@
2
3 EXTRA_DIST=lussh lufsd.conf
4
5 configdir=/etc
6 config_DATA=lufsd.conf
7
8 bin_PROGRAMS=lufsd
9 bin_SCRIPTS=lussh
10
11 noinst_HEADERS=message.h fsctl.h filesystem.h dircache.h list.h
12
13 lufsd_SOURCES=daemon.c message.c fsctl.c filesystem.c dircache.c options.c
14
15 lufsd_LDADD= -ldl @GVFS_LDADD@
16 # Disabled by Captive: lufsd_LDADD+= -lstdc++
17 lufsd_LDFLAGS= -rdynamic -lpthread
18
19 install-exec-hook:
20         @echo "lufsd post install configuration..."
21         $(mkinstalldirs) $(DESTDIR)/sbin
22         ln -fs $(DESTDIR)$(bindir)/lufsd $(DESTDIR)/sbin/mount.lufs