e2fsprogs/tests/progs/Makefile.in

68 lines
1.5 KiB
Makefile

#
# Standard e2fsprogs prologue....
#
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
top_builddir = ../..
my_dir = tests/progs
INSTALL = @INSTALL@
@MCONFIG@
MK_CMDS= ../../lib/ss/mk_cmds
PROGS= test_rel test_icount
TEST_REL_OBJS= test_rel.o test_rel_cmds.o
TEST_ICOUNT_OBJS= test_icount.o test_icount_cmds.o
SRCS= $(srcdir)/test_rel.c
LIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR)
DEPLIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR)
.c.o:
$(CC) -c $(ALL_CFLAGS) $< -o $@
all:: $(PROGS)
test_rel: $(TEST_REL_OBJS) $(DEPLIBS)
$(LD) $(ALL_LDFLAGS) -o test_rel $(TEST_REL_OBJS) $(LIBS)
test_rel_cmds.c: test_rel_cmds.ct
$(MK_CMDS) $(srcdir)/test_rel_cmds.ct
test_icount: $(TEST_ICOUNT_OBJS) $(DEPLIBS)
$(LD) $(ALL_LDFLAGS) -o test_icount $(TEST_ICOUNT_OBJS) $(LIBS)
test_icount_cmds.c: test_icount_cmds.ct
$(MK_CMDS) $(srcdir)/test_icount_cmds.ct
clean:
$(RM) -f $(PROGS) test_rel_cmds.c test_icount_cmds.c \
\#* *.s *.o *.a *~ core
install:
check:
mostlyclean: clean
distclean: clean
$(RM) -f .depend Makefile
# +++ Dependency line eater +++
#
# Makefile dependencies follow. This must be the last section in
# the Makefile.in file
#
test_rel.o: $(srcdir)/test_rel.c $(top_srcdir)/lib/et/com_err.h \
$(top_srcdir)/lib/ss/ss.h $(top_srcdir)/lib/ss/copyright.h \
$(top_builddir)/lib/ss/ss_err.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
$(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
$(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/irel.h \
$(top_srcdir)/lib/ext2fs/brel.h $(srcdir)/test_rel.h