diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-10-12 15:27:42 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-10-12 22:50:24 +0000 |
commit | 2b3c228416263eee6e261c3c589f1a18e54d9a27 (patch) | |
tree | 1061470060536b60f65cc70f7438918324c26a11 | |
parent | bc067eb0a20a7feadb5dbb3b4169cb8f9286a455 (diff) |
gsm/Makefile.am: use proper top_builddir/top_srcdir paths
This fixes the conv*gen.c targets when building in a different directory
than the source tree.
Notably, building in a different dir worked when the generated sources were
already present from a previous build inside the source directory.
Change-Id: I5a9b780ad4ba607ea39854dcf7207ed05f5447bc
-rw-r--r-- | src/gsm/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gsm/Makefile.am b/src/gsm/Makefile.am index a2f25244..20714132 100644 --- a/src/gsm/Makefile.am +++ b/src/gsm/Makefile.am @@ -29,7 +29,7 @@ libgsmint_la_SOURCES = a5.c rxlev_stat.c tlv_parser.c comp128.c comp128v23.c \ milenage/milenage.c gan.c ipa.c gsm0341.c apn.c \ gsup.c gprs_gea.c libgsmint_la_LDFLAGS = -no-undefined -libgsmint_la_LIBADD = ../libosmocore.la +libgsmint_la_LIBADD = $(top_builddir)/src/libosmocore.la libosmogsm_la_SOURCES = libosmogsm_la_LDFLAGS = $(LTLDFLAGS_OSMOGSM) -version-info $(LIBVERSION) -no-undefined $(TALLOC_LIBS) @@ -37,5 +37,5 @@ libosmogsm_la_LIBADD = libgsmint.la EXTRA_DIST = libosmogsm.map -conv%gen.c: ../../utils/conv_gen.py - $(AM_V_GEN)python2 ../../utils/conv_gen.py +conv%gen.c: $(top_srcdir)/utils/conv_gen.py + $(AM_V_GEN)python2 $(top_srcdir)/utils/conv_gen.py |