mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-22 04:10:48 +00:00
aab6f7c3e6
With a 2.6.8 wireshark, this module could not compile because of ws_version.h missing header. This patch offers the possibility to compile this plugin without having to include this header. Furthermore with my wireshark version a "plugin_release" object is required to make it be loaded by wireshark. This is a string which seems to have to match a dotted string made of you wireshark major and minor versions.
18 lines
365 B
Makefile
18 lines
365 B
Makefile
CFLAGS = `pkg-config --cflags wireshark` -g -fPIC $(OPTS)
|
|
LDFLAGS = `pkg-config --libs wireshark`
|
|
|
|
NAME = packet-happp.so
|
|
OBJS = packet-happp.o
|
|
|
|
plugins=$(HOME)/.wireshark/plugins/
|
|
|
|
$(NAME): $(OBJS)
|
|
$(CC) -shared $(LDFLAGS) $(OBJS) -o $@
|
|
|
|
install: $(NAME)
|
|
install -d $(DESTDIR)$(plugins)
|
|
install -m 0755 $(NAME) $(DESTDIR)$(plugins)
|
|
|
|
clean:
|
|
rm $(NAME) $(OBJS)
|