1 # Makefile for e2fsprog's internal support
5 top_srcdir
= @top_srcdir@
30 SRCS
= $(srcdir)/argv_parse.c \
33 $(srcdir)/parse_qtype.c \
34 $(srcdir)/plausible.c \
35 $(srcdir)/print_fs_flags.c \
37 $(srcdir)/profile_helpers.c \
40 $(srcdir)/quotaio_tree.c \
41 $(srcdir)/quotaio_v2.c \
51 COMPILE_ET
= _ET_DIR_OVERRIDE
=$(srcdir)/..
/et ..
/et
/compile_et
55 $(Q
) $(CC
) $(ALL_CFLAGS
) -c
$< -o
$@
56 $(Q
) $(CHECK_CMD
) $(ALL_CFLAGS
) $<
57 $(Q
) $(CPPCHECK_CMD
) $(CPPFLAGS
) $<
58 @PROFILE_CMT@
$(Q
) $(CC
) $(ALL_CFLAGS
) -g
-pg
-o profiled
/$*.o
-c
$<
66 prof_err.c prof_err.h
: prof_err.et
67 $(E
) " COMPILE_ET prof_err.et"
68 $(Q
) $(COMPILE_ET
) $(srcdir)/prof_err.et
70 test_profile
: $(srcdir)/profile.c profile_helpers.o argv_parse.o \
71 prof_err.o profile.h
$(DEPSTATIC_LIBCOM_ERR
)
73 $(Q
) $(CC
) -o test_profile
-DDEBUG_PROGRAM
$(srcdir)/profile.c prof_err.o \
74 profile_helpers.o argv_parse.o
$(STATIC_LIBCOM_ERR
) \
77 test_cstring
: $(srcdir)/cstring.c
79 $(Q
) $(CC
) -o test_cstring
-DDEBUG_PROGRAM
$(srcdir)/cstring.c \
83 $(RM
) -f \
#* *.s *.o *.a *~ *.bak core profiled/* \
84 ..
/libsupport.a ..
/libsupport_p.a
$(SMANPAGES
) \
85 prof_err.c prof_err.h test_profile test_cstring
87 #fullcheck check:: tst_uuid
88 # LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_uuid
92 $(RM
) -f .depend Makefile \
93 $(srcdir)/TAGS
$(srcdir)/Makefile.in.old
96 # Hack to parallel makes recognize dependencies correctly.
98 ..
/..
/lib
/libsupport.a
: libsupport.a
99 ..
/..
/lib
/libsupport.so
: image
100 ..
/..
/lib
/libsupport.dylib
: image
104 # +++ Dependency line eater +++
106 # Makefile dependencies follow. This must be the last section in
107 # the Makefile.in file
109 argv_parse.o
: $(srcdir)/argv_parse.c
$(top_builddir
)/lib
/config.h \
110 $(top_builddir
)/lib
/dirpaths.h
$(srcdir)/argv_parse.h
111 cstring.o
: $(srcdir)/cstring.c
$(top_builddir
)/lib
/config.h \
112 $(top_builddir
)/lib
/dirpaths.h
$(srcdir)/cstring.h
113 mkquota.o
: $(srcdir)/mkquota.c
$(top_builddir
)/lib
/config.h \
114 $(top_builddir
)/lib
/dirpaths.h
$(top_srcdir
)/lib
/ext2fs
/ext2_fs.h \
115 $(top_builddir
)/lib
/ext2fs
/ext2_types.h
$(top_srcdir
)/lib
/ext2fs
/ext2fs.h \
116 $(top_srcdir
)/lib
/ext2fs
/ext3_extents.h
$(top_srcdir
)/lib
/et
/com_err.h \
117 $(top_srcdir
)/lib
/ext2fs
/ext2_io.h
$(top_builddir
)/lib
/ext2fs
/ext2_err.h \
118 $(top_srcdir
)/lib
/ext2fs
/ext2_ext_attr.h
$(top_srcdir
)/lib
/ext2fs
/hashmap.h \
119 $(top_srcdir
)/lib
/ext2fs
/bitops.h
$(top_srcdir
)/lib
/e2p
/e2p.h \
120 $(srcdir)/quotaio.h
$(srcdir)/dqblk_v2.h
$(srcdir)/quotaio_tree.h \
121 $(srcdir)/quotaio_v2.h
$(srcdir)/common.h
$(srcdir)/dict.h
122 parse_qtype.o
: $(srcdir)/parse_qtype.c
$(top_builddir
)/lib
/config.h \
123 $(top_builddir
)/lib
/dirpaths.h
$(srcdir)/quotaio.h \
124 $(top_srcdir
)/lib
/ext2fs
/ext2_fs.h
$(top_builddir
)/lib
/ext2fs
/ext2_types.h \
125 $(top_srcdir
)/lib
/ext2fs
/ext2fs.h
$(top_srcdir
)/lib
/ext2fs
/ext3_extents.h \
126 $(top_srcdir
)/lib
/et
/com_err.h
$(top_srcdir
)/lib
/ext2fs
/ext2_io.h \
127 $(top_builddir
)/lib
/ext2fs
/ext2_err.h \
128 $(top_srcdir
)/lib
/ext2fs
/ext2_ext_attr.h
$(top_srcdir
)/lib
/ext2fs
/hashmap.h \
129 $(top_srcdir
)/lib
/ext2fs
/bitops.h
$(srcdir)/dqblk_v2.h \
130 $(srcdir)/quotaio_tree.h
131 plausible.o
: $(srcdir)/plausible.c
$(top_builddir
)/lib
/config.h \
132 $(top_builddir
)/lib
/dirpaths.h
$(srcdir)/plausible.h \
133 $(top_srcdir
)/lib
/ext2fs
/ext2fs.h
$(top_builddir
)/lib
/ext2fs
/ext2_types.h \
134 $(top_srcdir
)/lib
/ext2fs
/ext2_fs.h
$(top_srcdir
)/lib
/ext2fs
/ext3_extents.h \
135 $(top_srcdir
)/lib
/et
/com_err.h
$(top_srcdir
)/lib
/ext2fs
/ext2_io.h \
136 $(top_builddir
)/lib
/ext2fs
/ext2_err.h \
137 $(top_srcdir
)/lib
/ext2fs
/ext2_ext_attr.h
$(top_srcdir
)/lib
/ext2fs
/hashmap.h \
138 $(top_srcdir
)/lib
/ext2fs
/bitops.h
$(srcdir)/nls-enable.h
139 print_fs_flags.o
: $(srcdir)/print_fs_flags.c
$(top_builddir
)/lib
/config.h \
140 $(top_builddir
)/lib
/dirpaths.h
$(srcdir)/print_fs_flags.h \
141 $(top_srcdir
)/lib
/ext2fs
/ext2fs.h
$(top_builddir
)/lib
/ext2fs
/ext2_types.h \
142 $(top_srcdir
)/lib
/ext2fs
/ext2_fs.h
$(top_srcdir
)/lib
/ext2fs
/ext3_extents.h \
143 $(top_srcdir
)/lib
/et
/com_err.h
$(top_srcdir
)/lib
/ext2fs
/ext2_io.h \
144 $(top_builddir
)/lib
/ext2fs
/ext2_err.h \
145 $(top_srcdir
)/lib
/ext2fs
/ext2_ext_attr.h
$(top_srcdir
)/lib
/ext2fs
/hashmap.h \
146 $(top_srcdir
)/lib
/ext2fs
/bitops.h
147 profile.o
: $(srcdir)/profile.c
$(top_builddir
)/lib
/config.h \
148 $(top_builddir
)/lib
/dirpaths.h
$(top_srcdir
)/lib
/et
/com_err.h \
149 $(srcdir)/profile.h prof_err.h
150 profile_helpers.o
: $(srcdir)/profile_helpers.c
$(top_builddir
)/lib
/config.h \
151 $(top_builddir
)/lib
/dirpaths.h
$(top_srcdir
)/lib
/et
/com_err.h \
152 $(srcdir)/profile.h
$(srcdir)/profile_helpers.h prof_err.h
153 prof_err.o
: prof_err.c
154 quotaio.o
: $(srcdir)/quotaio.c
$(top_builddir
)/lib
/config.h \
155 $(top_builddir
)/lib
/dirpaths.h
$(srcdir)/common.h \
156 $(top_builddir
)/lib
/ext2fs
/ext2_types.h
$(srcdir)/quotaio.h \
157 $(top_srcdir
)/lib
/ext2fs
/ext2_fs.h
$(top_srcdir
)/lib
/ext2fs
/ext2fs.h \
158 $(top_srcdir
)/lib
/ext2fs
/ext3_extents.h
$(top_srcdir
)/lib
/et
/com_err.h \
159 $(top_srcdir
)/lib
/ext2fs
/ext2_io.h
$(top_builddir
)/lib
/ext2fs
/ext2_err.h \
160 $(top_srcdir
)/lib
/ext2fs
/ext2_ext_attr.h
$(top_srcdir
)/lib
/ext2fs
/hashmap.h \
161 $(top_srcdir
)/lib
/ext2fs
/bitops.h
$(srcdir)/dqblk_v2.h \
162 $(srcdir)/quotaio_tree.h
163 quotaio_tree.o
: $(srcdir)/quotaio_tree.c
$(top_builddir
)/lib
/config.h \
164 $(top_builddir
)/lib
/dirpaths.h
$(srcdir)/common.h \
165 $(top_builddir
)/lib
/ext2fs
/ext2_types.h
$(srcdir)/quotaio_tree.h \
166 $(srcdir)/quotaio.h
$(top_srcdir
)/lib
/ext2fs
/ext2_fs.h \
167 $(top_srcdir
)/lib
/ext2fs
/ext2fs.h
$(top_srcdir
)/lib
/ext2fs
/ext3_extents.h \
168 $(top_srcdir
)/lib
/et
/com_err.h
$(top_srcdir
)/lib
/ext2fs
/ext2_io.h \
169 $(top_builddir
)/lib
/ext2fs
/ext2_err.h \
170 $(top_srcdir
)/lib
/ext2fs
/ext2_ext_attr.h
$(top_srcdir
)/lib
/ext2fs
/hashmap.h \
171 $(top_srcdir
)/lib
/ext2fs
/bitops.h
$(srcdir)/dqblk_v2.h
172 quotaio_v2.o
: $(srcdir)/quotaio_v2.c
$(top_builddir
)/lib
/config.h \
173 $(top_builddir
)/lib
/dirpaths.h
$(srcdir)/common.h \
174 $(top_builddir
)/lib
/ext2fs
/ext2_types.h
$(srcdir)/quotaio_v2.h \
175 $(srcdir)/quotaio.h
$(top_srcdir
)/lib
/ext2fs
/ext2_fs.h \
176 $(top_srcdir
)/lib
/ext2fs
/ext2fs.h
$(top_srcdir
)/lib
/ext2fs
/ext3_extents.h \
177 $(top_srcdir
)/lib
/et
/com_err.h
$(top_srcdir
)/lib
/ext2fs
/ext2_io.h \
178 $(top_builddir
)/lib
/ext2fs
/ext2_err.h \
179 $(top_srcdir
)/lib
/ext2fs
/ext2_ext_attr.h
$(top_srcdir
)/lib
/ext2fs
/hashmap.h \
180 $(top_srcdir
)/lib
/ext2fs
/bitops.h
$(srcdir)/dqblk_v2.h \
181 $(srcdir)/quotaio_tree.h
182 dict.o
: $(srcdir)/dict.c
$(top_builddir
)/lib
/config.h \
183 $(top_builddir
)/lib
/dirpaths.h
$(srcdir)/dict.h
184 devname.o
: $(srcdir)/devname.c
$(top_builddir
)/lib
/config.h \
185 $(top_builddir
)/lib
/dirpaths.h
$(srcdir)/devname.h
$(srcdir)/nls-enable.h