Whamcloud - gitweb
rename libquota.a to libsupport.a
[tools/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 quotaio.o quotaio_v2.o quotaio_tree.o dict.o
16
17 SRCS=           $(srcdir)/mkquota.c \
18                 $(srcdir)/quotaio.c \
19                 $(srcdir)/quotaio_tree.c \
20                 $(srcdir)/quotaio_v2.c \
21                 $(srcdir)/../../e2fsck/dict.c
22
23 LIBRARY= libsupport
24 LIBDIR= support
25
26 @MAKEFILE_LIBRARY@
27 @MAKEFILE_PROFILE@
28
29 .c.o:
30         $(E) "  CC $<"
31         $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@
32         $(Q) $(CHECK_CMD) $(ALL_CFLAGS) $<
33         $(Q) $(CPPCHECK_CMD) $(CPPFLAGS) $<
34 @PROFILE_CMT@   $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
35
36 dict.o:
37         $(E) "  CC $<"
38         $(Q) $(CC) -c $(ALL_CFLAGS) $(top_srcdir)/e2fsck/dict.c -o $@
39 @PROFILE_CMT@   $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/dict.o -c \
40 @PROFILE_CMT@   $(top_srcdir)/e2fsck/dict.c
41
42 installdirs::
43
44 install:: all
45
46 uninstall::
47
48 clean::
49         $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/*
50         $(RM) -f ../libsupport.a ../libsupport_p.a $(SMANPAGES)
51
52 #check:: tst_uuid
53 #       LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_uuid
54
55 mostlyclean:: clean
56 distclean:: clean
57         $(RM) -f .depend Makefile \
58                 $(srcdir)/TAGS $(srcdir)/Makefile.in.old
59
60 #
61 # Hack to parallel makes recognize dependencies correctly.
62 #
63 ../../lib/libsupport.a: libsupport.a
64 ../../lib/libsupport.so: image
65 ../../lib/libsupport.dylib: image
66
67 $(OBJS):
68
69 # +++ Dependency line eater +++
70
71 # Makefile dependencies follow.  This must be the last section in
72 # the Makefile.in file
73 #
74 mkquota.o: $(srcdir)/mkquota.c $(top_builddir)/lib/config.h \
75  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
76  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
77  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
78  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
79  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
80  $(top_srcdir)/lib/e2p/e2p.h $(srcdir)/quotaio.h $(srcdir)/dqblk_v2.h \
81  $(srcdir)/quotaio_tree.h $(top_srcdir)/lib/../e2fsck/dict.h \
82  $(srcdir)/quotaio_v2.h $(srcdir)/common.h
83 quotaio.o: $(srcdir)/quotaio.c $(top_builddir)/lib/config.h \
84  $(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
85  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio.h \
86  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
87  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
88  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
89  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
90  $(srcdir)/dqblk_v2.h $(srcdir)/quotaio_tree.h \
91  $(top_srcdir)/lib/../e2fsck/dict.h
92 quotaio_tree.o: $(srcdir)/quotaio_tree.c $(top_builddir)/lib/config.h \
93  $(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
94  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio_tree.h \
95  $(srcdir)/quotaio.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
96  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
97  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
98  $(top_builddir)/lib/ext2fs/ext2_err.h \
99  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
100  $(srcdir)/dqblk_v2.h $(top_srcdir)/lib/../e2fsck/dict.h
101 quotaio_v2.o: $(srcdir)/quotaio_v2.c $(top_builddir)/lib/config.h \
102  $(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
103  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio_v2.h \
104  $(srcdir)/quotaio.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
105  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
106  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
107  $(top_builddir)/lib/ext2fs/ext2_err.h \
108  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
109  $(srcdir)/dqblk_v2.h $(srcdir)/quotaio_tree.h \
110  $(top_srcdir)/lib/../e2fsck/dict.h
111 dict.o: $(srcdir)/../../e2fsck/dict.c $(top_builddir)/lib/config.h \
112  $(top_builddir)/lib/dirpaths.h $(srcdir)/../../e2fsck/dict.h