Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « rc4 « crypto - github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9862af29bb89230812ddbd3c10dd4cbf687b6ea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
include_directories(. .. ../../include)

if (${ARCH} STREQUAL "x86_64")
	set(
		RC4_ARCH_SOURCES

		rc4-x86_64.${ASM_EXT}
		rc4-md5-x86_64.${ASM_EXT}
	)
endif()

if (${ARCH} STREQUAL "x86")
	set(
		RC4_ARCH_SOURCES

		rc4-586.${ASM_EXT}
	)
endif()

add_library(
	rc4

	OBJECT

	rc4.c
	${RC4_ARCH_SOURCES}
)

perlasm(rc4-x86_64.${ASM_EXT} asm/rc4-x86_64.pl)
perlasm(rc4-md5-x86_64.${ASM_EXT} asm/rc4-md5-x86_64.pl)
perlasm(rc4-586.${ASM_EXT} asm/rc4-586.pl)