Makefile.am 988 字节
Newer Older
D
Daniel Veillard 已提交
1 2
## Process this file with automake to produce Makefile.in

3 4
INCLUDES = -I$(top_builddir)/include -I@top_srcdir@/include @LIBXML_CFLAGS@ \
	   -DBINDIR=\""$(libexecdir)"\"
5 6
DEPS = libvirt.la
LDADDS = @STATIC_BINARIES@ libvirt.la
K
Karel Zak 已提交
7
VIRSH_LIBS = @VIRSH_LIBS@
D
Daniel Veillard 已提交
8

9
EXTRA_DIST = libvirt_sym.version
10

11
lib_LTLIBRARIES = libvirt.la
12
libvirt_la_LIBADD = @LIBXML_LIBS@
K
Karel Zak 已提交
13

14
libvirt_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libvirt_sym.version \
15
                    -version-info @LIBVIRT_VERSION_INFO@
K
Karel Zak 已提交
16

17 18
libvirt_la_SOURCES =						\
		libvirt.c internal.h				\
19
		hash.c hash.h					\
20
		test.c test.h                                   \
21
		xml.c xml.h					\
22
		xen_internal.c xen_internal.h			\
23
		xs_internal.c xs_internal.h			\
24
		xend_internal.c xend_internal.h			\
25
		sexpr.c sexpr.h					\
26
		virterror.c					\
27
		driver.h					\
D
Daniel Veillard 已提交
28 29
		proxy_internal.c proxy_internal.h		\
		conf.c conf.h
30

K
Karel Zak 已提交
31
bin_PROGRAMS = virsh
32

K
Karel Zak 已提交
33
virsh_SOURCES = virsh.c
34 35
virsh_LDFLAGS =
virsh_DEPENDENCIES = $(DEPS)
K
Karel Zak 已提交
36
virsh_LDADD = $(LDADDS) $(VIRSH_LIBS)
37