Commit e6b05d98 authored by Andrea Bolognani's avatar Andrea Bolognani

src: Make CFLAGS and LDFLAGS global

There's nothing target-specific about either. This is
going to be useful later on.
Signed-off-by: 's avatarAndrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina's avatarPavel Hrdina <phrdina@redhat.com>
parent f65c8cbc
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-DVIRT_DBUS_INTERFACES_DIR=\"$(DBUS_INTERFACES_DIR)\"
AM_CFLAGS = \
$(GIO2_CFLAGS) \
$(GLIB2_CFLAGS) \
$(LIBVIRT_CFLAGS) \
$(LIBVIRT_GLIB_CFLAGS) \
$(WARN_CFLAGS) \
$(PIE_CFLAGS) \
$(NULL)
AM_LDFLAGS = \
$(GIO2_LDFLAGS) \
$(GLIB2_LDFLAGS) \
$(LIBVIRT_LDFLAGS) \
$(LIBVIRT_GLIB_LDFLAGS) \
$(RELRO_LDFLAGS) \
$(PIE_LDFLAGS) \
$(NULL)
bin_PROGRAMS = libvirt-dbus
......@@ -18,25 +34,6 @@ libvirt_dbus_SOURCES = \
storagepool.c storagepool.h \
storagevol.c storagevol.h \
$(NULL)
libvirt_dbus_CFLAGS = \
$(GIO2_CFLAGS) \
$(GLIB2_CFLAGS) \
$(LIBVIRT_CFLAGS) \
$(LIBVIRT_GLIB_CFLAGS) \
$(WARN_CFLAGS) \
$(PIE_CFLAGS) \
$(NULL)
libvirt_dbus_LDFLAGS = \
$(GIO2_LDFLAGS) \
$(GLIB2_LDFLAGS) \
$(LIBVIRT_LDFLAGS) \
$(LIBVIRT_GLIB_LDFLAGS) \
$(RELRO_LDFLAGS) \
$(PIE_LDFLAGS) \
$(NULL)
libvirt_dbus_LDADD = \
$(GIO2_LIBS) \
$(GLIB2_LIBS) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment