Makefile.in revision 28e66624031d272bbe1e9cff1f6403c0bb0a1e2c
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= _SS_DIR_OVERRIDE=../../lib/ss ../../lib/ss/mk_cmds 15 16PROGS= test_icount crcsum 17 18TEST_REL_OBJS= test_rel.o test_rel_cmds.o 19 20TEST_ICOUNT_OBJS= test_icount.o test_icount_cmds.o 21 22SRCS= $(srcdir)/test_rel.c 23 24LIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR) 25DEPLIBS= $(LIBEXT2FS) $(DEPLIBSS) $(DEPLIBCOM_ERR) 26 27.c.o: 28 $(E) " CC $<" 29 $(Q) $(CC) -c $(ALL_CFLAGS) $< -o $@ 30 31all:: $(PROGS) 32 33test_rel: $(TEST_REL_OBJS) $(DEPLIBS) 34 $(E) " LD $@" 35 $(Q) $(LD) $(ALL_LDFLAGS) -o test_rel $(TEST_REL_OBJS) $(LIBS) 36 37crcsum: crcsum.o $(DEPLIBS) 38 $(E) " LD $@" 39 $(Q) $(LD) $(ALL_LDFLAGS) -o crcsum crcsum.o $(LIBS) 40 41test_rel_cmds.c: test_rel_cmds.ct 42 $(E) " MK_CMDS $@" 43 $(Q) $(MK_CMDS) $(srcdir)/test_rel_cmds.ct 44 45test_icount: $(TEST_ICOUNT_OBJS) $(DEPLIBS) 46 $(E) " LD $@" 47 $(Q) $(LD) $(ALL_LDFLAGS) -o test_icount $(TEST_ICOUNT_OBJS) $(LIBS) 48 49test_icount_cmds.c: test_icount_cmds.ct 50 $(E) " MK_CMDS $@" 51 $(Q) $(MK_CMDS) $(srcdir)/test_icount_cmds.ct 52 53clean: 54 $(RM) -f $(PROGS) test_rel_cmds.c test_icount_cmds.c \ 55 \#* *.s *.o *.a *~ core 56 57install: 58 59install-strip: 60 61uninstall: 62 63mostlyclean: clean 64distclean: clean 65 $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old 66 67# +++ Dependency line eater +++ 68# 69# Makefile dependencies follow. This must be the last section in 70# the Makefile.in file 71# 72test_rel.o: $(srcdir)/test_rel.c $(top_srcdir)/lib/et/com_err.h \ 73 $(top_srcdir)/lib/ss/ss.h $(top_builddir)/lib/ss/ss_err.h \ 74 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \ 75 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_io.h \ 76 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \ 77 $(top_srcdir)/lib/ext2fs/irel.h $(top_srcdir)/lib/ext2fs/brel.h \ 78 $(srcdir)/test_rel.h 79