author | ar <ar> | 2004-08-20 17:46:51 (UTC) |
---|---|---|
committer | ar <ar> | 2004-08-20 17:46:51 (UTC) |
commit | d24c046127088eb8c2af9612043aba70fae66af6 (patch) (side-by-side diff) | |
tree | b36e077f1b5f2410e49162f1d96b231253ea1a20 /noncore | |
parent | 59839a95f350cb0b48ca77e0390aee2c1a9b312b (diff) | |
download | opie-d24c046127088eb8c2af9612043aba70fae66af6.zip opie-d24c046127088eb8c2af9612043aba70fae66af6.tar.gz opie-d24c046127088eb8c2af9612043aba70fae66af6.tar.bz2 |
- add libpcap dir to lib- and include directory
-rw-r--r-- | noncore/net/wellenreiter/gui/gui.pro | 8 | ||||
-rw-r--r-- | noncore/settings/networksettings/wlan/wlan.pro | 9 |
2 files changed, 15 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/gui/gui.pro b/noncore/net/wellenreiter/gui/gui.pro index 93d42ed..f773cf3 100644 --- a/noncore/net/wellenreiter/gui/gui.pro +++ b/noncore/net/wellenreiter/gui/gui.pro @@ -1,6 +1,6 @@ DESTDIR = $(OPIEDIR)/bin TEMPLATE = app -CONFIG = qt warn_on +CONFIG = qt warn_on HEADERS = wellenreiterbase.h \ mainwindow.h \ @@ -47,3 +47,9 @@ contains( platform, x11 ) { DESTDIR = $(OPIEDIR)/output/bin } +!isEmpty( LIBPCAP_INC_DIR ) { + INCLUDEPATH = $$LIBPCAP_INC_DIR $$INCLUDEPATH +} +!isEmpty( LIBPCAP_LIB_DIR ) { + LIBS = -L$$LIBPCAP_LIB_DIR $$LIBS +} diff --git a/noncore/settings/networksettings/wlan/wlan.pro b/noncore/settings/networksettings/wlan/wlan.pro index c94dc0e..c04d2c0 100644 --- a/noncore/settings/networksettings/wlan/wlan.pro +++ b/noncore/settings/networksettings/wlan/wlan.pro @@ -1,5 +1,5 @@ TEMPLATE = lib -CONFIG += qt plugin warn_on +CONFIG += qt plugin warn_on DESTDIR = $(OPIEDIR)/plugins/networksettings HEADERS = infoimp.h wlanmodule.h wextensions.h keyedit.h SOURCES = infoimp.cpp wlanmodule.cpp wextensions.cpp keyedit.cpp @@ -23,3 +23,10 @@ wirelessopts { } include ( $(OPIEDIR)/include.pro ) + +!isEmpty( LIBPCAP_INC_DIR ) { + INCLUDEPATH = $$LIBPCAP_INC_DIR $$INCLUDEPATH +} +!isEmpty( LIBPCAP_LIB_DIR ) { + LIBS = -L$$LIBPCAP_LIB_DIR $$LIBS +} |