blob: 95149e70e74f0c8a20c9df3580131b0d0d8caa08 [file] [log] [blame]
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)