NativeEnumerated.c vars NULL init and check
[com/asn1c.git] / skeletons / Makefile.am
1
2 CFLAGS = $(filter-out $(CODE_COVERAGE_CFLAGS), @CFLAGS@)
3
4 dist_pkgdata_DATA =                             \
5                 ${srcdir}/README                \
6                 ${srcdir}/*.[ch]                \
7                 ${srcdir}/file-dependencies
8
9 smodsdir=$(pkgdatadir)
10
11 nobase_dist_smods_DATA =     \
12         standard-modules/README  \
13         standard-modules/ASN1-Object-Identifier-Module.asn1 \
14         standard-modules/ASN1C-UsefulInformationObjectClasses.asn1
15
16
17 uninstall-local:
18         -@echo -n " "
19         -rm -f -r $(DESTDIR)$(pkgdatadir)
20
21 check_LTLIBRARIES =             \
22     libasn1cskeletons.la        \
23     libasn1cskeletons_c89.la
24
25 libasn1cskeletons_c89_la_CFLAGS = $(SKELETONS_CFLAGS)
26 libasn1cskeletons_c89_la_SOURCES = $(libasn1cskeletons_la_SOURCES)
27
28 libasn1cskeletons_la_CFLAGS = $(TESTSUITE_CFLAGS)
29 libasn1cskeletons_la_SOURCES =                  \
30     ANY.c ANY.h                                 \
31     BIT_STRING.c BIT_STRING.h                   \
32     BIT_STRING_oer.c                            \
33     BMPString.c BMPString.h                     \
34     BOOLEAN.c BOOLEAN.h                         \
35     ENUMERATED.c ENUMERATED.h                   \
36     GeneralString.c GeneralString.h             \
37     GeneralizedTime.c GeneralizedTime.h         \
38     GraphicString.c GraphicString.h             \
39     IA5String.c IA5String.h                     \
40     INTEGER.c INTEGER.h                         \
41     INTEGER_oer.c                               \
42     ISO646String.c ISO646String.h               \
43     NULL.c NULL.h                               \
44     NativeEnumerated.c NativeEnumerated.h       \
45     NativeEnumerated_oer.c                      \
46     NativeInteger.c NativeInteger.h             \
47     NativeInteger_oer.c                         \
48     NativeReal.c NativeReal.h                   \
49     NumericString.c NumericString.h             \
50     OBJECT_IDENTIFIER.c OBJECT_IDENTIFIER.h     \
51     OCTET_STRING.c OCTET_STRING.h               \
52     OCTET_STRING_oer.c                          \
53     OPEN_TYPE.c OPEN_TYPE.h OPEN_TYPE_oer.c     \
54     ObjectDescriptor.c ObjectDescriptor.h       \
55     PrintableString.c PrintableString.h         \
56     REAL.c REAL.h                               \
57     RELATIVE-OID.c RELATIVE-OID.h               \
58     T61String.c T61String.h                     \
59     TeletexString.c TeletexString.h             \
60     UTCTime.c UTCTime.h                         \
61     UTF8String.c UTF8String.h                   \
62     UniversalString.c UniversalString.h         \
63     VideotexString.c VideotexString.h           \
64     VisibleString.c VisibleString.h             \
65     asn_SEQUENCE_OF.c asn_SEQUENCE_OF.h         \
66     asn_SET_OF.c asn_SET_OF.h                   \
67     asn_application.c asn_application.h         \
68     asn_system.h asn_codecs.h                   \
69     asn_codecs_prim.c asn_codecs_prim.h         \
70     asn_internal.h asn_internal.c               \
71     asn_bit_data.c asn_bit_data.h               \
72     asn_random_fill.c asn_random_fill.h         \
73     ber_decoder.c ber_decoder.h                 \
74     ber_tlv_length.c ber_tlv_length.h           \
75     ber_tlv_tag.c ber_tlv_tag.h                 \
76     constr_CHOICE.c constr_CHOICE.h             \
77     constr_CHOICE_oer.c                         \
78     constr_SEQUENCE.c constr_SEQUENCE.h         \
79     constr_SEQUENCE_oer.c                       \
80     constr_SEQUENCE_OF.c constr_SEQUENCE_OF.h   \
81     constr_SET.c constr_SET.h                   \
82     constr_SET_OF.c constr_SET_OF.h             \
83     constr_SET_OF_oer.c                         \
84     constr_TYPE.c constr_TYPE.h                 \
85     constraints.c constraints.h                 \
86     der_encoder.c der_encoder.h                 \
87     oer_decoder.c oer_decoder.h                 \
88     oer_encoder.c oer_encoder.h                 \
89     oer_support.c oer_support.h                 \
90     per_decoder.c per_decoder.h                 \
91     per_encoder.c per_encoder.h                 \
92     per_opentype.c per_opentype.h               \
93     per_support.c per_support.h                 \
94     xer_decoder.c xer_decoder.h                 \
95     xer_encoder.c xer_encoder.h                 \
96     xer_support.c xer_support.h
97
98 check_PROGRAMS =                    \
99     check-converter_example         \
100     check-converter_c89_example
101 LDADD = -lm
102
103 check_converter_example_CFLAGS = $(TESTSUITE_CFLAGS) -DNO_ASN_PDU
104 check_converter_example_SOURCES = converter-example.c
105 check_converter_example_LDADD = libasn1cskeletons.la
106
107 check_converter_c89_example_CFLAGS = $(SKELETON_CFLAGS) -DNO_ASN_PDU
108 check_converter_c89_example_SOURCES = converter-example.c
109 check_converter_c89_example_LDADD = libasn1cskeletons_c89.la
110
111 if EXPLICIT_M32
112 check_LTLIBRARIES += libasn1cskeletons_c89_32.la
113 libasn1cskeletons_c89_32_la_CFLAGS = $(CFLAGS_M32) -Wno-format
114 libasn1cskeletons_c89_32_la_SOURCES = $(libasn1cskeletons_la_SOURCES)
115
116 check_PROGRAMS += check-converter_c89_32_example
117 check_converter_c89_32_example_CFLAGS = $(CFLAGS_M32) -DNO_ASN_PDU
118 check_converter_c89_32_example_SOURCES = converter-example.c
119 check_converter_c89_32_example_LDADD = libasn1cskeletons_c89_32.la
120 endif
121