1 src
= @abs_top_srcdir@
/module
/icp
6 TARGET_ASM_DIR
= @TARGET_ASM_DIR@
8 ifeq ($(TARGET_ASM_DIR
), asm-x86_64
)
9 ASM_SOURCES
:= asm-x86_64
/aes
/aeskey.o
10 ASM_SOURCES
+= asm-x86_64
/aes
/aes_amd64.o
11 ASM_SOURCES
+= asm-x86_64
/aes
/aes_intel.o
12 ASM_SOURCES
+= asm-x86_64
/modes
/gcm_intel.o
13 ASM_SOURCES
+= asm-x86_64
/sha1
/sha1-x86_64.o
14 ASM_SOURCES
+= asm-x86_64
/sha2
/sha256_impl.o
15 ASM_SOURCES
+= asm-x86_64
/sha2
/sha512_impl.o
18 ifeq ($(TARGET_ASM_DIR
), asm-i386
)
22 ifeq ($(TARGET_ASM_DIR
), asm-generic
)
26 EXTRA_CFLAGS
= $(ZFS_MODULE_CFLAGS
) @KERNELCPPFLAGS@
28 obj-
$(CONFIG_ZFS
) := $(MODULE
).o
30 ccflags-y
+= -I
$(src
)/include
31 asflags-y
+= -I
$(src
)/include
32 asflags-y
+= $(ZFS_MODULE_CFLAGS
)
34 $(MODULE
)-objs
+= illumos-crypto.o
35 $(MODULE
)-objs
+= api
/kcf_cipher.o
36 $(MODULE
)-objs
+= api
/kcf_digest.o
37 $(MODULE
)-objs
+= api
/kcf_mac.o
38 $(MODULE
)-objs
+= api
/kcf_miscapi.o
39 $(MODULE
)-objs
+= api
/kcf_ctxops.o
40 $(MODULE
)-objs
+= core
/kcf_callprov.o
41 $(MODULE
)-objs
+= core
/kcf_prov_tabs.o
42 $(MODULE
)-objs
+= core
/kcf_sched.o
43 $(MODULE
)-objs
+= core
/kcf_mech_tabs.o
44 $(MODULE
)-objs
+= core
/kcf_prov_lib.o
45 $(MODULE
)-objs
+= spi
/kcf_spi.o
46 $(MODULE
)-objs
+= io
/aes.o
47 $(MODULE
)-objs
+= io
/edonr_mod.o
48 $(MODULE
)-objs
+= io
/sha1_mod.o
49 $(MODULE
)-objs
+= io
/sha2_mod.o
50 $(MODULE
)-objs
+= io
/skein_mod.o
51 $(MODULE
)-objs
+= os
/modhash.o
52 $(MODULE
)-objs
+= os
/modconf.o
53 $(MODULE
)-objs
+= algs
/modes
/cbc.o
54 $(MODULE
)-objs
+= algs
/modes
/ccm.o
55 $(MODULE
)-objs
+= algs
/modes
/ctr.o
56 $(MODULE
)-objs
+= algs
/modes
/ecb.o
57 $(MODULE
)-objs
+= algs
/modes
/gcm.o
58 $(MODULE
)-objs
+= algs
/modes
/modes.o
59 $(MODULE
)-objs
+= algs
/aes
/aes_impl.o
60 $(MODULE
)-objs
+= algs
/aes
/aes_modes.o
61 $(MODULE
)-objs
+= algs
/edonr
/edonr.o
62 $(MODULE
)-objs
+= algs
/sha1
/sha1.o
63 $(MODULE
)-objs
+= algs
/sha2
/sha2.o
64 $(MODULE
)-objs
+= algs
/sha1
/sha1.o
65 $(MODULE
)-objs
+= algs
/skein
/skein.o
66 $(MODULE
)-objs
+= algs
/skein
/skein_block.o
67 $(MODULE
)-objs
+= algs
/skein
/skein_iv.o
68 $(MODULE
)-objs
+= $(ASM_SOURCES
)