From 8588f347d9f9e79ee7ee29529b5b8a000f14bdee Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Wed, 29 Dec 2010 21:42:55 +0100 Subject: import the ISI wireshark plugin from libisi --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8c52e4e --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +CFLAGS+=-I/usr/include/wireshark -DHAVE_STDARG_H -DHAVE_CONFIG_H -g +OBJECTS:=src/packet-isi.o src/plugin.o src/isi-simauth.o src/isi-gps.o + +PREFIX?=/usr +PLUGINDIR?=lib/wireshark/libwireshark0/plugins + +all: isi.so + +%.o: %.c + @echo "[CC] $<" + @$(CC) -o $@ $(CFLAGS) `pkg-config --cflags glib-2.0` -c -fPIC $< + +isi.so: $(OBJECTS) + @echo "[LD] $@" + @$(CC) -o $@ -shared -Wl,-soname,$@ $^ + +clean: + @rm -f isi.so src/*.o + +install: isi.so + install isi.so $(DESTDIR)${PREFIX}/${PLUGINDIR} + +.PHONEY: clean install -- cgit v1.2.3