wangzhengquan
2020-06-09 07e35d14230a75e7650f838c534c141de5401f09
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# Makefile for common library.
#
ROOT=..
LDLIBS+=-Wl,-rpath=../hclib:../hclib/HCNetSDKCom:../common
LDDIR += -L$(ROOT)/hcnetdisk_wrapper -L../hclib -L../hclib/HCNetSDKCom
LDLIBS +=  -lhcnetsdk -lhpr -lHCCore 
LDLIBS += -lpthread  -ljsoncpp -lnanomsg
LIB_NETDISK = libnetdisk.a
DLIB_NETDISK = libnetdisk.so
PLATFORM=$(shell $(ROOT)/systype.sh)
include $(ROOT)/Make.defines.$(PLATFORM)
 
 
 
all: download1 test_file test_io profile test_json
 
test_file: test_file.c
 
clean:
    rm -f test *.o a.out core temp.* *.a *.so
 
 
include $(ROOT)/Make.common.inc