summaryrefslogtreecommitdiffstatsabout
path: root/openssl.mk
blob: bc2e6f0e3fb3073a2547bcec93f7ffdea59b6d91 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
#*********************************************************************************************************
#
#                                    中国软件开源组织
#
#                                   嵌入式实时操作系统
#
#                                SylixOS(TM)  LW : long wing
#
#                               Copyright All Rights Reserved
#
#--------------文件信息--------------------------------------------------------------------------------
#
# 文   件   名: openssl.mk
#
# 创   建   人: RealEvo-IDE
#
# 文件创建日期: 2018 年 02 月 06 日
#
# 描        述: 本文件由 RealEvo-IDE 生成,用于配置 Makefile 功能,请勿手动修改
#*********************************************************************************************************

#*********************************************************************************************************
# Clear setting
#*********************************************************************************************************
include $(CLEAR_VARS_MK)

#*********************************************************************************************************
# Target
#*********************************************************************************************************
LOCAL_TARGET_NAME := openssl

#*********************************************************************************************************
# Source list
#*********************************************************************************************************
LOCAL_SRCS := \
openssl/apps/app_rand.c \
openssl/apps/dhparam.c \
openssl/apps/rsautl.c \
openssl/apps/verify.c \
openssl/apps/genpkey.c \
openssl/apps/crl.c \
openssl/apps/s_server.c \
openssl/apps/rsa.c \
openssl/apps/nseq.c \
openssl/apps/pkcs8.c \
openssl/apps/engine.c \
openssl/apps/apps.c \
openssl/apps/ts.c \
openssl/apps/srp.c \
openssl/apps/dsa.c \
openssl/apps/spkac.c \
openssl/apps/dsaparam.c \
openssl/apps/req.c \
openssl/apps/s_client.c \
openssl/apps/smime.c \
openssl/apps/pkcs7.c \
openssl/apps/version.c \
openssl/apps/s_socket.c \
openssl/apps/gendsa.c \
openssl/apps/openssl.c \
openssl/apps/crl2p7.c \
openssl/apps/dh.c \
openssl/apps/enc.c \
openssl/apps/s_time.c \
openssl/apps/ocsp.c \
openssl/apps/errstr.c \
openssl/apps/pkeyparam.c \
openssl/apps/ca.c \
openssl/apps/genrsa.c \
openssl/apps/rand.c \
openssl/apps/pkeyutl.c \
openssl/apps/gendh.c \
openssl/apps/passwd.c \
openssl/apps/x509.c \
openssl/apps/pkey.c \
openssl/apps/s_cb.c \
openssl/apps/cms.c \
openssl/apps/pkcs12.c \
openssl/apps/ecparam.c \
openssl/apps/prime.c \
openssl/apps/ec.c \
openssl/apps/dgst.c \
openssl/apps/speed.c \
openssl/apps/ciphers.c \
openssl/apps/asn1pars.c \
openssl/apps/sess_id.c \

#*********************************************************************************************************
# Header file search path (eg. LOCAL_INC_PATH := -I"Your header files search path")
#*********************************************************************************************************
LOCAL_INC_PATH := -I"./openssl" -I"./openssl/include"

#*********************************************************************************************************
# Pre-defined macro (eg. -DYOUR_MARCO=1)
#*********************************************************************************************************
LOCAL_DSYMBOL := -DMONOLITH -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H

ifeq ($(ARCH), sparc)
LOCAL_DSYMBOL += -DB_ENDIAN 
else ifeq ($(ARCH), ppc)
LOCAL_DSYMBOL += -DB_ENDIAN 
else
LOCAL_DSYMBOL += -DL_ENDIAN 
endif

#*********************************************************************************************************
# Compiler flags
#*********************************************************************************************************
LOCAL_CFLAGS   := 
LOCAL_CXXFLAGS := 

#*********************************************************************************************************
# Depend library (eg. LOCAL_DEPEND_LIB := -la LOCAL_DEPEND_LIB_PATH := -L"Your library search path")
#*********************************************************************************************************
LOCAL_DEPEND_LIB      := -lssl -lcrypto
LOCAL_DEPEND_LIB_PATH := -L"$(OUTDIR)"

#*********************************************************************************************************
# C++ config
#*********************************************************************************************************
LOCAL_USE_CXX        := no
LOCAL_USE_CXX_EXCEPT := no

#*********************************************************************************************************
# Code coverage config
#*********************************************************************************************************
LOCAL_USE_GCOV := no

#*********************************************************************************************************
# OpenMP config
#*********************************************************************************************************
LOCAL_USE_OMP := no

#*********************************************************************************************************
# User link command
#*********************************************************************************************************
LOCAL_PRE_LINK_CMD   := 
LOCAL_POST_LINK_CMD  := cp openssl/apps/openssl.cnf $(OUTDIR)
LOCAL_PRE_STRIP_CMD  := 
LOCAL_POST_STRIP_CMD := cp openssl/apps/openssl.cnf $(OUTDIR)/strip

#*********************************************************************************************************
# Depend target
#*********************************************************************************************************
LOCAL_DEPEND_TARGET := ./$(OUTDIR)/libssl.so ./$(OUTDIR)/libcrypto.so

include $(APPLICATION_MK)

#*********************************************************************************************************
# End
#*********************************************************************************************************