clang-format generated hdb, spnego and krb5 asn1.c files
Alphabetically sorted the $(spnego_files), $(gssapi_files), and $(gen_files_hdb) lists. Added rules to execute clang-format when available on the included files. Change-Id: If3cde862f3237bc7cd100bc82d4fbbf568f1a354
This commit is contained in:
@@ -20,30 +20,30 @@ BUILT_SOURCES = \
|
||||
hdb_err.h
|
||||
|
||||
gen_files_hdb = \
|
||||
asn1_Salt.c \
|
||||
asn1_Key.c \
|
||||
asn1_Event.c \
|
||||
asn1_HDBFlags.c \
|
||||
asn1_GENERATION.c \
|
||||
asn1_HDB_EncTypeList.c \
|
||||
asn1_HDB_Ext_Aliases.c \
|
||||
asn1_HDB_Ext_Constrained_delegation_acl.c \
|
||||
asn1_HDB_Ext_KeyRotation.c \
|
||||
asn1_HDB_Ext_KeySet.c \
|
||||
asn1_HDB_Ext_Lan_Manager_OWF.c \
|
||||
asn1_HDB_Ext_Password.c \
|
||||
asn1_HDB_Ext_PKINIT_acl.c \
|
||||
asn1_HDB_Ext_PKINIT_cert.c \
|
||||
asn1_HDB_Ext_PKINIT_hash.c \
|
||||
asn1_HDB_Ext_Constrained_delegation_acl.c \
|
||||
asn1_HDB_Ext_KeyRotation.c \
|
||||
asn1_HDB_Ext_Lan_Manager_OWF.c \
|
||||
asn1_HDB_Ext_Password.c \
|
||||
asn1_HDB_Ext_Aliases.c \
|
||||
asn1_HDB_Ext_KeySet.c \
|
||||
asn1_HDB_EntryOrAlias.c \
|
||||
asn1_HDB_entry_alias.c \
|
||||
asn1_HDB_entry.c \
|
||||
asn1_HDB_extension.c \
|
||||
asn1_HDB_extensions.c \
|
||||
asn1_HDB_EncTypeList.c \
|
||||
asn1_HDB_EntryOrAlias.c \
|
||||
asn1_HDB_keyset.c \
|
||||
asn1_HDBFlags.c \
|
||||
asn1_Key.c \
|
||||
asn1_KeyRotation.c \
|
||||
asn1_KeyRotationFlags.c \
|
||||
asn1_HDB_entry.c \
|
||||
asn1_HDB_entry_alias.c \
|
||||
asn1_HDB_keyset.c \
|
||||
asn1_Keys.c
|
||||
asn1_Keys.c \
|
||||
asn1_Salt.c
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES) $(gen_files_hdb) \
|
||||
hdb_asn1{,-priv}.h hdb_asn1_files hdb_asn1-template.c \
|
||||
@@ -144,6 +144,9 @@ $(srcdir)/hdb-private.h: $(dist_libhdb_la_SOURCES)
|
||||
cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -p hdb-private.h $(dist_libhdb_la_SOURCES) || rm -f hdb-private.h
|
||||
|
||||
$(gen_files_hdb) hdb_asn1.h hdb_asn1-priv.h: hdb_asn1_files
|
||||
for genfile in '$(gen_files_hdb)'; do \
|
||||
$(CLANG_FORMAT) -style=$(CLANG_FORMAT_STYLE) -i $${genfile}; \
|
||||
done
|
||||
|
||||
hdb_asn1_files: $(ASN1_COMPILE_DEP) $(srcdir)/hdb.asn1
|
||||
$(ASN1_COMPILE) --option-file=$(srcdir)/hdb.opt $(srcdir)/hdb.asn1 hdb_asn1
|
||||
|
Reference in New Issue
Block a user