src/*/Makefile.am: Copy back to srcdir the generated .c files from ASN
Change-Id: I203a25a8059218bb9fd6d10cbc028a296d347382
This commit is contained in:
parent
e395b75619
commit
861d9d2ebf
|
@ -248,3 +248,7 @@ regenerate-from-asn1-source:
|
||||||
-rm ANY.* BOOLEAN.* INTEGER.* NativeEnumerated.* NativeInteger.* OBJECT_IDENTIFIER.* asn_* OCTET_STRING.* converter-sample.c per_* xer_* constr* der_* ber_* BIT_STRING.*
|
-rm ANY.* BOOLEAN.* INTEGER.* NativeEnumerated.* NativeInteger.* OBJECT_IDENTIFIER.* asn_* OCTET_STRING.* converter-sample.c per_* xer_* constr* der_* ber_* BIT_STRING.*
|
||||||
# change include style to `#include <dir/foo.h>'
|
# change include style to `#include <dir/foo.h>'
|
||||||
$(top_srcdir)/move-asn1-header-files.sh osmocom/hnbap $(ASN_MODULE_INC)
|
$(top_srcdir)/move-asn1-header-files.sh osmocom/hnbap $(ASN_MODULE_INC)
|
||||||
|
# Finally copy *.c from buildir to srcdir:
|
||||||
|
if test "$(realpath $(CURDIR))" != "$(realpath $(top_srcdir)/src/hnbap)"; then \
|
||||||
|
cp *.c $(top_srcdir)/src/hnbap/; \
|
||||||
|
fi
|
||||||
|
|
|
@ -1188,3 +1188,7 @@ regenerate-from-asn1-source:
|
||||||
sed -i 's/Member/MemberN/' RANAP_RABDataVolumeReport.[ch]
|
sed -i 's/Member/MemberN/' RANAP_RABDataVolumeReport.[ch]
|
||||||
# change include style to `#include <dir/foo.h>'
|
# change include style to `#include <dir/foo.h>'
|
||||||
$(top_srcdir)/move-asn1-header-files.sh osmocom/ranap $(ASN_MODULE_INC)
|
$(top_srcdir)/move-asn1-header-files.sh osmocom/ranap $(ASN_MODULE_INC)
|
||||||
|
# Finally copy *.c from buildir to srcdir:
|
||||||
|
if test "$(realpath $(CURDIR))" != "$(realpath $(top_srcdir)/src/ranap)"; then \
|
||||||
|
cp *.c $(top_srcdir)/src/ranap/; \
|
||||||
|
fi
|
||||||
|
|
|
@ -86,3 +86,7 @@ regenerate-from-asn1-source:
|
||||||
@rm ANY.* BOOLEAN.* INTEGER.* NativeEnumerated.* NativeInteger.* OBJECT_IDENTIFIER.* asn_* OCTET_STRING.* converter-sample.c per_* xer_* constr* der_* ber_* BIT_STRING.*
|
@rm ANY.* BOOLEAN.* INTEGER.* NativeEnumerated.* NativeInteger.* OBJECT_IDENTIFIER.* asn_* OCTET_STRING.* converter-sample.c per_* xer_* constr* der_* ber_* BIT_STRING.*
|
||||||
# change include style to `#include <dir/foo.h>'
|
# change include style to `#include <dir/foo.h>'
|
||||||
$(top_srcdir)/move-asn1-header-files.sh osmocom/rua $(ASN_MODULE_INC)
|
$(top_srcdir)/move-asn1-header-files.sh osmocom/rua $(ASN_MODULE_INC)
|
||||||
|
# Finally copy *.c from buildir to srcdir:
|
||||||
|
if test "$(realpath $(CURDIR))" != "$(realpath $(top_srcdir)/src/rua)"; then \
|
||||||
|
cp *.c $(top_srcdir)/src/rua/; \
|
||||||
|
fi
|
||||||
|
|
|
@ -145,4 +145,7 @@ regenerate-from-asn1-source:
|
||||||
sed -i '/#include "SABP_Serial-Number.h"/a #include <constr_CHOICE.h>' SABP_Old-Serial-Number.h SABP_New-Serial-Number.h
|
sed -i '/#include "SABP_Serial-Number.h"/a #include <constr_CHOICE.h>' SABP_Old-Serial-Number.h SABP_New-Serial-Number.h
|
||||||
# change include style to `#include <dir/foo.h>'
|
# change include style to `#include <dir/foo.h>'
|
||||||
$(top_srcdir)/move-asn1-header-files.sh osmocom/sabp $(ASN_MODULE_INC)
|
$(top_srcdir)/move-asn1-header-files.sh osmocom/sabp $(ASN_MODULE_INC)
|
||||||
|
# Finally copy *.c from buildir to srcdir:
|
||||||
|
if test "$(realpath $(CURDIR))" != "$(realpath $(top_srcdir)/src/sabp)"; then \
|
||||||
|
cp *.c $(top_srcdir)/src/sabp/; \
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue