linux/crypto/asymmetric_keys/Makefile
<<
>>
Prefs
   1#
   2# Makefile for asymmetric cryptographic keys
   3#
   4
   5obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetric_keys.o
   6
   7asymmetric_keys-y := asymmetric_type.o signature.o
   8
   9obj-$(CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE) += public_key.o
  10
  11#
  12# X.509 Certificate handling
  13#
  14obj-$(CONFIG_X509_CERTIFICATE_PARSER) += x509_key_parser.o
  15x509_key_parser-y := \
  16        x509-asn1.o \
  17        x509_akid-asn1.o \
  18        x509_cert_parser.o \
  19        x509_public_key.o
  20
  21$(obj)/x509_cert_parser.o: \
  22        $(obj)/x509-asn1.h \
  23        $(obj)/x509_akid-asn1.h
  24
  25$(obj)/x509-asn1.o: $(obj)/x509-asn1.c $(obj)/x509-asn1.h
  26$(obj)/x509_akid-asn1.o: $(obj)/x509_akid-asn1.c $(obj)/x509_akid-asn1.h
  27
  28clean-files     += x509-asn1.c x509-asn1.h
  29clean-files     += x509_akid-asn1.c x509_akid-asn1.h
  30
  31#
  32# PKCS#7 message handling
  33#
  34obj-$(CONFIG_PKCS7_MESSAGE_PARSER) += pkcs7_message.o
  35pkcs7_message-y := \
  36        pkcs7-asn1.o \
  37        pkcs7_parser.o \
  38        pkcs7_trust.o \
  39        pkcs7_verify.o
  40
  41$(obj)/pkcs7_parser.o: $(obj)/pkcs7-asn1.h
  42$(obj)/pkcs7-asn1.o: $(obj)/pkcs7-asn1.c $(obj)/pkcs7-asn1.h
  43
  44clean-files     += pkcs7-asn1.c pkcs7-asn1.h
  45
  46#
  47# PKCS#7 parser testing key
  48#
  49obj-$(CONFIG_PKCS7_TEST_KEY) += pkcs7_test_key.o
  50pkcs7_test_key-y := \
  51        pkcs7_key_type.o
  52
  53#
  54# Signed PE binary-wrapped key handling
  55#
  56obj-$(CONFIG_SIGNED_PE_FILE_VERIFICATION) += verify_signed_pefile.o
  57
  58verify_signed_pefile-y := \
  59        verify_pefile.o \
  60        mscode_parser.o \
  61        mscode-asn1.o
  62
  63$(obj)/mscode_parser.o: $(obj)/mscode-asn1.h $(obj)/mscode-asn1.h
  64$(obj)/mscode-asn1.o: $(obj)/mscode-asn1.c $(obj)/mscode-asn1.h
  65
  66clean-files     += mscode-asn1.c mscode-asn1.h
  67