compile tls module

This commit is contained in:
zhengshuxin 2022-08-17 15:36:10 +08:00
parent 56548cdb8b
commit a62bff032f
3 changed files with 6 additions and 6 deletions

View File

@ -84,7 +84,7 @@ endif
OUT_PATH = .
OBJ_PATH_DST = $(OUT_PATH)/debug
LIB_PATH_DST = $(OUT_PATH)/lib
LIB_PATH_DST = $(OUT_PATH)
#Project's objs
TLS_SRC = $(wildcard ./*.c) \
@ -111,12 +111,12 @@ LIB_NAME = lib_tls.a
COMPILE = $(CC) $(CFLAGS)
all: TLSMGR
#all: TLSMGR
$(shell mkdir -p $(OBJ_PATH_DST))
TLSMGR: $(LIB_NAME)
@(cd tlsmgr; make)
#TLSMGR: $(LIB_NAME)
# @(cd tlsmgr; make)
$(LIB_NAME): $(TLS_OBJ)
$(AR) $(ARFL) $(LIB_PATH_DST)/$(LIB_NAME) $(TLS_OBJ)

View File

@ -71,11 +71,11 @@ ACL_LIB = $(ACL_PATH)/lib
TLS_PATH = ..
TLS_INC = $(TLS_PATH)/include
TLS_LIB = $(TLS_PATH)/lib
TLS_LIB = $(TLS_PATH)
DICT_PATH = ../../lib_dict
DICT_INC = $(DICT_PATH)/include
DICT_LIB = $(DICT_PATH)/lib
DICT_LIB = $(DICT_PATH)
ALL_LIBS = -L$(TLS_LIB) -l_tls -L$(DICT_LIB) -l_dict -L$(ACL_LIB) -l_acl \
-lssl -ldb $(SYSLIB)