]> git.proxmox.com Git - mirror_zfs.git/blob - lib/libicp/Makefile.am
zfs filesystem skipped by df -h
[mirror_zfs.git] / lib / libicp / Makefile.am
1 include $(top_srcdir)/config/Rules.am
2
3 VPATH = \
4 $(top_srcdir)/module/icp \
5 $(top_srcdir)/lib/libicp
6
7 # Includes kernel code, generate warnings for large stack frames
8 AM_CFLAGS += $(FRAME_LARGER_THAN)
9
10 DEFAULT_INCLUDES += \
11 -I$(top_srcdir)/include \
12 -I$(top_srcdir)/module/icp/include \
13 -I$(top_srcdir)/lib/libspl/include
14
15 noinst_LTLIBRARIES = libicp.la
16
17 if TARGET_ASM_X86_64
18 ASM_SOURCES_C = asm-x86_64/aes/aeskey.c
19 ASM_SOURCES_AS = \
20 asm-x86_64/aes/aes_amd64.S \
21 asm-x86_64/aes/aes_aesni.S \
22 asm-x86_64/modes/gcm_pclmulqdq.S \
23 asm-x86_64/sha1/sha1-x86_64.S \
24 asm-x86_64/sha2/sha256_impl.S \
25 asm-x86_64/sha2/sha512_impl.S
26 endif
27
28 if TARGET_ASM_I386
29 ASM_SOURCES_C =
30 ASM_SOURCES_AS =
31 endif
32
33 if TARGET_ASM_GENERIC
34 ASM_SOURCES_C =
35 ASM_SOURCES_AS =
36 endif
37
38 USER_C =
39
40 USER_ASM =
41
42 KERNEL_C = \
43 spi/kcf_spi.c \
44 api/kcf_ctxops.c \
45 api/kcf_digest.c \
46 api/kcf_cipher.c \
47 api/kcf_miscapi.c \
48 api/kcf_mac.c \
49 algs/aes/aes_impl_aesni.c \
50 algs/aes/aes_impl_generic.c \
51 algs/aes/aes_impl_x86-64.c \
52 algs/aes/aes_impl.c \
53 algs/aes/aes_modes.c \
54 algs/edonr/edonr.c \
55 algs/modes/modes.c \
56 algs/modes/cbc.c \
57 algs/modes/gcm_generic.c \
58 algs/modes/gcm_pclmulqdq.c \
59 algs/modes/gcm.c \
60 algs/modes/ctr.c \
61 algs/modes/ccm.c \
62 algs/modes/ecb.c \
63 algs/sha1/sha1.c \
64 algs/sha2/sha2.c \
65 algs/skein/skein.c \
66 algs/skein/skein_block.c \
67 algs/skein/skein_iv.c \
68 illumos-crypto.c \
69 io/aes.c \
70 io/edonr_mod.c \
71 io/sha1_mod.c \
72 io/sha2_mod.c \
73 io/skein_mod.c \
74 os/modhash.c \
75 os/modconf.c \
76 core/kcf_sched.c \
77 core/kcf_prov_lib.c \
78 core/kcf_callprov.c \
79 core/kcf_mech_tabs.c \
80 core/kcf_prov_tabs.c \
81 $(ASM_SOURCES_C)
82
83 KERNEL_ASM = $(ASM_SOURCES_AS)
84
85 nodist_libicp_la_SOURCES = \
86 $(USER_C) \
87 $(USER_ASM) \
88 $(KERNEL_C) \
89 $(KERNEL_ASM)
90
91 libicp_la_LIBADD = -lrt