提交 950c8b39 编写于 作者: J Jim Meyering

dist: distribute all libvirt_*.syms files, ...

* src/Makefile.am (EXTRA_DIST): Distribute all libvirt_*.syms files,
not just those that happen to be selected at configure time.
上级 06522492
Tue Jan 6 12:09:47 CET 2009 Jim Meyering <meyering@redhat.com>
dist: distribute all libvirt_*.syms files, ...
* src/Makefile.am (EXTRA_DIST): Distribute all libvirt_*.syms files,
not just those that happen to be selected at configure time.
Tue Jan 6 10:47:33 CET 2009 Jim Meyering <meyering@redhat.com> Tue Jan 6 10:47:33 CET 2009 Jim Meyering <meyering@redhat.com>
avoid syntax-check (po-check) failure due to FP match on gettext.m4 avoid syntax-check (po-check) failure due to FP match on gettext.m4
......
...@@ -192,7 +192,7 @@ libvirt_driver_la_SOURCES = \ ...@@ -192,7 +192,7 @@ libvirt_driver_la_SOURCES = \
libvirt_driver_la_CFLAGS = $(XEN_CFLAGS) $(NUMACTL_CFLAGS) libvirt_driver_la_CFLAGS = $(XEN_CFLAGS) $(NUMACTL_CFLAGS)
libvirt_driver_la_LDFLAGS = $(XEN_LIBS) $(NUMACTL_LIBS) libvirt_driver_la_LDFLAGS = $(XEN_LIBS) $(NUMACTL_LIBS)
PRIVSYMFILES = libvirt_private.syms USED_SYM_FILES = libvirt_private.syms
if WITH_TEST if WITH_TEST
if WITH_DRIVER_MODULES if WITH_DRIVER_MODULES
...@@ -412,31 +412,37 @@ EXTRA_DIST += \ ...@@ -412,31 +412,37 @@ EXTRA_DIST += \
# #
if ENABLE_DEBUG if ENABLE_DEBUG
PRIVSYMFILES += libvirt_debug.syms USED_SYM_FILES += libvirt_debug.syms
endif endif
if WITH_DRIVER_MODULES if WITH_DRIVER_MODULES
PRIVSYMFILES += libvirt_driver_modules.syms USED_SYM_FILES += libvirt_driver_modules.syms
endif endif
if WITH_BRIDGE if WITH_BRIDGE
PRIVSYMFILES += libvirt_bridge.syms USED_SYM_FILES += libvirt_bridge.syms
endif endif
if WITH_LINUX if WITH_LINUX
PRIVSYMFILES += libvirt_linux.syms USED_SYM_FILES += libvirt_linux.syms
endif endif
EXTRA_DIST += libvirt_public.syms $(PRIVSYMFILES) EXTRA_DIST += \
libvirt_public.syms \
libvirt_private.syms \
libvirt_debug.syms \
libvirt_driver_modules.syms \
libvirt_bridge.syms \
libvirt_linux.syms
libvirt.syms: libvirt_public.syms $(PRIVSYMFILES) libvirt.syms: libvirt_public.syms $(USED_SYM_FILES)
rm -f $@-tmp $@ rm -f $@-tmp $@
printf '# WARNING: generated from the following:\n# $^\n\n' >$@-tmp printf '# WARNING: generated from the following:\n# $^\n\n' >$@-tmp
cat $(srcdir)/libvirt_public.syms >>$@-tmp cat $(srcdir)/libvirt_public.syms >>$@-tmp
printf '\n\n# Private symbols\n\n' >>$@-tmp printf '\n\n# Private symbols\n\n' >>$@-tmp
printf 'LIBVIRT_PRIVATE_$(VERSION) {\n\n' >>$@-tmp printf 'LIBVIRT_PRIVATE_$(VERSION) {\n\n' >>$@-tmp
printf 'global:\n\n' >>$@-tmp printf 'global:\n\n' >>$@-tmp
for file in $(PRIVSYMFILES); do \ for file in $(USED_SYM_FILES); do \
cat $(srcdir)/$$file >>$@-tmp; \ cat $(srcdir)/$$file >>$@-tmp; \
done done
printf '\n\nlocal:\n*;\n\n};' >>$@-tmp printf '\n\nlocal:\n*;\n\n};' >>$@-tmp
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册