Makefile.am revision ef5c2d048c875b6307fdc0e10f6b703fcb57772e
rootlibdir = $(exec_prefix)/$(libdir_name)
rootlib_LTLIBRARIES = \
include_HEADERS =\
libvolume_id_la_SOURCES =\
util.c \
md5.h \
md5.c \
ext.c \
fat.c \
hfs.c \
jfs.c \
lvm.c \
ntfs.c \
udf.c \
ufs.c \
xfs.c \
cramfs.c \
hpfs.c \
romfs.c \
sysv.c \
minix.c \
gfs.c \
luks.c \
ocfs.c \
vxfs.c \
libvolume_id_la_LDFLAGS = \
-version-info $(VOLID_LT_CURRENT):$(VOLID_LT_REVISION):$(VOLID_LT_AGE) \
-export-symbols $(top_srcdir)/extras/volume_id/lib/exported_symbols
# move devel files to $(prefix)$(libdir_name) if needed
install-data-hook:
rm $(DESTDIR)$(rootlibdir)/libvolume_id.la
if test "$(prefix)" != "$(exec_prefix)"; then \
mkdir -p $(DESTDIR)$(prefix)/$(libdir_name); \
mv $(DESTDIR)$(rootlibdir)/libvolume_id.a $(DESTDIR)$(prefix)/$(libdir_name)/; \
so_img_name=$$(readlink $(DESTDIR)$(rootlibdir)/libvolume_id.so); \
rm $(DESTDIR)$(rootlibdir)/libvolume_id.so; \
so_img_rel_target_prefix=$$(echo $(prefix)/$(libdir_name) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \
ln -sf $$so_img_rel_target_prefix$(exec_prefix)/$(libdir_name)/$$so_img_name \
$(DESTDIR)$(prefix)/$(libdir_name)/libvolume_id.so; \
fi
EXTRA_DIST = \
exported_symbols
pkgconfigdir = $(prefix)/$(libdir_name)/pkgconfig
pkgconfig_DATA = libvolume_id.pc
distclean-local:
rm -f Makefile.in