This repository has been archived by the owner on Dec 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 720
/
Makefile.am
77 lines (67 loc) · 1.6 KB
/
Makefile.am
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
VERSION_INFO = 0:0:0
AM_CFLAGS = -g -Wall
#AM_CFLAGS += $(PTHREAD_CFLAGS)
AM_CFLAGS += -I$(top_srcdir)
AM_CFLAGS += -I$(top_srcdir)/pcs
AM_CFLAGS += -I$(top_srcdir)/rb_tree
ACLOCAL_AMFLAGS = -I m4
COMMON_LIBS = -lm
bin_PROGRAMS = baidupcs
pcs_src = pcs/cJSON.c \
pcs/pcs_fileinfo.c \
pcs/pcs_http.c \
pcs/pcs_mem.c \
pcs/pcs_pan_api_resinfo.c \
pcs/pcs_slist.c \
pcs/pcs_utils.c \
pcs/err_msg.c \
pcs/utf8.c \
pcs/pcs.c \
pcs/pcs_buffer.c \
pcs/pcs_passport_dv.c
shell_src = shell.c \
arg.c \
dir.c \
rb_tree/misc.c \
rb_tree/red_black_tree.c \
rb_tree/stack.c \
utils.c \
hashtable.c \
cache.c
baidupcs_SOURCES = \
$(shell_src) \
$(pcs_src)
baidupcs_CFLAGS = $(AM_CFLAGS)
baidupcs_LDADD = $(COMMON_LIBS)
lib_LTLIBRARIES = libbaidupcs.la
libbaidupcs_la_SOURCES = $(pcs_src)
libbaidupcs_la_LDFLAGS = -version-info $(VERSION_INFO)
libbaidupcs_la_LIBADD = $(pcs_LDADD)
pcsincludedir = $(includedir)/pcs
pcsinclude_HEADERS = pcs/pcs.h \
pcs/pcs_buffer.h \
pcs/pcs_defs.h \
pcs/pcs_fileinfo.h \
pcs/pcs_http.h \
pcs/pcs_mem.h \
pcs/pcs_pan_api_resinfo.h \
pcs/pcs_passport_dv.h \
pcs/pcs_slist.h \
pcs/pcs_utils.h
noinst_HEADERS = pcs/BaiduPCS.h \
pcs/cJSON.h \
pcs/openssl_aes.h \
pcs/openssl_md5.h \
pcs/openssl_rsa.h \
pcs/utf8.h \
shell.h \
utils.h \
version.h \
arg.h \
dir.h \
hashtable.h \
cache.h \
rb_tree/misc.h \
rb_tree/red_black_tree.h \
rb_tree/stack.h
EXTRA_DIST = CHANGES README.md docs