~ubuntu-branches/ubuntu/edgy/e2fsprogs/edgy-security

« back to all changes in this revision

Viewing changes to resize/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2004-09-19 09:43:14 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040919094314-ypmsn0h1ke583yda
Tags: 1.35-6ubuntu1
Remove ext3-add-journal.sh script.  It overcomplicates the initrd setup,
and the only problem it solves is to prevent a visible /.journal

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
        $(srcdir)/main.c \
26
26
        $(srcdir)/sim_progress.c
27
27
 
28
 
LIBS= $(LIBEXT2FS) $(LIBCOM_ERR)  
 
28
LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBINTL)
29
29
DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR)
30
30
 
31
 
STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) 
 
31
STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(LIBINTL)
32
32
STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) 
33
33
 
34
34
.c.o:
37
37
all:: $(PROGS) $(TEST_PROGS) $(MANPAGES) 
38
38
 
39
39
resize2fs: $(RESIZE_OBJS) $(DEPLIBS)
40
 
        $(CC) $(ALL_LDFLAGS) -o resize2fs $(RESIZE_OBJS) $(LIBS)
 
40
        $(CC) $(ALL_LDFLAGS) -o resize2fs $(RESIZE_OBJS) $(LIBS) 
41
41
 
42
42
resize2fs.static: $(RESIZE_OBJS)  $(STATIC_DEPLIBS)
43
43
        $(LD) $(ALL_LDFLAGS) $(LDFLAG_STATIC) -o resize2fs.static \
44
44
                $(RESIZE_OBJS) $(STATIC_LIBS) 
45
45
 
46
46
resize2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/resize2fs.8.in
47
 
        $(SUBSTITUTE) $(srcdir)/resize2fs.8.in resize2fs.8
 
47
        $(SUBSTITUTE_UPTIME) $(srcdir)/resize2fs.8.in resize2fs.8
48
48
 
49
49
test_extent: $(TEST_EXTENT_OBJS)
50
 
        $(CC) $(ALL_LDFLAGS) -o test_extent $(TEST_EXTENT_OBJS) $(LIBS)
51
 
        
 
50
        $(CC) $(ALL_LDFLAGS) -o test_extent $(TEST_EXTENT_OBJS) $(LIBS) 
 
51
 
52
52
installdirs:
53
53
        $(top_srcdir)/mkinstalldirs $(DESTDIR)$(root_sbindir) \
54
54
                $(DESTDIR)$(man8dir)
59
59
                $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
60
60
        done
61
61
        for i in $(MANPAGES); do \
62
 
                $(RM) -f $(DESTDIR)$(man8dir)/$$i.gz; \
 
62
                for j in $(COMPRESS_EXT); do \
 
63
                        $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
 
64
                done; \
63
65
                $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
64
66
        done
65
67
 
72
74
        done
73
75
 
74
76
test_extent.out: test_extent $(srcdir)/test_extent.in
75
 
        LD_LIBRARY_PATH=$(LIB) ./test_extent < $(srcdir)/test_extent.in \
 
77
        LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./test_extent < $(srcdir)/test_extent.in \
76
78
                > test_extent.out
77
79
 
78
80
check:: test_extent.out
83
85
                diff test_extent.out $(srcdir)/test_extent.in ; \
84
86
                exit 1 ; \
85
87
        fi
86
 
        
 
88
 
87
89
clean:
88
90
        $(RM) -f $(PROGS) $(TEST_PROGS) $(MANPAGES) \#* *.s *.o *.a *~ core \
89
91
                resize2fs.static test_extent.out
114
116
                >> $(top_srcdir)/.exclude-file
115
117
        echo $(SRCROOT)/e2fsprogs-ALL-@E2FSPROGS_VERSION@.tar.gz \
116
118
                >> $(top_srcdir)/.exclude-file
117
 
        
 
119
 
118
120
source_tar_file: $(top_srcdir)/.exclude-file
119
121
        (cd $(top_srcdir)/..; a=$(SRCROOT); rm -f $$a ; ln -sf e2fsprogs $$a ; \
120
122
                $(TAR) -c -h -v -f - \