Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
41ebac42
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
41ebac42
编写于
11月 17, 2008
作者:
D
Daniel P. Berrange
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Build drivers as libtool convenience libs
上级
48e9d7b7
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
75 addition
and
36 deletion
+75
-36
ChangeLog
ChangeLog
+4
-0
src/Makefile.am
src/Makefile.am
+71
-36
未找到文件。
ChangeLog
浏览文件 @
41ebac42
Mon Nov 17 10:43:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
* src/Makefile.am: Build drivers as libtool convenience libs
Mon Nov 17 10:23:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
* docs/libvirt-api.xml: Re-generate
...
...
src/Makefile.am
浏览文件 @
41ebac42
...
...
@@ -6,11 +6,7 @@ INCLUDES = \
-I
@top_srcdir@/include
\
-I
@top_srcdir@/qemud
\
$(LIBXML_CFLAGS)
\
$(GNUTLS_CFLAGS)
\
$(SASL_CFLAGS)
\
$(SELINUX_CFLAGS)
\
$(NUMACTL_CFLAGS)
\
$(XEN_CFLAGS)
\
-DBINDIR
=
\"
"
$(libexecdir)
"
\"
\
-DSBINDIR
=
\"
"
$(sbindir)
"
\"
\
-DSYSCONF_DIR
=
"
\"
$(sysconfdir)
\"
"
\
...
...
@@ -19,10 +15,6 @@ INCLUDES = \
-DGETTEXT_PACKAGE
=
\"
$(PACKAGE)
\"
\
$(WARN_CFLAGS)
DEPS
=
libvirt.la
LDADDS
=
@STATIC_BINARIES@
$(WARN_CFLAGS)
libvirt.la ../gnulib/lib/libgnu.la
VIRSH_LIBS
=
@VIRSH_LIBS@
confdir
=
$(sysconfdir)
/libvirt/
conf_DATA
=
qemu.conf
...
...
@@ -40,7 +32,7 @@ lib_LTLIBRARIES = libvirt.la
# These files are not related to driver APIs. Simply generic
# helper APIs for various purposes
GENERIC_LIB_SOURCES
=
\
UTIL_SOURCES
=
\
bridge.c bridge.h
\
buf.c buf.h
\
conf.c conf.h
\
...
...
@@ -55,6 +47,16 @@ GENERIC_LIB_SOURCES = \
logging.c logging.h
\
xml.c xml.h
# Internal generic driver infrastructure
DRIVER_SOURCES
=
\
driver.h
\
internal.h
\
datatypes.c datatypes.h
\
domain_event.c domain_event.h
\
stats_linux.c stats_linux.h
\
libvirt.c libvirt_internal.h
# Domain driver generic impl APIs
DOMAIN_CONF_SOURCES
=
\
capabilities.c capabilities.h
\
...
...
@@ -147,62 +149,91 @@ STORAGE_HELPER_DISK_SOURCES = \
#
# First deal with sources usable in non-daemon context
libvirt_la_SOURCES
=
\
driver.h
\
internal.h
\
datatypes.c datatypes.h
\
domain_event.c domain_event.h
\
stats_linux.c stats_linux.h
\
libvirt.c libvirt_internal.h
\
$(GENERIC_LIB_SOURCES)
\
noinst_LTLIBRARIES
=
libvirt_util.la
libvirt_la_LIBADD
=
libvirt_util.la
libvirt_util_la_SOURCES
=
\
$(UTIL_SOURCES)
noinst_LTLIBRARIES
+=
libvirt_driver.la
libvirt_la_LIBADD
+=
libvirt_driver.la
libvirt_driver_la_SOURCES
=
\
$(DRIVER_SOURCES)
\
$(DOMAIN_CONF_SOURCES)
\
$(NETWORK_CONF_SOURCES)
\
$(STORAGE_CONF_SOURCES)
if
WITH_TEST
libvirt_la_SOURCES
+=
$(TEST_DRIVER_SOURCES)
noinst_LTLIBRARIES
+=
libvirt_driver_test.la
libvirt_la_LIBADD
+=
libvirt_driver_test.la
libvirt_driver_test_la_SOURCES
=
$(TEST_DRIVER_SOURCES)
endif
if
WITH_REMOTE
libvirt_la_SOURCES
+=
$(REMOTE_DRIVER_SOURCES)
noinst_LTLIBRARIES
+=
libvirt_driver_remote.la
libvirt_la_LIBADD
+=
libvirt_driver_remote.la
libvirt_driver_remote_la_CFLAGS
=
\
$(GNUTLS_CFLAGS)
\
$(SASL_CFLAGS)
libvirt_driver_remote_la_LDFLAGS
=
\
$(GNUTLS_LIBS)
\
$(SASL_LIBS)
libvirt_driver_remote_la_SOURCES
=
$(REMOTE_DRIVER_SOURCES)
endif
if
WITH_XEN
libvirt_la_SOURCES
+=
$(XEN_DRIVER_SOURCES)
noinst_LTLIBRARIES
+=
libvirt_driver_xen.la
libvirt_la_LIBADD
+=
libvirt_driver_xen.la
libvirt_driver_xen_la_CFLAGS
=
$(XEN_CFLAGS)
libvirt_driver_xen_la_LDFLAGS
=
$(XEN_LIBS)
libvirt_driver_xen_la_SOURCES
=
$(XEN_DRIVER_SOURCES)
endif
if
WITH_OPENVZ
libvirt_la_SOURCES
+=
$(OPENVZ_DRIVER_SOURCES)
noinst_LTLIBRARIES
+=
libvirt_driver_openvz.la
libvirt_la_LIBADD
+=
libvirt_driver_openvz.la
libvirt_driver_openvz_la_SOURCES
=
$(OPENVZ_DRIVER_SOURCES)
endif
if
WITH_QEMU
libvirt_la_SOURCES
+=
$(QEMU_DRIVER_SOURCES)
noinst_LTLIBRARIES
+=
libvirt_driver_qemu.la
libvirt_la_LIBADD
+=
libvirt_driver_qemu.la
libvirt_driver_qemu_la_CFLAGS
=
$(NUMACTL_CFLAGS)
libvirt_driver_qemu_la_LDFLAGS
=
$(NUMACTL_LIBS)
libvirt_driver_qemu_la_SOURCES
=
$(QEMU_DRIVER_SOURCES)
endif
if
WITH_LXC
libvirt_la_SOURCES
+=
$(LXC_DRIVER_SOURCES)
noinst_LTLIBRARIES
+=
libvirt_driver_lxc.la
libvirt_la_LIBADD
+=
libvirt_driver_lxc.la
libvirt_driver_lxc_la_SOURCES
=
$(LXC_DRIVER_SOURCES)
endif
if
WITH_NETWORK
libvirt_la_SOURCES
+=
$(NETWORK_DRIVER_SOURCES)
noinst_LTLIBRARIES
+=
libvirt_driver_network.la
libvirt_la_LIBADD
+=
libvirt_driver_network.la
libvirt_driver_network_la_SOURCES
=
$(NETWORK_DRIVER_SOURCES)
endif
# Needed to keep automake quiet about conditionals
libvirt_driver_storage_la_SOURCES
=
if
WITH_STORAGE_DIR
libvirt_la_SOURCES
+=
$(STORAGE_DRIVER_SOURCES)
libvirt_la_SOURCES
+=
$(STORAGE_DRIVER_FS_SOURCES)
noinst_LTLIBRARIES
+=
libvirt_driver_storage.la
libvirt_la_LIBADD
+=
libvirt_driver_storage.la
libvirt_driver_storage_la_SOURCES
+=
$(STORAGE_DRIVER_SOURCES)
libvirt_driver_storage_la_SOURCES
+=
$(STORAGE_DRIVER_FS_SOURCES)
endif
if
WITH_STORAGE_LVM
libvirt_la_SOURCES
+=
$(STORAGE_DRIVER_LVM_SOURCES)
libvirt_
driver_storage_
la_SOURCES
+=
$(STORAGE_DRIVER_LVM_SOURCES)
endif
if
WITH_STORAGE_ISCSI
libvirt_la_SOURCES
+=
$(STORAGE_DRIVER_ISCSI_SOURCES)
libvirt_
driver_storage_
la_SOURCES
+=
$(STORAGE_DRIVER_ISCSI_SOURCES)
endif
if
WITH_STORAGE_DISK
libvirt_la_SOURCES
+=
$(STORAGE_DRIVER_DISK_SOURCES)
libvirt_
driver_storage_
la_SOURCES
+=
$(STORAGE_DRIVER_DISK_SOURCES)
endif
# Add all conditional sources just in case...
...
...
@@ -221,8 +252,9 @@ EXTRA_DIST += \
$(STORAGE_DRIVER_DISK_SOURCES)
libvirt_la_LIBADD
=
$(LIBXML_LIBS)
$(GNUTLS_LIBS)
$(SASL_LIBS)
$(SELINUX_LIBS)
\
$(NUMACTL_LIBS)
$(XEN_LIBS)
\
# Empty source list - it merely links a bunch of convenience libs together
libvirt_la_SOURCES
=
libvirt_la_LIBADD
+=
$(LIBXML_LIBS)
$(SELINUX_LIBS)
\
@CYGWIN_EXTRA_LIBADD@ ../gnulib/lib/libgnu.la
libvirt_la_LDFLAGS
=
-Wl
,--version-script
=
$(srcdir)
/libvirt_sym.version
\
-version-info
@LIBVIRT_VERSION_INFO@
\
...
...
@@ -233,7 +265,7 @@ libvirt_la_CFLAGS = $(COVERAGE_CFLAGS) -DIN_LIBVIRT
# Create an automake "convenience library" version of libvirt_la,
# just for testing, since the test harness requires access to internal
# bits and pieces that we don't want to make publicly accessible.
noinst_LTLIBRARIES
=
libvirt_test.la
noinst_LTLIBRARIES
+
=
libvirt_test.la
# Convert libvirt_sym.version
# to libvirt_test_sym.version, and
...
...
@@ -257,8 +289,12 @@ virsh_SOURCES = \
virsh.c
virsh_LDFLAGS
=
$(WARN_CFLAGS)
$(COVERAGE_LDFLAGS)
virsh_DEPENDENCIES
=
$(DEPS)
virsh_LDADD
=
$(LDADDS)
$(VIRSH_LIBS)
virsh_LDADD
=
\
$(STATIC_BINARIES)
\
$(WARN_CFLAGS)
\
libvirt.la
\
../gnulib/lib/libgnu.la
\
$(VIRSH_LIBS)
virsh_CFLAGS
=
$(COVERAGE_CFLAGS)
$(READLINE_CFLAGS)
BUILT_SOURCES
=
virsh-net-edit.c virsh-pool-edit.c
...
...
@@ -295,7 +331,6 @@ virsh-pool-edit.c: virsh.c Makefile.am
if
WITH_WIN_ICON
virsh_LDADD
+=
virsh_win_icon.
$(OBJEXT)
virsh_DEPENDENCIES
+=
virsh_win_icon.
$(OBJEXT)
# Before you edit virsh_win_icon.rc, please note the following
# limitations of the resource file format:
...
...
@@ -341,7 +376,7 @@ libexec_PROGRAMS += libvirt_lxc
libvirt_lxc_SOURCES
=
\
$(LXC_CONTROLLER_SOURCES)
\
$(
GENERIC_LIB
_SOURCES)
\
$(
UTIL
_SOURCES)
\
$(DOMAIN_CONF_SOURCES)
libvirt_lxc_LDFLAGS
=
$(WARN_CFLAGS)
$(COVERAGE_LDCFLAGS)
libvirt_lxc_LDADD
=
$(LIBXML_LIBS)
../gnulib/lib/libgnu.la
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录