~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): Tollef Fog Heen
  • Date: 2005-08-23 10:42:10 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050823104210-t15igvmgrkzea0dq
Tags: 1.38-2ubuntu1
* Merge with Debian.  (Ubuntu #13757)
* Remove tests/f_bad_disconnected_inode/image.gz to be able to build the
  package.  This will (hopefully) be in the next upstream version and is
  just used for testing.

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) $(LIBINTL)
29
 
DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR)
 
28
LIBS= $(LIBE2P) $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBINTL)
 
29
DEPLIBS= $(LIBE2P) $(LIBEXT2FS) $(LIBCOM_ERR)
30
30
 
31
 
STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(LIBINTL)
32
 
STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) 
 
31
STATIC_LIBS= $(STATIC_LIBE2P) $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) \
 
32
        $(LIBINTL)
 
33
STATIC_DEPLIBS= $(STATIC_LIBE2P) $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) 
33
34
 
34
35
.c.o:
35
 
        $(CC) -c $(ALL_CFLAGS) $< -o $@
 
36
        @echo " CC $<"
 
37
        @$(CC) -c $(ALL_CFLAGS) $< -o $@
36
38
 
37
39
all:: $(PROGS) $(TEST_PROGS) $(MANPAGES) 
38
40
 
39
41
resize2fs: $(RESIZE_OBJS) $(DEPLIBS)
40
 
        $(CC) $(ALL_LDFLAGS) -o resize2fs $(RESIZE_OBJS) $(LIBS) 
 
42
        @echo " LD $@"
 
43
        @$(CC) $(ALL_LDFLAGS) -o resize2fs $(RESIZE_OBJS) $(LIBS) 
41
44
 
42
45
resize2fs.static: $(RESIZE_OBJS)  $(STATIC_DEPLIBS)
43
 
        $(LD) $(ALL_LDFLAGS) $(LDFLAG_STATIC) -o resize2fs.static \
 
46
        @echo " LD $@"
 
47
        @$(LD) $(ALL_LDFLAGS) $(LDFLAG_STATIC) -o resize2fs.static \
44
48
                $(RESIZE_OBJS) $(STATIC_LIBS) 
45
49
 
46
50
resize2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/resize2fs.8.in
47
 
        $(SUBSTITUTE_UPTIME) $(srcdir)/resize2fs.8.in resize2fs.8
 
51
        @echo " SUBST $@"
 
52
        @$(SUBSTITUTE_UPTIME) $(srcdir)/resize2fs.8.in resize2fs.8
48
53
 
49
54
test_extent: $(TEST_EXTENT_OBJS)
50
 
        $(CC) $(ALL_LDFLAGS) -o test_extent $(TEST_EXTENT_OBJS) $(LIBS) 
 
55
        @echo " LD $@"
 
56
        @$(CC) $(ALL_LDFLAGS) -o test_extent $(TEST_EXTENT_OBJS) $(LIBS) 
51
57
 
52
58
installdirs:
53
 
        $(top_srcdir)/mkinstalldirs $(DESTDIR)$(root_sbindir) \
 
59
        @echo " MKINSTALLDIRS $(root_sbindir) $(man8dir)"
 
60
        @$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
54
61
                $(DESTDIR)$(man8dir)
55
62
 
56
63
install: $(PROGS) $(MANPAGES) installdirs
57
 
        for i in $(PROGS); do \
 
64
        @for i in $(PROGS); do \
 
65
                echo "  INSTALL $(root_sbindir)/$$i"; \
58
66
                $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
59
 
                $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
60
67
        done
61
 
        for i in $(MANPAGES); do \
 
68
        @for i in $(MANPAGES); do \
62
69
                for j in $(COMPRESS_EXT); do \
63
70
                        $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
64
71
                done; \
 
72
                echo "  INSTALL_DATA $(man8dir)/$$i"; \
65
73
                $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
66
74
        done
67
75
 
 
76
install-strip: install
 
77
        @for i in $(PROGS); do \
 
78
                echo "  STRIP $(root_sbindir)/$$i"; \
 
79
                $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
 
80
        done
 
81
 
68
82
uninstall:
69
83
        for i in $(PROGS); do \
70
84
                $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
131
145
#
132
146
extent.o: $(srcdir)/extent.c $(srcdir)/resize2fs.h \
133
147
 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
134
 
 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
135
 
 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
136
 
 $(top_srcdir)/lib/ext2fs/bitops.h
 
148
 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
 
149
 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
 
150
 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h
137
151
resize2fs.o: $(srcdir)/resize2fs.c $(srcdir)/resize2fs.h \
138
152
 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
139
 
 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
140
 
 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
141
 
 $(top_srcdir)/lib/ext2fs/bitops.h
142
 
main.o: $(srcdir)/main.c $(srcdir)/resize2fs.h \
 
153
 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
 
154
 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
 
155
 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h
 
156
main.o: $(srcdir)/main.c $(top_srcdir)/lib/e2p/e2p.h \
143
157
 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
144
 
 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
145
 
 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
146
 
 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/version.h
 
158
 $(srcdir)/resize2fs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
 
159
 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
 
160
 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
 
161
 $(top_srcdir)/version.h
147
162
sim_progress.o: $(srcdir)/sim_progress.c $(srcdir)/resize2fs.h \
148
163
 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
149
 
 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
150
 
 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
151
 
 $(top_srcdir)/lib/ext2fs/bitops.h
 
164
 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
 
165
 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
 
166
 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h