2 # Standard e2fsprogs prologue....
6 top_srcdir = @top_srcdir@
14 MK_CMDS= ../../lib/ss/mk_cmds
18 TEST_REL_OBJS= test_rel.o test_rel_cmds.o
20 SRCS= $(srcdir)/test_rel.c
22 LIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR)
23 DEPLIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR)
26 $(CC) -c $(ALL_CFLAGS) $< -o $@
30 test_rel: $(TEST_REL_OBJS)
31 $(LD) $(ALL_LDFLAGS) -o test_rel $(TEST_REL_OBJS) $(LIBS)
33 test_rel_cmds.c: test_rel_cmds.ct
34 $(MK_CMDS) $(srcdir)/test_rel_cmds.ct
37 $(RM) -f $(PROGS) test_rel_cmds.c \#* *.s *.o *.a *~ core
45 $(RM) -f .depend Makefile
47 # +++ Dependency line eater +++
49 # Makefile dependencies follow. This must be the last section in
50 # the Makefile.in file
52 test_rel.o: $(srcdir)/test_rel.c $(top_srcdir)/lib/et/com_err.h \
53 $(top_srcdir)/lib/ss/ss.h $(top_srcdir)/lib/ss/copyright.h \
54 $(top_builddir)/lib/ss/ss_err.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
55 $(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
56 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/irel.h \
57 $(top_srcdir)/lib/ext2fs/brel.h $(srcdir)/test_rel.h