summaryrefslogtreecommitdiff
path: root/libopie2
authorar <ar>2004-08-20 17:46:51 (UTC)
committer ar <ar>2004-08-20 17:46:51 (UTC)
commitd24c046127088eb8c2af9612043aba70fae66af6 (patch) (side-by-side diff)
treeb36e077f1b5f2410e49162f1d96b231253ea1a20 /libopie2
parent59839a95f350cb0b48ca77e0390aee2c1a9b312b (diff)
downloadopie-d24c046127088eb8c2af9612043aba70fae66af6.zip
opie-d24c046127088eb8c2af9612043aba70fae66af6.tar.gz
opie-d24c046127088eb8c2af9612043aba70fae66af6.tar.bz2
- add libpcap dir to lib- and include directory
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opienet/miniwellenreiter/miniwellenreiter.pro8
-rw-r--r--libopie2/opienet/opienet.pro10
2 files changed, 15 insertions, 3 deletions
diff --git a/libopie2/examples/opienet/miniwellenreiter/miniwellenreiter.pro b/libopie2/examples/opienet/miniwellenreiter/miniwellenreiter.pro
index 5fccd30..fbbff27 100644
--- a/libopie2/examples/opienet/miniwellenreiter/miniwellenreiter.pro
+++ b/libopie2/examples/opienet/miniwellenreiter/miniwellenreiter.pro
@@ -1,5 +1,5 @@
TEMPLATE = app
-CONFIG = qt warn_on
+CONFIG = qt warn_on
HEADERS =
SOURCES = miniwellenreiter.cpp
INCLUDEPATH += $(OPIEDIR)/include
@@ -11,3 +11,9 @@ OBJECTS_DIR = obj
include ( $(OPIEDIR)/include.pro )
+!isEmpty( LIBPCAP_INC_DIR ) {
+ INCLUDEPATH = $$LIBPCAP_INC_DIR $$INCLUDEPATH
+}
+!isEmpty( LIBPCAP_LIB_DIR ) {
+ LIBS = -L$$LIBPCAP_LIB_DIR $$LIBS
+}
diff --git a/libopie2/opienet/opienet.pro b/libopie2/opienet/opienet.pro
index 4aef6c2..da062e4 100644
--- a/libopie2/opienet/opienet.pro
+++ b/libopie2/opienet/opienet.pro
@@ -1,5 +1,5 @@
TEMPLATE = lib
-CONFIG += qt warn_on
+CONFIG += qt warn_on
DESTDIR = $(OPIEDIR)/lib
HEADERS = 802_11_user.h \
dhcp.h \
@@ -29,6 +29,12 @@ LIBS += -lpcap
}
contains( platform, x11 ) {
- LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
+ LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
}
+!isEmpty( LIBPCAP_INC_DIR ) {
+ INCLUDEPATH = $$LIBPCAP_INC_DIR $$INCLUDEPATH
+}
+!isEmpty( LIBPCAP_LIB_DIR ) {
+ LIBS = -L$$LIBPCAP_LIB_DIR $$LIBS
+}