blob: 95149e70e74f0c8a20c9df3580131b0d0d8caa08 [file] [log] [blame]
Frédéric Lécaille9885f4b2021-01-19 14:33:24 +01001CFLAGS = `pkg-config --cflags wireshark` -g -fPIC $(OPTS)
William Lallemand2be58f72020-04-25 22:03:29 +02002LDFLAGS = `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)