]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - tests/progs/Makefile.in
Many files:
[thirdparty/e2fsprogs.git] / tests / progs / Makefile.in
CommitLineData
19c78dc0
TT
1#
2# Standard e2fsprogs prologue....
3#
4
5srcdir = @srcdir@
6top_srcdir = @top_srcdir@
7VPATH = @srcdir@
8top_builddir = ../..
9my_dir = tests/progs
10INSTALL = @INSTALL@
11
12@MCONFIG@
13
14MK_CMDS= ../../lib/ss/mk_cmds
15
521e3685 16PROGS= test_rel test_icount
19c78dc0
TT
17
18TEST_REL_OBJS= test_rel.o test_rel_cmds.o
19
521e3685
TT
20TEST_ICOUNT_OBJS= test_icount.o test_icount_cmds.o
21
19c78dc0
TT
22SRCS= $(srcdir)/test_rel.c
23
24LIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR)
25DEPLIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR)
26
27.c.o:
28 $(CC) -c $(ALL_CFLAGS) $< -o $@
29
30all:: $(PROGS)
31
521e3685 32test_rel: $(TEST_REL_OBJS) $(DEPLIBS)
19c78dc0
TT
33 $(LD) $(ALL_LDFLAGS) -o test_rel $(TEST_REL_OBJS) $(LIBS)
34
35test_rel_cmds.c: test_rel_cmds.ct
36 $(MK_CMDS) $(srcdir)/test_rel_cmds.ct
37
521e3685
TT
38test_icount: $(TEST_ICOUNT_OBJS) $(DEPLIBS)
39 $(LD) $(ALL_LDFLAGS) -o test_icount $(TEST_ICOUNT_OBJS) $(LIBS)
40
41test_icount_cmds.c: test_icount_cmds.ct
42 $(MK_CMDS) $(srcdir)/test_icount_cmds.ct
43
19c78dc0 44clean:
521e3685
TT
45 $(RM) -f $(PROGS) test_rel_cmds.c test_icount_cmds.c \
46 \#* *.s *.o *.a *~ core
19c78dc0
TT
47
48install:
49
50check:
51
52mostlyclean: clean
53distclean: clean
54 $(RM) -f .depend Makefile
55
56# +++ Dependency line eater +++
57#
58# Makefile dependencies follow. This must be the last section in
59# the Makefile.in file
60#
61test_rel.o: $(srcdir)/test_rel.c $(top_srcdir)/lib/et/com_err.h \
62 $(top_srcdir)/lib/ss/ss.h $(top_srcdir)/lib/ss/copyright.h \
63 $(top_builddir)/lib/ss/ss_err.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
64 $(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
65 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/irel.h \
66 $(top_srcdir)/lib/ext2fs/brel.h $(srcdir)/test_rel.h
67