AM_CPPFLAGS = \
	$(all_includes) \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/src/osmo-bts-sysmo \
	$(SYSMOBTS_INCDIR) \
	$(NULL)
AM_CFLAGS = \
	-Wall \
	$(LIBOSMOCORE_CFLAGS) \
	$(LIBOSMOCODEC_CFLAGS) \
	$(LIBOSMOGSM_CFLAGS) \
	$(LIBOSMOVTY_CFLAGS) \
	$(LIBOSMOABIS_CFLAGS) \
	$(LIBOSMOTRAU_CFLAGS) \
	$(LIBOSMONETIF_CFLAGS) \
	$(NULL)
AM_LDFLAGS = -no-install
LDADD = \
	$(LIBOSMOCORE_LIBS) \
	$(LIBOSMOCODEC_LIBS) \
	$(LIBOSMOGSM_LIBS) \
	$(LIBOSMOVTY_LIBS) \
	$(LIBOSMOABIS_LIBS) \
	$(LIBOSMOTRAU_LIBS) \
	$(LIBOSMONETIF_LIBS) \
	$(NULL)

check_PROGRAMS = sysmobts_test
EXTRA_DIST = sysmobts_test.ok

sysmobts_test_SOURCES = \
		sysmobts_test.c \
		$(top_srcdir)/src/osmo-bts-sysmo/utils.c \
		$(top_srcdir)/src/osmo-bts-sysmo/l1_if.c \
		$(top_srcdir)/src/osmo-bts-sysmo/oml.c \
		$(top_srcdir)/src/osmo-bts-sysmo/l1_transp_hw.c \
		$(top_srcdir)/src/osmo-bts-sysmo/tch.c \
		$(top_srcdir)/src/osmo-bts-sysmo/calib_file.c \
		$(top_srcdir)/src/osmo-bts-sysmo/calib_fixup.c \
		$(top_srcdir)/src/osmo-bts-sysmo/misc/sysmobts_par.c \
		$(top_srcdir)/src/osmo-bts-sysmo/femtobts.c \
		$(top_srcdir)/src/osmo-bts-sysmo/eeprom.c
sysmobts_test_LDADD = \
	$(top_builddir)/src/common/libbts.a \
	$(LDADD) \
	$(NULL)
