summaryrefslogtreecommitdiff
path: root/lib/e2p/Makefile.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2005-03-19 01:13:22 -0500
committerTheodore Ts'o <tytso@mit.edu>2005-03-19 01:13:22 -0500
commit63253946309651c1015947d522e2ba4b35a807a5 (patch)
tree80ade4a4dc3091092cddbdbe9c2577a6c810436e /lib/e2p/Makefile.in
parent06ce1f6b282f2c632b1aabbee07a103d1bc1fa69 (diff)
downloade2fsprogs-63253946309651c1015947d522e2ba4b35a807a5.tar.gz
Add new functions which convert between a string and os_type: e2p_os2string()
and e2p_string2os() in the e2p library.
Diffstat (limited to 'lib/e2p/Makefile.in')
-rw-r--r--lib/e2p/Makefile.in18
1 files changed, 14 insertions, 4 deletions
diff --git a/lib/e2p/Makefile.in b/lib/e2p/Makefile.in
index c91cd88e..f77e7696 100644
--- a/lib/e2p/Makefile.in
+++ b/lib/e2p/Makefile.in
@@ -18,7 +18,8 @@ all:: e2p.pc
OBJS= feature.o fgetflags.o fsetflags.o fgetversion.o fsetversion.o \
getflags.o getversion.o hashstr.o iod.o ls.o mntopts.o \
- parse_num.o pe.o pf.o ps.o setflags.o setversion.o uuid.o
+ parse_num.o pe.o pf.o ps.o setflags.o setversion.o uuid.o \
+ ostype.o
SRCS= $(srcdir)/feature.c $(srcdir)/fgetflags.c \
$(srcdir)/fsetflags.c $(srcdir)/fgetversion.c \
@@ -26,8 +27,8 @@ SRCS= $(srcdir)/feature.c $(srcdir)/fgetflags.c \
$(srcdir)/getversion.c $(srcdir)/hashstr.c $(srcdir)/iod.c \
$(srcdir)/ls.c $(srcdir)/mntopts.c $(srcdir)/parse_num.c \
$(srcdir)/pe.c $(srcdir)/pf.c $(srcdir)/ps.c \
- $(srcdir)/setflags.c $(srcdir)/setversion.c $(srcdir)/uuid.c
-
+ $(srcdir)/setflags.c $(srcdir)/setversion.c $(srcdir)/uuid.c \
+ $(srcdir)/ostype.c
HFILES= e2p.h
LIBRARY= libe2p
@@ -63,6 +64,13 @@ e2p.pc: $(srcdir)/e2p.pc.in $(top_builddir)/config.status
@echo " CONFIG.STATUS $@"
@cd $(top_builddir); CONFIG_FILES=lib/e2p/e2p.pc ./config.status
+tst_ostype: $(srcdir)/ostype.c
+ @echo " LD $@"
+ @$(CC) -DTEST_PROGRAM -o tst_ostype $(srcdir)/ostype.c
+
+check:: tst_ostype
+ ./tst_ostype
+
installdirs::
@echo " MKINSTALLDIRS $(libdir) $(includedir)/e2p"
@$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
@@ -87,7 +95,8 @@ uninstall::
clean::
$(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/*
- $(RM) -f ../libe2p.a ../libe2p_p.a
+ $(RM) -f ../libe2p.a ../libe2p_p.a tst_ostype
+
mostlyclean:: clean
distclean:: clean
$(RM) -f .depend Makefile e2p.pc \
@@ -132,3 +141,4 @@ setversion.o: $(srcdir)/setversion.c $(srcdir)/e2p.h \
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
uuid.o: $(srcdir)/uuid.c $(top_builddir)/lib/ext2fs/ext2_types.h \
$(srcdir)/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h
+ostype.o: $(srcdir)/ostype.c $(srcdir)/e2p.h