mirror of https://github.com/vitalif/e2fsprogs
113 lines
3.9 KiB
Makefile
113 lines
3.9 KiB
Makefile
# Makefile for e2fsprog's internal support
|
|
#
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
top_builddir = ../..
|
|
my_dir = lib/support
|
|
INSTALL = @INSTALL@
|
|
|
|
@MCONFIG@
|
|
|
|
all::
|
|
|
|
OBJS= mkquota.o quotaio.o quotaio_v2.o quotaio_tree.o dict.o
|
|
|
|
SRCS= $(srcdir)/mkquota.c \
|
|
$(srcdir)/quotaio.c \
|
|
$(srcdir)/quotaio_tree.c \
|
|
$(srcdir)/quotaio_v2.c \
|
|
$(srcdir)/../../e2fsck/dict.c
|
|
|
|
LIBRARY= libsupport
|
|
LIBDIR= support
|
|
|
|
@MAKEFILE_LIBRARY@
|
|
@MAKEFILE_PROFILE@
|
|
|
|
.c.o:
|
|
$(E) " CC $<"
|
|
$(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@
|
|
$(Q) $(CHECK_CMD) $(ALL_CFLAGS) $<
|
|
$(Q) $(CPPCHECK_CMD) $(CPPFLAGS) $<
|
|
@PROFILE_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
|
|
|
|
dict.o:
|
|
$(E) " CC $<"
|
|
$(Q) $(CC) -c $(ALL_CFLAGS) $(top_srcdir)/e2fsck/dict.c -o $@
|
|
@PROFILE_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/dict.o -c \
|
|
@PROFILE_CMT@ $(top_srcdir)/e2fsck/dict.c
|
|
|
|
installdirs::
|
|
|
|
install:: all
|
|
|
|
uninstall::
|
|
|
|
clean::
|
|
$(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/*
|
|
$(RM) -f ../libsupport.a ../libsupport_p.a $(SMANPAGES)
|
|
|
|
#check:: tst_uuid
|
|
# LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_uuid
|
|
|
|
mostlyclean:: clean
|
|
distclean:: clean
|
|
$(RM) -f .depend Makefile \
|
|
$(srcdir)/TAGS $(srcdir)/Makefile.in.old
|
|
|
|
#
|
|
# Hack to parallel makes recognize dependencies correctly.
|
|
#
|
|
../../lib/libsupport.a: libsupport.a
|
|
../../lib/libsupport.so: image
|
|
../../lib/libsupport.dylib: image
|
|
|
|
$(OBJS):
|
|
|
|
# +++ Dependency line eater +++
|
|
#
|
|
# Makefile dependencies follow. This must be the last section in
|
|
# the Makefile.in file
|
|
#
|
|
mkquota.o: $(srcdir)/mkquota.c $(top_builddir)/lib/config.h \
|
|
$(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
|
$(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
|
$(top_srcdir)/lib/e2p/e2p.h $(srcdir)/quotaio.h $(srcdir)/dqblk_v2.h \
|
|
$(srcdir)/quotaio_tree.h $(top_srcdir)/lib/../e2fsck/dict.h \
|
|
$(srcdir)/quotaio_v2.h $(srcdir)/common.h
|
|
quotaio.o: $(srcdir)/quotaio.c $(top_builddir)/lib/config.h \
|
|
$(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
|
|
$(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio.h \
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
|
|
$(top_srcdir)/lib/ext2fs/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
|
$(srcdir)/dqblk_v2.h $(srcdir)/quotaio_tree.h \
|
|
$(top_srcdir)/lib/../e2fsck/dict.h
|
|
quotaio_tree.o: $(srcdir)/quotaio_tree.c $(top_builddir)/lib/config.h \
|
|
$(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
|
|
$(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio_tree.h \
|
|
$(srcdir)/quotaio.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
|
|
$(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
|
|
$(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
|
$(srcdir)/dqblk_v2.h $(top_srcdir)/lib/../e2fsck/dict.h
|
|
quotaio_v2.o: $(srcdir)/quotaio_v2.c $(top_builddir)/lib/config.h \
|
|
$(top_builddir)/lib/dirpaths.h $(srcdir)/common.h \
|
|
$(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/quotaio_v2.h \
|
|
$(srcdir)/quotaio.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext3_extents.h \
|
|
$(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
|
|
$(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
$(top_srcdir)/lib/ext2fs/ext2_ext_attr.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
|
$(srcdir)/dqblk_v2.h $(srcdir)/quotaio_tree.h \
|
|
$(top_srcdir)/lib/../e2fsck/dict.h
|
|
dict.o: $(srcdir)/../../e2fsck/dict.c $(top_builddir)/lib/config.h \
|
|
$(top_builddir)/lib/dirpaths.h $(srcdir)/../../e2fsck/dict.h
|