forked from bloomberg/comdb2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlibs.mk
67 lines (62 loc) · 2.16 KB
/
libs.mk
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
DLMALLOC_BIN=$(SRCHOME)/dlmalloc/libdlmalloc.a
UTIL_BIN=$(SRCHOME)/util/libutil.a
NET_BIN=$(SRCHOME)/net/libnet.a
SQLITE_BIN=$(SRCHOME)/sqlite/libsqlite.a
DATETIME_BIN=$(SRCHOME)/datetime/libtz.a
LUA_BIN=$(SRCHOME)/lua/liblua.a
PROTOBUF_BIN=$(SRCHOME)/protobuf/libcdb2protobuf.a
COMDB2RLE_BIN=$(SRCHOME)/comdb2rle/libcomdb2rle.a
CRC32C_BIN=$(SRCHOME)/crc32c/libcrc32c.a
DFPAL_BIN=$(SRCHOME)/dfp/decNumber/libdfpal.a
CMACC2_BIN=$(SRCHOME)/csc2/libcsc2lib.a
BDB_BIN=$(SRCHOME)/bdb/libbdblib.a
BERKDB_BIN=$(SRCHOME)/berkdb/libdb.a
BBLIB_BIN=$(SRCHOME)/bb/libbb.a
CDB2API_BIN=$(SRCHOME)/cdb2api/libcdb2api.a
SCHEMA_BIN=$(SRCHOME)/schemachange/libschemachange.a
CSON_BIN=$(SRCHOME)/cson/libcson.a
SOCKPOOL_BIN=$(SRCHOME)/sockpool/libsockpool.a
CDB2API_BIN_SO=$(SRCHOME)/cdb2api/libcdb2api.so
LCLFLAGS+=-L$(SRCHOME)/dlmalloc
LCLFLAGS+=-L$(SRCHOME)/net
LCLFLAGS+=-L$(SRCHOME)/sqlite
LCLFLAGS+=-L$(SRCHOME)/datetime
LCLFLAGS+=-L$(SRCHOME)/lua
LCLFLAGS+=-L$(SRCHOME)/comdb2rle
LCLFLAGS+=-L$(SRCHOME)/crc32c
LCLFLAGS+=-L$(SRCHOME)/dfp/decNumber
LCLFLAGS+=-L$(SRCHOME)/csc2
LCLFLAGS+=-L$(SRCHOME)/bdb
LCLFLAGS+=-L$(SRCHOME)/berkdb
LCLFLAGS+=-L$(SRCHOME)/bb
LCLFLAGS+=-L$(SRCHOME)/cdb2api
LCLFLAGS+=-L$(SRCHOME)/schemachange
LCLFLAGS+=-L$(SRCHOME)/protobuf
LCLFLAGS+=-L$(SRCHOME)/cson
LCLFLAGS+=-L$(SRCHOME)/sockpool
DLMALLOC=-ldlmalloc
NET=-lnet
SQLITE=-lsqlite
DATETIME=-ltz
LUA=-llua
COMDB2RLE=-lcomdb2rle
CRC32C=-lcrc32c
DFPAL=-ldfpal
CMACC2=-lcsc2lib
BDB=-lbdblib
BERKDB=-ldb
BBLIB=-lbb
CDB2API=$(CDB2API_BIN)
SCHEMA=-lschemachange
PROTOBUF=-lcdb2protobuf
CSON=-lcson
SOCKPOOL=-lsockpool
LIBS_BIN=$(BDB_BIN) $(BERKDB_BIN) $(SQLITE_BIN) $(CMACC2_BIN) \
$(DATETIME_BIN) $(LUA_BIN) $(NET_BIN) $(DLMALLOC_BIN) \
$(CRC32C_BIN) $(COMDB2RLE_BIN) $(DFPAL_BIN) $(BBLIB_BIN) \
$(CDB2API_BIN) $(SCHEMA_BIN) $(PROTOBUF_BIN) $(CSON_BIN) \
$(CDB2API_BIN_SO) $(SOCKPOOL_BIN)
LIB_DEPS=dlmalloc net sqlite datetime lua comdb2rle crc32c lz4 dfpal csc2 bb bdb berkdb bblib cdb2api cson protobuf schemachange sockpool
LCLLIBS=$(SCHEMA) $(BDB) $(BERKDB) $(SQLITE) $(CMACC2) $(DATETIME) $(LUA) \
$(NET) $(CRC32C) $(COMDB2RLE) $(DFPAL) $(BBLIB) $(CDB2API) \
$(DLMALLOC) $(PROTOBUF) $(CSON) $(SOCKPOOL)