Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Makefile.am 669 B
Newer Older
bin_PROGRAMS = gbridge

gbridge_CFLAGS = -Wall -Werror
gbridge_CFLAGS += `pkg-config --cflags libnl-3.0 libnl-genl-3.0`
gbridge_CFLAGS += `pkg-config --cflags bluez`

gbridge_SOURCES = main.c \
		  debug.c \
		  greybus.c \
		  controller.c \
		  protocols/svc.c
if NETLINK
gbridge_SOURCES += controllers/gb_netlink.c
endif

gbridge_SOURCES += controllers/tcpip.c
gbridge_SOURCES += controllers/bluetooth.c
gbridge_SOURCES += controllers/uart.c
endif

if GBSIM
gbridge_SOURCES += controllers/gbsim.c
gbridge_SOURCES += protocols/manifest.c
gbridge_SOURCES += protocols/control.c
gbridge_SOURCES += protocols/loopback.c