diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-08 00:06:40 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-20 14:30:43 +0100 |
commit | f444600afe1d1b9ddfd75bb6abcd0d51af6ddad7 (patch) | |
tree | 9c2edb7bc3de6f1db536b2e61e0629bbb63f076b /src/gsm | |
parent | d1537e033f2fee06590fdc8df08272a7f91bdb04 (diff) |
build: fix build dependencies for generated sources
Ensure that a changed conv_gen.py and/or conv_codes_gsm.py result in
regeneration of the gsm0503* generated sources. Before this patch, manual
cleaning of the generated files was necessary to benefit from a code update.
Change-Id: Ib4328662c21280c0ea6aa9391a64ada2c6598704
Diffstat (limited to 'src/gsm')
-rw-r--r-- | src/gsm/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gsm/Makefile.am b/src/gsm/Makefile.am index 653bdb96..3a4a0cd3 100644 --- a/src/gsm/Makefile.am +++ b/src/gsm/Makefile.am @@ -14,6 +14,8 @@ noinst_HEADERS = milenage/aes.h milenage/aes_i.h milenage/aes_wrap.h \ noinst_LTLIBRARIES = libgsmint.la lib_LTLIBRARIES = libosmogsm.la +BUILT_SOURCES = gsm0503_conv.c + libgsmint_la_SOURCES = a5.c rxlev_stat.c tlv_parser.c comp128.c comp128v23.c \ gsm_utils.c rsl.c gsm48.c gsm48_ie.c gsm0808.c sysinfo.c \ gprs_cipher_core.c gprs_rlc.c gsm0480.c abis_nm.c gsm0502.c \ @@ -34,7 +36,7 @@ libosmogsm_la_LIBADD = libgsmint.la EXTRA_DIST = libosmogsm.map # Convolutional codes generation -gsm0503_conv.c: +gsm0503_conv.c: $(top_srcdir)/utils/conv_gen.py $(top_srcdir)/utils/conv_codes_gsm.py $(AM_V_GEN)python2 $(top_srcdir)/utils/conv_gen.py gen_codes gsm CLEANFILES = gsm0503_conv.c |