Makefile.am 1.3 KB
Newer Older
1 2
## Process this file with automake to produce Makefile.in

3
if WITH_PROXY
4 5
INCLUDES = -I$(top_srcdir)/gnulib/lib -I../gnulib/lib \
           -I$(top_builddir)/include -I@top_srcdir@/include \
6 7 8 9
	   -I@top_srcdir@/proxy -I@top_srcdir@/src \
           -I@top_srcdir@/src/conf \
           -I@top_srcdir@/src/xen \
           @LIBXML_CFLAGS@ \
10
	   -DPROXY  -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
11
           -DGETTEXT_PACKAGE=\"$(PACKAGE)\" $(WARN_CFLAGS) $(XEN_CFLAGS)
12

13
libexec_PROGRAMS = libvirt_proxy
14

15 16 17
libvirt_proxy_SOURCES = libvirt_proxy.c @top_srcdir@/src/xen/xend_internal.c \
	    @top_srcdir@/src/xen/xen_hypervisor.c @top_srcdir@/src/virterror.c \
	    @top_srcdir@/src/xen/sexpr.c  \
18
	    @top_srcdir@/src/threads.c  \
19
            @top_srcdir@/src/xen/xs_internal.c @top_srcdir@/src/buf.c \
20
            @top_srcdir@/src/conf/capabilities.c \
21
            @top_srcdir@/src/memory.c \
22 23
            @top_srcdir@/src/conf/storage_encryption_conf.c \
            @top_srcdir@/src/conf/domain_conf.c \
24
            @top_srcdir@/src/util.c \
25
	    @top_srcdir@/src/event.c \
26 27
	    @top_srcdir@/src/uuid.c \
	    @top_srcdir@/src/logging.c
28
libvirt_proxy_LDFLAGS = $(WARN_CFLAGS) $(XEN_LIBS)
29
libvirt_proxy_DEPENDENCIES =
J
Jim Meyering 已提交
30
libvirt_proxy_LDADD = ../gnulib/lib/libgnu.la
31

32 33
install-exec-hook:
	chmod u+s $(DESTDIR)$(libexecdir)/libvirt_proxy
34
endif