You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
356 B
17 lines
356 B
CFLAGS = `pkg-config --cflags wireshark` -g -fPIC
|
|
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)
|
|
|