Make.defines.linux | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Makefile | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
include/usgcommon/usg_common.h | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
lib/libusgcommon.so | 补丁 | 查看 | 原始文档 | blame | 历史 | |
queue/Makefile | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
queue/libshm_queue.a | 补丁 | 查看 | 原始文档 | blame | 历史 | |
queue/libshm_queue.so | 补丁 | 查看 | 原始文档 | blame | 历史 | |
test/multiple_queue_consumer | 补丁 | 查看 | 原始文档 | blame | 历史 | |
test/multiple_queue_productor | 补丁 | 查看 | 原始文档 | blame | 历史 | |
test/single_consumer | 补丁 | 查看 | 原始文档 | blame | 历史 | |
test/single_productor | 补丁 | 查看 | 原始文档 | blame | 历史 | |
test/test_lostdata | 补丁 | 查看 | 原始文档 | blame | 历史 | |
test/test_queue | 补丁 | 查看 | 原始文档 | blame | 历史 | |
test/test_timeout | 补丁 | 查看 | 原始文档 | blame | 历史 | |
test2/Makefile | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
test2/client | 补丁 | 查看 | 原始文档 | blame | 历史 | |
test2/server | 补丁 | 查看 | 原始文档 | blame | 历史 | |
test2/test_queue_wrapper | 补丁 | 查看 | 原始文档 | blame | 历史 |
Make.defines.linux
@@ -8,7 +8,7 @@ LINK.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) LDFLAGS= LDDIR += -L$(ROOT)/lib LDLIBS += $(LDDIR) -lusgcommon $(EXTRALIBS) LDLIBS += $(LDDIR) $(EXTRALIBS) INCLUDE += -I. -I./include -I$(ROOT)/include -I$(ROOT)/include/usgcommon ifeq ($(DEBUG),y) @@ -21,13 +21,13 @@ RANLIB=echo AR=ar AWK=awk LIBCOMMON=$(ROOT)/common/libusgcommon.a #LIBCOMMON=$(ROOT)/common/libusgcommon.a # Common temp files to delete from each directory. TEMPFILES=core core.* *.o temp.* *.out *.a *.so %: %.c $(LIBCOMMON) $(CC) $(CFLAGS) $(filter-out $(LIBCOMMON), $^) -o $@ $(LDFLAGS) $(LDLIBS) %: %.c $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(LDLIBS) Makefile
@@ -1,4 +1,4 @@ DIRS = queue test test2 DIRS = queue test2 all: for i in $(DIRS); do \ include/usgcommon/usg_common.h
@@ -64,10 +64,9 @@ #include <algorithm> #include <iomanip> #include <limits> #include <map> #include <initializer_list> #include <vector> #include <map> #include <set> #include <thread> #endif lib/libusgcommon.soBinary files differ
queue/Makefile
@@ -7,7 +7,7 @@ #LDDIR += -L$(ROOT)/lib/jsoncpp -L$(ROOT)/lib/nng # 开源工具包 #LDLIBS += -ljsoncpp -lnng -lpthread LDLIBS += -lusgcommon #INCLUDE += -I$(ROOT)/device/include @@ -20,7 +20,7 @@ SOURCES := $(wildcard *.c) OBJS = $(patsubst %.c, %.o, $(SOURCES)) MYLIBS = $(LIBSQUEUE) MYLIBS = $(LIBSQUEUE) $(DLIBSQUEUE) all: build @@ -29,13 +29,13 @@ #static lib $(LIBSQUEUE): $(OBJS) $(AR) rv $@ $? $(AR) rv $@ $? $(ROOT)/lib/libusgcommon.a $(RANLIB) $@ #dynamic lib $(DLIBSQUEUE): $(SOURCES) rm -f *.o $(CC) -fPIC -shared $(CFLAGS) $^ -o $@ $(LDFLAGS) $(CC) -fPIC -shared $(CFLAGS) $^ -o $@ $(LDFLAGS) $(ROOT)/lib/libusgcommon.so #PREFIX is environment variable, but if it is not set, then set default value queue/libshm_queue.aBinary files differ
queue/libshm_queue.soBinary files differ
test/multiple_queue_consumerBinary files differ
test/multiple_queue_productorBinary files differ
test/single_consumerBinary files differ
test/single_productorBinary files differ
test/test_lostdataBinary files differ
test/test_queueBinary files differ
test/test_timeoutBinary files differ
test2/Makefile
@@ -2,7 +2,7 @@ # Makefile for common library. # ROOT=.. #LDLIBS+=-Wl,-rpath=$(ROOT)/common:$(ROOT)/lib/jsoncpp LDLIBS+=-Wl,-rpath=$(ROOT)/queue # 开源工具包路径 LDDIR += -L$(ROOT)/queue # 开源工具包 test2/clientBinary files differ
test2/serverBinary files differ
test2/test_queue_wrapperBinary files differ