You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
764 B

include config.mk
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 \
src/isi-sms.o \
src/isi-mtc.o \
src/isi-nameservice.o \
src/isi-radiosettings.o \
src/isi-phoneinfo.o \
src/isi-call.o \
src/isi-light.o \
src/isi-commgr.o \
src/isi-gpds.o \
src/isi-pipe.o \
src/isi-selftest.o
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: all clean install