2007-02-14 01:40:09 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
INCLUDES = @LIBXML_CFLAGS@
|
|
|
|
|
2007-02-23 12:46:35 +00:00
|
|
|
sbin_PROGRAMS = libvirt_qemud
|
2007-02-14 01:40:09 +00:00
|
|
|
|
|
|
|
libvirt_qemud_SOURCES = qemud.c internal.h protocol.h \
|
|
|
|
driver.c driver.h \
|
|
|
|
dispatch.c dispatch.h \
|
2007-02-14 16:02:40 +00:00
|
|
|
conf.c conf.h \
|
2007-02-14 16:26:42 +00:00
|
|
|
bridge.c bridge.h \
|
2007-02-26 15:32:27 +00:00
|
|
|
iptables.c iptables.h \
|
|
|
|
uuid.c uuid.h
|
2007-02-14 01:40:09 +00:00
|
|
|
#-D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_POSIX_C_SOURCE=199506L
|
|
|
|
libvirt_qemud_CFLAGS = \
|
|
|
|
-I$(top_srcdir)/include -I$(top_builddir)/include $(LIBXML_CFLAGS) \
|
2007-03-01 16:18:55 +00:00
|
|
|
$(WARN_CFLAGS) -DLOCAL_STATE_DIR="\"$(localstatedir)\"" \
|
2007-02-14 01:40:09 +00:00
|
|
|
-DSYSCONF_DIR="\"$(sysconfdir)\""
|
2007-02-14 16:02:40 +00:00
|
|
|
libvirt_qemud_LDFLAGS = $(LIBXML_LIBS) $(SYSFS_LIBS)
|
2007-02-14 01:40:09 +00:00
|
|
|
libvirt_qemud_DEPENDENCIES =
|
|
|
|
libvirt_qemud_LDADD =
|
|
|
|
|
2007-02-23 15:53:56 +00:00
|
|
|
EXTRA_DIST = libvirtd.in
|
2007-02-23 12:50:58 +00:00
|
|
|
|
|
|
|
if LIBVIRT_INIT_SCRIPTS_RED_HAT
|
|
|
|
initdir = $(sysconfdir)/rc.d/init.d
|
|
|
|
init_SCRIPTS = libvirtd
|
|
|
|
|
|
|
|
libvirtd: libvirtd.in
|
|
|
|
sed \
|
|
|
|
-e s!\@localstatedir\@!@localstatedir@! \
|
|
|
|
-e s!\@sbindir\@!@sbindir@! \
|
|
|
|
-e s!\@sysconfdir\@!@sysconfdir@! \
|
|
|
|
< $< > $@
|
|
|
|
chmod a+x libvirtd
|
|
|
|
|
|
|
|
CLEANFILES = libvirtd
|
|
|
|
endif # DBUS_INIT_SCRIPTS_RED_HAT
|