]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blob - lib/support/Makefile.in
Merge branch 'maint' into next
[thirdparty/e2fsprogs.git] / lib / support / Makefile.in
1 # Makefile for e2fsprog's internal support
2 #
3
4 srcdir = @srcdir@
5 top_srcdir = @top_srcdir@
6 VPATH = @srcdir@
7 top_builddir = ../..
8 my_dir = lib/support
9 INSTALL = @INSTALL@
10
11 @MCONFIG@
12
13 all::
14
15 OBJS= mkquota.o \
16 plausible.o \
17 profile.o \
18 profile_helpers.o \
19 prof_err.o \
20 quotaio.o \
21 quotaio_v2.o \
22 quotaio_tree.o \
23 dict.o
24
25 SRCS= $(srcdir)/argv_parse.c \
26 $(srcdir)/mkquota.c \
27 $(srcdir)/plausible.c \
28 $(srcdir)/profile.c \
29 $(srcdir)/profile_helpers.c \
30 prof_err.c \
31 $(srcdir)/quotaio.c \
32 $(srcdir)/quotaio_tree.c \
33 $(srcdir)/quotaio_v2.c \
34 $(srcdir)/dict.c
35
36 LIBRARY= libsupport
37 LIBDIR= support
38
39 @MAKEFILE_LIBRARY@
40 @MAKEFILE_PROFILE@
41
42 COMPILE_ET=$(top_builddir)/lib/et/compile_et --build-tree
43
44 .c.o:
45 $(E) " CC $<"
46 $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@
47 $(Q) $(CHECK_CMD) $(ALL_CFLAGS) $<
48 $(Q) $(CPPCHECK_CMD) $(CPPFLAGS) $<
49 @PROFILE_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
50
51 installdirs::
52
53 install:: all
54
55 uninstall::
56
57 prof_err.c prof_err.h: prof_err.et
58 $(E) " COMPILE_ET prof_err.et"
59 $(Q) $(COMPILE_ET) $(srcdir)/prof_err.et
60
61 test_profile: $(srcdir)/profile.c profile_helpers.o argv_parse.o \
62 prof_err.o profile.h $(DEPSTATIC_LIBCOM_ERR)
63 $(E) " LD $@"
64 $(Q) $(CC) -o test_profile -DDEBUG_PROGRAM $(srcdir)/profile.c prof_err.o \
65 profile_helpers.o argv_parse.o $(STATIC_LIBCOM_ERR) \
66 $(ALL_CFLAGS)
67
68 clean::
69 $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* \
70 ../libsupport.a ../libsupport_p.a $(SMANPAGES) \
71 prof_err.c prof_err.h test_profile
72
73 #check:: tst_uuid
74 # LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_uuid
75
76 mostlyclean:: clean
77 distclean:: clean
78 $(RM) -f .depend Makefile \
79 $(srcdir)/TAGS $(srcdir)/Makefile.in.old
80
81 #
82 # Hack to parallel makes recognize dependencies correctly.
83 #
84 ../../lib/libsupport.a: libsupport.a
85 ../../lib/libsupport.so: image
86 ../../lib/libsupport.dylib: image
87
88 $(OBJS):
89
90 # +++ Dependency line eater +++
91 #
92 # Makefile dependencies follow. This must be the last section in
93 # the Makefile.in file
94 #
95 argv_parse.o: $(srcdir)/argv_parse.c $(top_builddir)/lib/config.h \
96 $(top_builddir)/lib/dirpaths.h $(srcdir)/argv_parse.h
97 mkquota.o: $(srcdir)/mkquota.c $(top_builddir)/lib/config.h \
98 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
99 $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
100 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
101 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
102 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
103 $(top_srcdir)/lib/e2p/e2p.h $(srcdir)/quotaio.h $(srcdir)/dqblk_v2.h \
104 $(srcdir)/quotaio_tree.h $(srcdir)/quotaio_v2.h $(srcdir)/common.h \
105 $(srcdir)/dict.h
106 plausible.o: $(srcdir)/plausible.c $(top_builddir)/lib/config.h \
107 $(top_builddir)/lib/dirpaths.h $(srcdir)/plausible.h \
108 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
109 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
110 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
111 $(top_builddir)/lib/ext2fs/ext2_err.h \
112 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
113 $(srcdir)/nls-enable.h
114 profile.o: $(srcdir)/profile.c $(top_builddir)/lib/config.h \
115 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
116 $(srcdir)/profile.h prof_err.h
117 profile_helpers.o: $(srcdir)/profile_helpers.c $(top_builddir)/lib/config.h \
118 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/et/com_err.h \
119 $(srcdir)/profile.h prof_err.h
120 prof_err.o: prof_err.c
121 quotaio.o: $(srcdir)/quotaio.c $(top_builddir)/lib/config.h \
122 $(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
123 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio.h \
124 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
125 $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
126 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
127 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
128 $(srcdir)/dqblk_v2.h $(srcdir)/quotaio_tree.h
129 quotaio_tree.o: $(srcdir)/quotaio_tree.c $(top_builddir)/lib/config.h \
130 $(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
131 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio_tree.h \
132 $(srcdir)/quotaio.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
133 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
134 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
135 $(top_builddir)/lib/ext2fs/ext2_err.h \
136 $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
137 $(srcdir)/dqblk_v2.h
138 quotaio_v2.o: $(srcdir)/quotaio_v2.c $(top_builddir)/lib/config.h \
139 $(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
140 $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio_v2.h \
141 $(srcdir)/quotaio.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
142 $(top_srcdir)/lib/ext2fs/ext2fs.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/bitops.h \
146 $(srcdir)/dqblk_v2.h $(srcdir)/quotaio_tree.h
147 dict.o: $(srcdir)/dict.c $(top_builddir)/lib/config.h \
148 $(top_builddir)/lib/dirpaths.h $(srcdir)/dict.h