1 Star 0 Fork 0

zwhy/oflops

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile.am 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
AUTOMAKE_OPTIONS=-Wall foreign
OFSRC=@openflowsrc@
CFLAGS+=-Wall -I$(OFSRC)/include \
-Wshadow `pkg-config --cflags libconfig` \
-D_GNU_SOURCE
LDFLAGS+=-L$(OFSRC)/lib `pkg-config --libs libconfig`
LDADD=-ldl -lpcap -lnetsnmp -loflops_test -lpthread
#LDADD+=-lefence
EXTRA_DIST=./doc
bin_PROGRAMS=oflops
lib_LTLIBRARIES=liboflops_test.la
liboflops_test_la_SOURCES= test_module.h test_module.c \
msgbuf.c msgbuf.h \
pcap_track.c pcap_track.h \
oflops_snmp.c oflops_snmp.h \
utils.h utils.c \
wc_event.h wc_event.c
liboflops_test_la_LIBADD=-lnetsnmp
oflops_SOURCES= \
channel_info.h channel_info.c \
context.h context.c \
control.h control.c \
module_run.h module_run.c \
module_default.h module_default.c \
oflops.c oflops.h \
oflops_pcap.h oflops_pcap.c \
timer_event.h timer_event.c \
msg.c msg.h \
log.c log.h \
traffic_generator.c traffic_generator.h \
usage.h usage.c
oflops_LDFLAGS=-static -Wl,-E
# lame; add "." before anything else to force dependencies
# to be built right
SUBDIRS = . example_modules cbench doc
docs:
$(MAKE) -C doc docs
count:
@wc -l `find . -name \*.c -o -name \*.h -o -name Makefile.am` | sort -n
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yinfuxing/oflops.git
git@gitee.com:yinfuxing/oflops.git
yinfuxing
oflops
oflops
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385