From f444600afe1d1b9ddfd75bb6abcd0d51af6ddad7 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 8 Mar 2017 00:06:40 +0100 Subject: 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 --- include/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/Makefile.am') diff --git a/include/Makefile.am b/include/Makefile.am index 7d0b384c..e2a1b127 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,3 +1,5 @@ +BUILT_SOURCES = osmocom/gsm/gsm0503.h + nobase_include_HEADERS = \ osmocom/codec/codec.h \ osmocom/core/application.h \ @@ -149,7 +151,7 @@ osmocom/core/crc%gen.h: osmocom/core/crcXXgen.h.tpl $(AM_V_GEN)$(MKDIR_P) $(dir $@) $(AM_V_GEN)sed -e's/XX/$*/g' $< > $@ -osmocom/gsm/gsm0503.h: +osmocom/gsm/gsm0503.h: $(top_srcdir)/utils/conv_gen.py $(top_srcdir)/utils/conv_codes_gsm.py $(AM_V_GEN)python2 $(top_srcdir)/utils/conv_gen.py gen_header gsm \ --target-path $(builddir)/osmocom/gsm -- cgit v1.2.3