summaryrefslogtreecommitdiffstats
path: root/kismet-dect-v2/Makefile
diff options
context:
space:
mode:
authordragorn <dragorn@8d8ab74c-27aa-4a3d-9bde-523a2bc1f624>2009-11-21 22:35:05 +0000
committerdragorn <dragorn@8d8ab74c-27aa-4a3d-9bde-523a2bc1f624>2009-11-21 22:35:05 +0000
commit9d6689fd9220351c2f6c1b1da54b721576aca424 (patch)
treece1027fc775005fbda683cbd31327131d2e5177a /kismet-dect-v2/Makefile
parentdfcf4093f33ed270b335a9868db3ff806e729670 (diff)
Add updated dect client plugin - note does NOT currently work with the new dect
server plugin! Added 'scandect' pcap log type logging dect_data_scan_t to EN10MB wrapped packets Disabled callpcap logging until reworked to fit per-call logging git-svn-id: https://dedected.org/svn/trunk@95 8d8ab74c-27aa-4a3d-9bde-523a2bc1f624
Diffstat (limited to 'kismet-dect-v2/Makefile')
-rw-r--r--kismet-dect-v2/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/kismet-dect-v2/Makefile b/kismet-dect-v2/Makefile
index 6afe87b..ce9e5de 100644
--- a/kismet-dect-v2/Makefile
+++ b/kismet-dect-v2/Makefile
@@ -15,18 +15,27 @@ CFLAGS += -I/usr/include -I$(KIS_INC_DIR) -g -fPIC
SRVOBJS = packetsource_dect.o tracker_dect.o kismet_dect.o
SRVOUT = dedected.so
-all: $(SRVOUT)
+CLIOBJS = dect_client.o
+CLIOUT = dect_client.so
+
+all: $(SRVOUT) $(CLIOUT)
$(SRVOUT): $(SRVOBJS)
$(LD) $(PLUGINLDFLAGS) $(SRVOBJS) -o $(SRVOUT) $(LIBS)
-install: $(SRVOUT)
+$(CLIOUT): $(CLIOBJS)
+ $(LD) $(PLUGINLDFLAGS) $(CLIOBJS) -o $(CLIOUT) $(LIBS)
+
+install: $(SRVOUT) $(CLIOUT)
mkdir -p $(DESTDIR)$(prefix)/lib/kismet/
install -o $(INSTUSR) -g $(INSTGRP) -m 644 $(SRVOUT) $(DESTDIR)$(prefix)/lib/kismet/$(SRVOUT)
+ mkdir -p $(DESTDIR)$(prefix)/lib/kismet_client/
+ install -o $(INSTUSR) -g $(INSTGRP) -m 644 $(CLIOUT) $(DESTDIR)$(prefix)/lib/kismet_client/$(CLIOUT)
-userinstall: $(SRVOUT)
+userinstall: $(SRVOUT) $(CLIOUT)
mkdir -p ${HOME}/.kismet/plugins/
install -v $(SRVOUT) ${HOME}/.kismet/plugins/$(SRVOUT)
+ install -v -D $(CLIOUT) ${HOME}/.kismet/client_plugins/$(CLIOUT)
clean:
@-rm -f *.o