aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-18 17:33:49 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-18 20:20:51 +0100
commitde9055f1424678bbc653ee2a2ee6b381ff121725 (patch)
treea18297b6545555644f3b420bda273aa97a772704 /src
parentf8db61b554a59b12d330618fc41979a920523814 (diff)
Makefile.am: Replace .PHONY asn1tostruct.py rules
asn1tostruct.py generates three files. Try to teach the makefile that all three of them depend on the .asn source file to ensure they're re-built whenever the .asn source file changes.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 156baa4..c0a3824 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,14 +12,14 @@ hnbgw_SOURCES = hnbap_encoder.c hnbap_decoder.c rua_encoder.c rua_decoder.c rana
hnbgw_LDADD = $(OSMOCORE_LIBS) $(OSMOVTY_LIBS) $(OSMOGSM_LIBS) $(ASN1C_LIBS) $(COMMON_LDADD) hnbap/libosmo-asn1-hnbap.a rua/libosmo-asn1-rua.a ranap/libosmo-asn1-ranap.a
-.PHONY: hnbap_encoder.c
+hnbap_encoder.c hnbap_decoder.c hnbap_ies_defs.h: $(ASN1_ROOT)/hnbap/HNBAP-PDU-Contents.asn
hnbap_encoder.c : $(ASN1_ROOT)/hnbap/HNBAP-PDU-Contents.asn
$(ASN1TOSTRUCT) -f $<
-.PHONY: rua_encoder.c
+rua_encoder.c rua_decoder.c rua_ies_defs.h: $(ASN1_ROOT)/rua/RUA-PDU-Contents.asn
rua_encoder.c : $(ASN1_ROOT)/rua/RUA-PDU-Contents.asn
$(ASN1TOSTRUCT) -p RUA_ -f $<
-.PHONY: ranap_encoder.c
+ranap_encoder.c rua_decoder.c rua_ies_defs.h : $(ASN1_ROOT)/ranap/RANAP-PDU-Contents.asn
ranap_encoder.c : $(ASN1_ROOT)/ranap/RANAP-PDU-Contents.asn
$(ASN1TOSTRUCT) -p RANAP_ -f $<