blob: 9e70802fb860762ed6ab5debd2cf7dfd7d793249 [file] [log] [blame]
William Lallemand2be58f72020-04-25 22:03:29 +02001CFLAGS = `pkg-config --cflags wireshark` -g -fPIC
2LDFLAGS = `pkg-config --libs wireshark`
3
4NAME = packet-happp.so
5OBJS = packet-happp.o
6
7plugins=$(HOME)/.wireshark/plugins/
8
9$(NAME): $(OBJS)
10 $(CC) -shared $(LDFLAGS) $(OBJS) -o $@
11
12install: $(NAME)
13 install -d $(DESTDIR)$(plugins)
14 install -m 0755 $(NAME) $(DESTDIR)$(plugins)
15
16clean:
17 rm $(NAME) $(OBJS)