summaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-11-02 17:21:04 +0100
committerMartin Babinsky <mbabinsk@redhat.com>2016-11-09 13:08:32 +0100
commitc951a491a9082b8b5931782f45f82e251eb93c3c (patch)
treec42b6dc329f89f3803e247c4672f6fb713a1e7f5 /asn1
parent886d9167eb939a3ab5226ca420c404a9810186cf (diff)
downloadfreeipa-c951a491a9082b8b5931782f45f82e251eb93c3c.tar.gz
freeipa-c951a491a9082b8b5931782f45f82e251eb93c3c.tar.xz
freeipa-c951a491a9082b8b5931782f45f82e251eb93c3c.zip
Build: fix distribution of asn1/asn1c files
All the headers are now listed in _SOURCES variable. It seems weird but this is what GNU Automake manual suggests in section 9.2 Header files: Headers used by programs or convenience libraries are not installed. The noinst_HEADERS variable can be used for such headers. However when the header actually belongs to a single convenience library or program, we recommend listing it in the program’s or library’s _SOURCES variable (see Program Sources) instead of in noinst_HEADERS. This is clearer for the Makefile.am reader. noinst_HEADERS would be the right variable to use in a directory containing only headers and no associated library or program. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
Diffstat (limited to 'asn1')
-rw-r--r--asn1/asn1c/Makefile.am79
1 files changed, 58 insertions, 21 deletions
diff --git a/asn1/asn1c/Makefile.am b/asn1/asn1c/Makefile.am
index fa35562f1..3829c5ebc 100644
--- a/asn1/asn1c/Makefile.am
+++ b/asn1/asn1c/Makefile.am
@@ -1,37 +1,74 @@
libasn1c_la_SOURCES = \
- INTEGER.c \
- NativeEnumerated.c \
- NativeInteger.c \
+ asn_application.h \
+ asn_codecs.h \
+ asn_codecs_prim.c \
+ asn_codecs_prim.h \
+ asn_internal.h \
asn_SEQUENCE_OF.c \
+ asn_SEQUENCE_OF.h \
asn_SET_OF.c \
+ asn_SET_OF.h \
+ asn_system.h \
+ ber_decoder.c \
+ ber_decoder.h \
+ ber_tlv_length.c \
+ ber_tlv_length.h \
+ ber_tlv_tag.c \
+ ber_tlv_tag.h \
+ BIT_STRING.c \
+ BIT_STRING.h \
+ constraints.c \
+ constraints.h \
constr_CHOICE.c \
+ constr_CHOICE.h \
constr_SEQUENCE.c \
+ constr_SEQUENCE.h \
constr_SEQUENCE_OF.c \
+ constr_SEQUENCE_OF.h \
constr_SET_OF.c \
- OCTET_STRING.c \
- BIT_STRING.c \
- asn_codecs_prim.c \
- ber_tlv_length.c \
- ber_tlv_tag.c \
- ber_decoder.c \
- der_encoder.c \
+ constr_SET_OF.h \
constr_TYPE.c \
- constraints.c \
- xer_support.c \
- xer_decoder.c \
- xer_encoder.c \
- per_support.c \
- per_decoder.c \
- per_encoder.c \
- per_opentype.c \
- Int32.c \
+ constr_TYPE.h \
+ der_encoder.c \
+ der_encoder.h \
GetKeytabControl.c \
- GKNewKeys.c \
+ GetKeytabControl.h \
GKCurrentKeys.c \
+ GKCurrentKeys.h \
+ GKNewKeys.c \
+ GKNewKeys.h \
GKReply.c \
+ GKReply.h \
+ Int32.c \
+ Int32.h \
+ INTEGER.c \
+ INTEGER.h \
KrbKey.c \
- TypeValuePair.c
+ KrbKey.h \
+ NativeEnumerated.c \
+ NativeEnumerated.h \
+ NativeInteger.c \
+ NativeInteger.h \
+ OCTET_STRING.c \
+ OCTET_STRING.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 \
+ TypeValuePair.c \
+ TypeValuePair.h \
+ xer_decoder.c \
+ xer_decoder.h \
+ xer_encoder.c \
+ xer_encoder.h \
+ xer_support.c \
+ xer_support.h
+EXTRA_DIST = ipa.asn1
AM_CPPFLAGS = -I$(top_srcdir)/util