Whamcloud - gitweb
add debugfs command to print known features
[tools/e2fsprogs.git] / lib / e2p / Makefile.in
index 6557480..2c56ab5 100644 (file)
@@ -69,8 +69,14 @@ tst_ostype: $(srcdir)/ostype.c
        @$(CC) -DTEST_PROGRAM -I$(top_srcdir)/lib -o tst_ostype \
                $(srcdir)/ostype.c $(ALL_CFLAGS)
 
-check::        tst_ostype
+tst_feature: $(srcdir)/feature.c
+       @echo " LD $@"
+       @$(CC) -DTEST_PROGRAM -I$(top_srcdir)/lib -o tst_feature \
+               $(srcdir)/feature.c $(ALL_CFLAGS)
+
+check::        tst_ostype tst_feature
        ./tst_ostype
+       ./tst_feature
 
 installdirs::
        @echo " MKINSTALLDIRS $(libdir) $(includedir)/e2p"
@@ -96,7 +102,7 @@ uninstall::
 
 clean::
        $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/*
-       $(RM) -f ../libe2p.a ../libe2p_p.a tst_ostype
+       $(RM) -f ../libe2p.a ../libe2p_p.a tst_ostype tst_feature
 
 mostlyclean:: clean
 distclean:: clean