summaryrefslogtreecommitdiffstats
path: root/admin/wireshark-dissectors/peers/Makefile
blob: 95149e70e74f0c8a20c9df3580131b0d0d8caa08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)