Skip to content

Instantly share code, notes, and snippets.

@ncopa
Created March 23, 2015 08:32
Show Gist options
  • Save ncopa/8fba1b2e36a713b4c038 to your computer and use it in GitHub Desktop.
Save ncopa/8fba1b2e36a713b4c038 to your computer and use it in GitHub Desktop.
if WITH_NETCF
INTERFACE_DRIVER_SOURCES += \
interface/interface_backend_netcf.c
endif WITH_NETCF
if WITH_UDEV
INTERFACE_DRIVER_SOURCES += \
interface/interface_backend_udev.c
endif WITH_UDEV
...
if WITH_NETCF
libvirt_driver_interface_la_CFLAGS += $(NETCF_CFLAGS)
libvirt_driver_interface_la_LIBADD += $(NETCF_LIBS)
else ! WITH_NETCF
if WITH_UDEV
libvirt_driver_interface_la_CFLAGS += $(UDEV_CFLAGS)
libvirt_driver_interface_la_LIBADD += $(UDEV_LIBS)
endif WITH_UDEV
endif ! WITH_NETCF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment