2 # Standard e2fsprogs prologue....
6 top_srcdir = @top_srcdir@
14 MK_CMDS= _SS_DIR_OVERRIDE=../../lib/ss ../../lib/ss/mk_cmds
18 TEST_REL_OBJS= test_rel.o test_rel_cmds.o
20 TEST_ICOUNT_OBJS= test_icount.o test_icount_cmds.o
22 SRCS= $(srcdir)/test_rel.c
24 LIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR)
25 DEPLIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR)
29 @$(CC) -c $(ALL_CFLAGS) $< -o $@
33 test_rel: $(TEST_REL_OBJS) $(DEPLIBS)
35 @$(LD) $(ALL_LDFLAGS) -o test_rel $(TEST_REL_OBJS) $(LIBS)
37 test_rel_cmds.c: test_rel_cmds.ct
39 @$(MK_CMDS) $(srcdir)/test_rel_cmds.ct
41 test_icount: $(TEST_ICOUNT_OBJS) $(DEPLIBS)
43 @$(LD) $(ALL_LDFLAGS) -o test_icount $(TEST_ICOUNT_OBJS) $(LIBS)
45 test_icount_cmds.c: test_icount_cmds.ct
47 @$(MK_CMDS) $(srcdir)/test_icount_cmds.ct
50 $(RM) -f $(PROGS) test_rel_cmds.c test_icount_cmds.c \
51 \#* *.s *.o *.a *~ core
59 $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
61 # +++ Dependency line eater +++
63 # Makefile dependencies follow. This must be the last section in
64 # the Makefile.in file
66 test_rel.o: $(srcdir)/test_rel.c $(top_srcdir)/lib/et/com_err.h \
67 $(top_srcdir)/lib/ss/ss.h $(top_builddir)/lib/ss/ss_err.h \
68 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
69 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
70 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
71 $(top_srcdir)/lib/ext2fs/irel.h $(top_srcdir)/lib/ext2fs/brel.h \