]>
Commit | Line | Data |
---|---|---|
19c78dc0 TT |
1 | # |
2 | # Standard e2fsprogs prologue.... | |
3 | # | |
4 | ||
5 | srcdir = @srcdir@ | |
6 | top_srcdir = @top_srcdir@ | |
7 | VPATH = @srcdir@ | |
8 | top_builddir = ../.. | |
9 | my_dir = tests/progs | |
10 | INSTALL = @INSTALL@ | |
11 | ||
12 | @MCONFIG@ | |
13 | ||
14 | MK_CMDS= ../../lib/ss/mk_cmds | |
15 | ||
16 | PROGS= test_rel | |
17 | ||
18 | TEST_REL_OBJS= test_rel.o test_rel_cmds.o | |
19 | ||
20 | SRCS= $(srcdir)/test_rel.c | |
21 | ||
22 | LIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR) | |
23 | DEPLIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR) | |
24 | ||
25 | .c.o: | |
26 | $(CC) -c $(ALL_CFLAGS) $< -o $@ | |
27 | ||
28 | all:: $(PROGS) | |
29 | ||
30 | test_rel: $(TEST_REL_OBJS) | |
31 | $(LD) $(ALL_LDFLAGS) -o test_rel $(TEST_REL_OBJS) $(LIBS) | |
32 | ||
33 | test_rel_cmds.c: test_rel_cmds.ct | |
34 | $(MK_CMDS) $(srcdir)/test_rel_cmds.ct | |
35 | ||
36 | clean: | |
37 | $(RM) -f $(PROGS) test_rel_cmds.c \#* *.s *.o *.a *~ core | |
38 | ||
39 | install: | |
40 | ||
41 | check: | |
42 | ||
43 | mostlyclean: clean | |
44 | distclean: clean | |
45 | $(RM) -f .depend Makefile | |
46 | ||
47 | # +++ Dependency line eater +++ | |
48 | # | |
49 | # Makefile dependencies follow. This must be the last section in | |
50 | # the Makefile.in file | |
51 | # | |
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 | |
58 |