Whamcloud - gitweb
Merge branch 'maint' into next
[tools/e2fsprogs.git] / lib / quota / Makefile.in
1 # Makefile for the QUOTA library
2 #
3
4 srcdir = @srcdir@
5 top_srcdir = @top_srcdir@
6 VPATH = @srcdir@
7 top_builddir = ../..
8 my_dir = lib/quota
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= libquota
24 LIBDIR= quota
25
26 #ELF_VERSION = 1.0
27 #ELF_SO_VERSION = 1
28 #ELF_IMAGE = libquota
29 #ELF_MYDIR = quota
30 #ELF_INSTALL_DIR = $(root_libdir)
31 #ELF_OTHER_LIBS = -lext2fs
32
33 #BSDLIB_VERSION = 1.0
34 #BSDLIB_IMAGE = libquota
35 #BSDLIB_MYDIR = quota
36 #BSDLIB_INSTALL_DIR = $(root_libdir)
37
38 @MAKEFILE_LIBRARY@
39 #MAKEFILE_ELF#
40 #MAKEFILE_BSDLIB#
41 @MAKEFILE_PROFILE@
42 @MAKEFILE_CHECKER@
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 @CHECKER_CMT@   $(Q) $(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $<
51 #ELF_CMT#       $(Q) $(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
52 #BSDLIB_CMT#    $(Q) $(CC) $(ALL_CFLAGS) $(BSDLIB_PIC_FLAG) -o pic/$*.o -c $<
53
54 dict.o:
55         $(E) "  CC $<"
56         $(Q) $(CC) -c $(ALL_CFLAGS) $(top_srcdir)/e2fsck/dict.c -o $@
57 @PROFILE_CMT@   $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/dict.o -c \
58 @PROFILE_CMT@   $(top_srcdir)/e2fsck/dict.c
59 @CHECKER_CMT@   $(Q) $(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c \
60 @CHECKER_CMT@   $(top_srcdir)/e2fsck/dict.c
61 #ELF_CMT#       $(Q) $(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c \
62 #ELF_CMT#       $(top_srcdir)/e2fsck/dict.c
63 #BSDLIB_CMT#    $(Q) $(CC) $(ALL_CFLAGS) $(BSDLIB_PIC_FLAG) -o pic/$*.o -c \
64 #BSDLIB_CMT#    $(top_srcdir)/e2fsck/dict.c
65
66 installdirs::
67
68 install:: all
69
70 uninstall::
71
72 clean::
73         $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/*
74         $(RM) -f ../libquota.a ../libquota_p.a $(SMANPAGES)
75
76 #check:: tst_uuid
77 #       LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_uuid
78
79 mostlyclean:: clean
80 distclean:: clean
81         $(RM) -f .depend Makefile \
82                 $(srcdir)/TAGS $(srcdir)/Makefile.in.old
83
84 #
85 # Hack to parallel makes recognize dependencies correctly.
86 #
87 ../../lib/libquota.a: libquota.a
88 ../../lib/libquota.so: image
89 ../../lib/libquota.dylib: image
90
91 $(OBJS):
92
93 # +++ Dependency line eater +++
94
95 # Makefile dependencies follow.  This must be the last section in
96 # the Makefile.in file
97 #
98 mkquota.o: $(srcdir)/mkquota.c $(top_builddir)/lib/config.h \
99  $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
100  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
101  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
102  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
103  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
104  $(top_srcdir)/lib/e2p/e2p.h $(srcdir)/quotaio.h $(srcdir)/dqblk_v2.h \
105  $(srcdir)/quotaio_tree.h $(top_srcdir)/lib/../e2fsck/dict.h \
106  $(srcdir)/quotaio_v2.h $(srcdir)/common.h
107 quotaio.o: $(srcdir)/quotaio.c $(top_builddir)/lib/config.h \
108  $(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
109  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio.h \
110  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
111  $(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
112  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
113  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
114  $(srcdir)/dqblk_v2.h $(srcdir)/quotaio_tree.h \
115  $(top_srcdir)/lib/../e2fsck/dict.h
116 quotaio_tree.o: $(srcdir)/quotaio_tree.c $(top_builddir)/lib/config.h \
117  $(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
118  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio_tree.h \
119  $(srcdir)/quotaio.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
120  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
121  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
122  $(top_builddir)/lib/ext2fs/ext2_err.h \
123  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
124  $(srcdir)/dqblk_v2.h $(top_srcdir)/lib/../e2fsck/dict.h
125 quotaio_v2.o: $(srcdir)/quotaio_v2.c $(top_builddir)/lib/config.h \
126  $(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
127  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio_v2.h \
128  $(srcdir)/quotaio.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
129  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
130  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
131  $(top_builddir)/lib/ext2fs/ext2_err.h \
132  $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
133  $(srcdir)/dqblk_v2.h $(srcdir)/quotaio_tree.h \
134  $(top_srcdir)/lib/../e2fsck/dict.h
135 dict.o: $(srcdir)/../../e2fsck/dict.c $(top_builddir)/lib/config.h \
136  $(top_builddir)/lib/dirpaths.h $(srcdir)/../../e2fsck/dict.h