2 # automake source for the liblufs-captive module for lufs Makefile
3 # Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 include $(top_srcdir)/Makefile-head.am
20 include $(top_srcdir)/src/libcaptive/Makefile-libcaptive.am
22 liblufs_captivefs_la_CFLAGS= $(GNOME_VFS_CFLAGS) $(LIBXML_CFLAGS)
23 liblufs_captivefs_la_LIBADD=$(captive_library) $(GNOME_VFS_LIBS)
24 liblufs_captivefs_la_LDFLAGS=-release $(VERSION)
25 liblufs_captivefs_la_SOURCES= \
28 captivefs-directory.c \
36 liblufs_captivefs_la_cond=liblufs-captivefs.la
38 lib_LTLIBRARIES+=$(liblufs_captivefs_la_cond)
42 sbin_mount_captive_cond=mount.captive
44 $(mkinstalldirs) $(DESTDIR)$(with_sbin_mountdir)
46 with_sbin_mount_fs="$(with_sbin_mount_fs)"; \
47 for fs in $$with_sbin_mount_fs; do \
48 if test $$fs != no; then \
49 $(RM) $(DESTDIR)$(with_sbin_mountdir)/mount.captive-$$fs; \
50 $(LN_S) mount.captive $(DESTDIR)$(with_sbin_mountdir)/mount.captive-$$fs; \
56 with_sbin_mount_SCRIPTS=$(sbin_mount_captive_cond)