mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-07 13:35:21 +00:00
03a07357e1
Vim has trouble figuring out the filetype automatically because the name doesn't follow existing conventions; annotations like the ones we already have in Makefile.ci help it out. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
# vim: filetype=automake
|
|
|
|
NWFILTER_DRIVER_SOURCES = \
|
|
nwfilter/nwfilter_driver.h \
|
|
nwfilter/nwfilter_driver.c \
|
|
nwfilter/nwfilter_tech_driver.h \
|
|
nwfilter/nwfilter_gentech_driver.c \
|
|
nwfilter/nwfilter_gentech_driver.h \
|
|
nwfilter/nwfilter_dhcpsnoop.c \
|
|
nwfilter/nwfilter_dhcpsnoop.h \
|
|
nwfilter/nwfilter_ebiptables_driver.c \
|
|
nwfilter/nwfilter_ebiptables_driver.h \
|
|
nwfilter/nwfilter_learnipaddr.c \
|
|
nwfilter/nwfilter_learnipaddr.h \
|
|
$(NULL)
|
|
|
|
DRIVER_SOURCE_FILES += $(NWFILTER_DRIVER_SOURCES)
|
|
STATEFUL_DRIVER_SOURCE_FILES += $(NWFILTER_DRIVER_SOURCES)
|
|
EXTRA_DIST += $(NWFILTER_DRIVER_SOURCES)
|
|
|
|
if WITH_NWFILTER
|
|
noinst_LTLIBRARIES += libvirt_driver_nwfilter_impl.la
|
|
libvirt_driver_nwfilter_la_SOURCES =
|
|
libvirt_driver_nwfilter_la_LIBADD = libvirt_driver_nwfilter_impl.la
|
|
mod_LTLIBRARIES += libvirt_driver_nwfilter.la
|
|
libvirt_driver_nwfilter_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
|
libvirt_driver_nwfilter_impl_la_CFLAGS = \
|
|
$(LIBPCAP_CFLAGS) \
|
|
$(LIBNL_CFLAGS) \
|
|
$(DBUS_CFLAGS) \
|
|
-I$(srcdir)/access \
|
|
-I$(srcdir)/conf \
|
|
$(AM_CFLAGS) \
|
|
$(NULL)
|
|
libvirt_driver_nwfilter_impl_la_LDFLAGS = $(AM_LDFLAGS)
|
|
libvirt_driver_nwfilter_impl_la_LIBADD = \
|
|
libvirt.la \
|
|
$(LIBPCAP_LIBS) \
|
|
$(LIBNL_LIBS) \
|
|
$(DBUS_LIBS) \
|
|
../gnulib/lib/libgnu.la \
|
|
$(NULL)
|
|
libvirt_driver_nwfilter_impl_la_SOURCES = $(NWFILTER_DRIVER_SOURCES)
|
|
endif WITH_NWFILTER
|