~ubuntu-branches/ubuntu/hardy/fuse/hardy-security

« back to all changes in this revision

Viewing changes to util/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2007-08-04 08:09:00 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070804080900-m1e9xpk5eitzmelg
Tags: 2.7.0-1ubuntu1
* Resynchronise with Debian (LP: #128292). Remaining changes:
  - Don't install the init script; install the udev rule and the module
    configuration file instead.
  - debian/45-fuse.rules: set /dev/fuse group to fuse.
  - debian/fuse-utils.modprobe: module configuration file that mounts the
    control filesystem when fuse is loaded and unmounts it when fuse is
    unloaded, along with checking that the control FS is mounting before
    unmounting it.
  - debian/fuse-utils.install: add the udev rule, the module configuration
    file, and ulockmgr_server.
  - Load fuse on install, and set it so it gets loaded on reboot.
  - Move fusermount and ulockmgr_server to /bin and associated libraries
    to /lib.
* Use dpkg-query to fetch conffile md5sums rather than parsing
  /var/lib/dpkg/status directly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
host_triplet = @host@
39
39
target_triplet = @target@
40
40
bin_PROGRAMS = fusermount$(EXEEXT) ulockmgr_server$(EXEEXT)
 
41
noinst_PROGRAMS = mount.fuse$(EXEEXT)
41
42
subdir = util
42
43
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
43
44
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49
50
CONFIG_CLEAN_FILES =
50
51
am__installdirs = "$(DESTDIR)$(bindir)"
51
52
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
52
 
PROGRAMS = $(bin_PROGRAMS)
53
 
am_fusermount_OBJECTS = fusermount.$(OBJEXT)
 
53
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
 
54
am_fusermount_OBJECTS = fusermount-fusermount.$(OBJEXT)
54
55
fusermount_OBJECTS = $(am_fusermount_OBJECTS)
55
 
fusermount_LDADD = $(LDADD)
 
56
fusermount_DEPENDENCIES = ../lib/mount_util.o
 
57
am_mount_fuse_OBJECTS = mount.fuse.$(OBJEXT)
 
58
mount_fuse_OBJECTS = $(am_mount_fuse_OBJECTS)
 
59
mount_fuse_LDADD = $(LDADD)
56
60
am_ulockmgr_server_OBJECTS =  \
57
61
        ulockmgr_server-ulockmgr_server.$(OBJEXT)
58
62
ulockmgr_server_OBJECTS = $(am_ulockmgr_server_OBJECTS)
68
72
CCLD = $(CC)
69
73
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
70
74
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
71
 
SOURCES = $(fusermount_SOURCES) $(ulockmgr_server_SOURCES)
72
 
DIST_SOURCES = $(fusermount_SOURCES) $(ulockmgr_server_SOURCES)
 
75
SOURCES = $(fusermount_SOURCES) $(mount_fuse_SOURCES) \
 
76
        $(ulockmgr_server_SOURCES)
 
77
DIST_SOURCES = $(fusermount_SOURCES) $(mount_fuse_SOURCES) \
 
78
        $(ulockmgr_server_SOURCES)
73
79
ETAGS = etags
74
80
CTAGS = ctags
75
81
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
100
106
EXEEXT = @EXEEXT@
101
107
FGREP = @FGREP@
102
108
GREP = @GREP@
 
109
ICONV_FALSE = @ICONV_FALSE@
 
110
ICONV_TRUE = @ICONV_TRUE@
103
111
INIT_D_PATH = @INIT_D_PATH@
104
112
INSTALL_DATA = @INSTALL_DATA@
105
113
INSTALL_PROGRAM = @INSTALL_PROGRAM@
107
115
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
108
116
LD = @LD@
109
117
LDFLAGS = @LDFLAGS@
 
118
LIBICONV = @LIBICONV@
110
119
LIBOBJS = @LIBOBJS@
111
120
LIBS = @LIBS@
112
121
LIBTOOL = @LIBTOOL@
113
122
LINUX_FALSE = @LINUX_FALSE@
114
123
LINUX_TRUE = @LINUX_TRUE@
115
124
LN_S = @LN_S@
 
125
LTLIBICONV = @LTLIBICONV@
116
126
LTLIBOBJS = @LTLIBOBJS@
117
127
MAKEINFO = @MAKEINFO@
118
128
MOUNT_FUSE_PATH = @MOUNT_FUSE_PATH@
187
197
target_vendor = @target_vendor@
188
198
AM_CPPFLAGS = -D_FILE_OFFSET_BITS=64 
189
199
fusermount_SOURCES = fusermount.c
 
200
fusermount_LDADD = ../lib/mount_util.o
 
201
fusermount_CPPFLAGS = -I../lib
 
202
mount_fuse_SOURCES = mount.fuse.c
190
203
ulockmgr_server_SOURCES = ulockmgr_server.c
191
204
ulockmgr_server_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -D_REENTRANT 
192
205
ulockmgr_server_LDFLAGS = -pthread
193
 
EXTRA_DIST = mount.fuse udev.rules init_script
 
206
EXTRA_DIST = udev.rules init_script
194
207
all: all-am
195
208
 
196
209
.SUFFIXES:
252
265
          echo " rm -f $$p $$f"; \
253
266
          rm -f $$p $$f ; \
254
267
        done
 
268
 
 
269
clean-noinstPROGRAMS:
 
270
        @list='$(noinst_PROGRAMS)'; for p in $$list; do \
 
271
          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
 
272
          echo " rm -f $$p $$f"; \
 
273
          rm -f $$p $$f ; \
 
274
        done
255
275
fusermount$(EXEEXT): $(fusermount_OBJECTS) $(fusermount_DEPENDENCIES) 
256
276
        @rm -f fusermount$(EXEEXT)
257
277
        $(LINK) $(fusermount_LDFLAGS) $(fusermount_OBJECTS) $(fusermount_LDADD) $(LIBS)
 
278
mount.fuse$(EXEEXT): $(mount_fuse_OBJECTS) $(mount_fuse_DEPENDENCIES) 
 
279
        @rm -f mount.fuse$(EXEEXT)
 
280
        $(LINK) $(mount_fuse_LDFLAGS) $(mount_fuse_OBJECTS) $(mount_fuse_LDADD) $(LIBS)
258
281
ulockmgr_server$(EXEEXT): $(ulockmgr_server_OBJECTS) $(ulockmgr_server_DEPENDENCIES) 
259
282
        @rm -f ulockmgr_server$(EXEEXT)
260
283
        $(LINK) $(ulockmgr_server_LDFLAGS) $(ulockmgr_server_OBJECTS) $(ulockmgr_server_LDADD) $(LIBS)
265
288
distclean-compile:
266
289
        -rm -f *.tab.c
267
290
 
268
 
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fusermount.Po@am__quote@
 
291
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fusermount-fusermount.Po@am__quote@
 
292
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mount.fuse.Po@am__quote@
269
293
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ulockmgr_server-ulockmgr_server.Po@am__quote@
270
294
 
271
295
.c.o:
289
313
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
290
314
@am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
291
315
 
 
316
fusermount-fusermount.o: fusermount.c
 
317
@am__fastdepCC_TRUE@    if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fusermount_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT fusermount-fusermount.o -MD -MP -MF "$(DEPDIR)/fusermount-fusermount.Tpo" -c -o fusermount-fusermount.o `test -f 'fusermount.c' || echo '$(srcdir)/'`fusermount.c; \
 
318
@am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/fusermount-fusermount.Tpo" "$(DEPDIR)/fusermount-fusermount.Po"; else rm -f "$(DEPDIR)/fusermount-fusermount.Tpo"; exit 1; fi
 
319
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='fusermount.c' object='fusermount-fusermount.o' libtool=no @AMDEPBACKSLASH@
 
320
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 
321
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fusermount_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o fusermount-fusermount.o `test -f 'fusermount.c' || echo '$(srcdir)/'`fusermount.c
 
322
 
 
323
fusermount-fusermount.obj: fusermount.c
 
324
@am__fastdepCC_TRUE@    if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fusermount_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT fusermount-fusermount.obj -MD -MP -MF "$(DEPDIR)/fusermount-fusermount.Tpo" -c -o fusermount-fusermount.obj `if test -f 'fusermount.c'; then $(CYGPATH_W) 'fusermount.c'; else $(CYGPATH_W) '$(srcdir)/fusermount.c'; fi`; \
 
325
@am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/fusermount-fusermount.Tpo" "$(DEPDIR)/fusermount-fusermount.Po"; else rm -f "$(DEPDIR)/fusermount-fusermount.Tpo"; exit 1; fi
 
326
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='fusermount.c' object='fusermount-fusermount.obj' libtool=no @AMDEPBACKSLASH@
 
327
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 
328
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fusermount_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o fusermount-fusermount.obj `if test -f 'fusermount.c'; then $(CYGPATH_W) 'fusermount.c'; else $(CYGPATH_W) '$(srcdir)/fusermount.c'; fi`
 
329
 
292
330
ulockmgr_server-ulockmgr_server.o: ulockmgr_server.c
293
331
@am__fastdepCC_TRUE@    if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ulockmgr_server_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ulockmgr_server-ulockmgr_server.o -MD -MP -MF "$(DEPDIR)/ulockmgr_server-ulockmgr_server.Tpo" -c -o ulockmgr_server-ulockmgr_server.o `test -f 'ulockmgr_server.c' || echo '$(srcdir)/'`ulockmgr_server.c; \
294
332
@am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/ulockmgr_server-ulockmgr_server.Tpo" "$(DEPDIR)/ulockmgr_server-ulockmgr_server.Po"; else rm -f "$(DEPDIR)/ulockmgr_server-ulockmgr_server.Tpo"; exit 1; fi
421
459
        @echo "it deletes files that may require special tools to rebuild."
422
460
clean: clean-am
423
461
 
424
 
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
 
462
clean-am: clean-binPROGRAMS clean-generic clean-libtool \
 
463
        clean-noinstPROGRAMS mostlyclean-am
425
464
 
426
465
distclean: distclean-am
427
466
        -rm -rf ./$(DEPDIR)
472
511
uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-local
473
512
 
474
513
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
475
 
        clean-generic clean-libtool ctags distclean distclean-compile \
476
 
        distclean-generic distclean-libtool distclean-tags distdir dvi \
477
 
        dvi-am html html-am info info-am install install-am \
478
 
        install-binPROGRAMS install-data install-data-am \
479
 
        install-data-local install-exec install-exec-am \
480
 
        install-exec-hook install-exec-local install-info \
481
 
        install-info-am install-man install-strip installcheck \
482
 
        installcheck-am installdirs maintainer-clean \
 
514
        clean-generic clean-libtool clean-noinstPROGRAMS ctags \
 
515
        distclean distclean-compile distclean-generic \
 
516
        distclean-libtool distclean-tags distdir dvi dvi-am html \
 
517
        html-am info info-am install install-am install-binPROGRAMS \
 
518
        install-data install-data-am install-data-local install-exec \
 
519
        install-exec-am install-exec-hook install-exec-local \
 
520
        install-info install-info-am install-man install-strip \
 
521
        installcheck installcheck-am installdirs maintainer-clean \
483
522
        maintainer-clean-generic mostlyclean mostlyclean-compile \
484
523
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
485
524
        tags uninstall uninstall-am uninstall-binPROGRAMS \