X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=skeletons%2FMakefile.am;fp=skeletons%2FMakefile.am;h=efc097d6ef808a67a9bef3eaed6227f3d3c40abb;hb=70ee6fc793ec8e828067a3569849b6c216054497;hp=0000000000000000000000000000000000000000;hpb=59f84608ec15c016958a6e0e0ddd813f376c0925;p=com%2Fasn1c.git diff --git a/skeletons/Makefile.am b/skeletons/Makefile.am new file mode 100644 index 0000000..efc097d --- /dev/null +++ b/skeletons/Makefile.am @@ -0,0 +1,121 @@ + +CFLAGS = $(filter-out $(CODE_COVERAGE_CFLAGS), @CFLAGS@) + +dist_pkgdata_DATA = \ + ${srcdir}/README \ + ${srcdir}/*.[ch] \ + ${srcdir}/file-dependencies + +smodsdir=$(pkgdatadir) + +nobase_dist_smods_DATA = \ + standard-modules/README \ + standard-modules/ASN1-Object-Identifier-Module.asn1 \ + standard-modules/ASN1C-UsefulInformationObjectClasses.asn1 + + +uninstall-local: + -@echo -n " " + -rm -f -r $(DESTDIR)$(pkgdatadir) + +check_LTLIBRARIES = \ + libasn1cskeletons.la \ + libasn1cskeletons_c89.la + +libasn1cskeletons_c89_la_CFLAGS = $(SKELETONS_CFLAGS) +libasn1cskeletons_c89_la_SOURCES = $(libasn1cskeletons_la_SOURCES) + +libasn1cskeletons_la_CFLAGS = $(TESTSUITE_CFLAGS) +libasn1cskeletons_la_SOURCES = \ + ANY.c ANY.h \ + BIT_STRING.c BIT_STRING.h \ + BIT_STRING_oer.c \ + BMPString.c BMPString.h \ + BOOLEAN.c BOOLEAN.h \ + ENUMERATED.c ENUMERATED.h \ + GeneralString.c GeneralString.h \ + GeneralizedTime.c GeneralizedTime.h \ + GraphicString.c GraphicString.h \ + IA5String.c IA5String.h \ + INTEGER.c INTEGER.h \ + INTEGER_oer.c \ + ISO646String.c ISO646String.h \ + NULL.c NULL.h \ + NativeEnumerated.c NativeEnumerated.h \ + NativeEnumerated_oer.c \ + NativeInteger.c NativeInteger.h \ + NativeInteger_oer.c \ + NativeReal.c NativeReal.h \ + NumericString.c NumericString.h \ + OBJECT_IDENTIFIER.c OBJECT_IDENTIFIER.h \ + OCTET_STRING.c OCTET_STRING.h \ + OCTET_STRING_oer.c \ + OPEN_TYPE.c OPEN_TYPE.h OPEN_TYPE_oer.c \ + ObjectDescriptor.c ObjectDescriptor.h \ + PrintableString.c PrintableString.h \ + REAL.c REAL.h \ + RELATIVE-OID.c RELATIVE-OID.h \ + T61String.c T61String.h \ + TeletexString.c TeletexString.h \ + UTCTime.c UTCTime.h \ + UTF8String.c UTF8String.h \ + UniversalString.c UniversalString.h \ + VideotexString.c VideotexString.h \ + VisibleString.c VisibleString.h \ + asn_SEQUENCE_OF.c asn_SEQUENCE_OF.h \ + asn_SET_OF.c asn_SET_OF.h \ + asn_application.c asn_application.h \ + asn_system.h asn_codecs.h \ + asn_codecs_prim.c asn_codecs_prim.h \ + asn_internal.h asn_internal.c \ + asn_bit_data.c asn_bit_data.h \ + asn_random_fill.c asn_random_fill.h \ + ber_decoder.c ber_decoder.h \ + ber_tlv_length.c ber_tlv_length.h \ + ber_tlv_tag.c ber_tlv_tag.h \ + constr_CHOICE.c constr_CHOICE.h \ + constr_CHOICE_oer.c \ + constr_SEQUENCE.c constr_SEQUENCE.h \ + constr_SEQUENCE_oer.c \ + constr_SEQUENCE_OF.c constr_SEQUENCE_OF.h \ + constr_SET.c constr_SET.h \ + constr_SET_OF.c constr_SET_OF.h \ + constr_SET_OF_oer.c \ + constr_TYPE.c constr_TYPE.h \ + constraints.c constraints.h \ + der_encoder.c der_encoder.h \ + oer_decoder.c oer_decoder.h \ + oer_encoder.c oer_encoder.h \ + oer_support.c oer_support.h \ + per_decoder.c per_decoder.h \ + per_encoder.c per_encoder.h \ + per_opentype.c per_opentype.h \ + per_support.c per_support.h \ + xer_decoder.c xer_decoder.h \ + xer_encoder.c xer_encoder.h \ + xer_support.c xer_support.h + +check_PROGRAMS = \ + check-converter_example \ + check-converter_c89_example +LDADD = -lm + +check_converter_example_CFLAGS = $(TESTSUITE_CFLAGS) -DNO_ASN_PDU +check_converter_example_SOURCES = converter-example.c +check_converter_example_LDADD = libasn1cskeletons.la + +check_converter_c89_example_CFLAGS = $(SKELETON_CFLAGS) -DNO_ASN_PDU +check_converter_c89_example_SOURCES = converter-example.c +check_converter_c89_example_LDADD = libasn1cskeletons_c89.la + +if EXPLICIT_M32 +check_LTLIBRARIES += libasn1cskeletons_c89_32.la +libasn1cskeletons_c89_32_la_CFLAGS = $(CFLAGS_M32) -Wno-format +libasn1cskeletons_c89_32_la_SOURCES = $(libasn1cskeletons_la_SOURCES) + +check_PROGRAMS += check-converter_c89_32_example +check_converter_c89_32_example_CFLAGS = $(CFLAGS_M32) -DNO_ASN_PDU +check_converter_c89_32_example_SOURCES = converter-example.c +check_converter_c89_32_example_LDADD = libasn1cskeletons_c89_32.la +endif +