Makefile.am 1.4 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
	   -I@top_srcdir@/proxy -I@top_srcdir@/src \
7
           -I@top_srcdir@/src/util \
8 9 10
           -I@top_srcdir@/src/conf \
           -I@top_srcdir@/src/xen \
           @LIBXML_CFLAGS@ \
11
	   -DPROXY  -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
12
           -DGETTEXT_PACKAGE=\"$(PACKAGE)\" $(WARN_CFLAGS) $(XEN_CFLAGS)
13

14
libexec_PROGRAMS = libvirt_proxy
15

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

36 37
install-exec-hook:
	chmod u+s $(DESTDIR)$(libexecdir)/libvirt_proxy
38
endif