fix build: look for generated sources in builddir, not srcdir
Fixes 'make check' from a different dir than the source tree. Change-Id: I97606dadef3c2184f9538b0198029047cc3af71c
This commit is contained in:
parent
a44cb48c46
commit
793b273a70
|
@ -9,13 +9,13 @@ check_PROGRAMS = test-ranap test-helpers test-hnbap hnb-test dummy-cn
|
|||
|
||||
noinst_HEADERS = test_common.h hnb-test.h hnb-test-layers.h
|
||||
|
||||
HNBAP_FILES = $(top_srcdir)/src/hnbap_common.c $(top_srcdir)/src/hnbap_decoder.c $(top_srcdir)/src/hnbap_encoder.c
|
||||
RUA_FILES = $(top_srcdir)/src/rua_common.c $(top_srcdir)/src/rua_decoder.c $(top_srcdir)/src/rua_encoder.c $(top_srcdir)/src/rua_msg_factory.c
|
||||
HNBAP_FILES = $(top_srcdir)/src/hnbap_common.c $(top_builddir)/src/hnbap_decoder.c $(top_builddir)/src/hnbap_encoder.c
|
||||
RUA_FILES = $(top_srcdir)/src/rua_common.c $(top_builddir)/src/rua_decoder.c $(top_builddir)/src/rua_encoder.c $(top_srcdir)/src/rua_msg_factory.c
|
||||
|
||||
test_helpers_SOURCES = test-helpers.c test_common.c
|
||||
test_helpers_LDADD = $(COMMON_LIBS) $(top_builddir)/src/libosmo-ranap.la
|
||||
|
||||
test_hnbap_SOURCES = $(top_srcdir)/src/hnbap_common.c $(top_srcdir)/src/hnbap_decoder.c test-hnbap.c test_common.c
|
||||
test_hnbap_SOURCES = $(top_srcdir)/src/hnbap_common.c $(top_builddir)/src/hnbap_decoder.c test-hnbap.c test_common.c
|
||||
test_hnbap_LDADD = $(COMMON_LIBS) $(top_builddir)/src/hnbap/libosmo-asn1-hnbap.a $(top_builddir)/src/libosmo-ranap.la
|
||||
|
||||
hnb_test_SOURCES = $(HNBAP_FILES) $(RUA_FILES) hnb-test.c test_common.c hnb-test-ranap.c hnb-test-rua.c
|
||||
|
|
Loading…
Reference in New Issue