update the build system

master
Sebastian Reichel 12 years ago
parent 4ddb2e8a07
commit 33854ae449

@ -1,8 +1,7 @@
CFLAGS+=-I/usr/include/wireshark -DHAVE_STDARG_H -DHAVE_CONFIG_H -g
OBJECTS:=src/packet-isi.o src/plugin.o src/isi-sim.o src/isi-simauth.o src/isi-network.o src/isi-gps.o
include config.mk
PREFIX?=/usr
PLUGINDIR?=lib/wireshark/libwireshark0/plugins
CFLAGS+=-I${WIRESHARKDIR} -DHAVE_STDARG_H -DHAVE_CONFIG_H -g
OBJECTS:=src/packet-isi.o src/plugin.o src/isi-sim.o src/isi-simauth.o src/isi-network.o src/isi-gps.o src/isi-ss.o src/isi-gss.o
all: isi.so
@ -20,4 +19,4 @@ clean:
install: isi.so
install isi.so $(DESTDIR)${PREFIX}/${PLUGINDIR}
.PHONEY: clean install
.PHONEY: all clean install

@ -0,0 +1,5 @@
#use this to compile with USB support
#CFLAGS?=-DISI_USB
PREFIX?=/usr
PLUGINDIR?=lib/wireshark/libwireshark0/plugins
WIRESHARKDIR?=/usr/include/wireshark
Loading…
Cancel
Save