mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 11:48:23 -05:00
90973fb2fd
This makes it clearer which files are including header from src/common. Some of these cases should probably be cleaned up in the future not to do that. In addition, src/common/nl80211_copy.h and wireless_copy.h were moved into src/drivers since they are only used by driver wrappers and do not need to live in src/common.
51 lines
974 B
Prolog
51 lines
974 B
Prolog
TEMPLATE = app
|
|
LANGUAGE = C++
|
|
|
|
CONFIG += qt warn_on release
|
|
|
|
DEFINES += CONFIG_CTRL_IFACE
|
|
|
|
win32 {
|
|
LIBS += -lws2_32 -static
|
|
DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
|
|
SOURCES += ../../src/utils/os_win32.c
|
|
} else:win32-g++ {
|
|
# cross compilation to win32
|
|
LIBS += -lws2_32 -static
|
|
DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
|
|
SOURCES += ../../src/utils/os_win32.c
|
|
} else {
|
|
DEFINES += CONFIG_CTRL_IFACE_UNIX
|
|
SOURCES += ../../src/utils/os_unix.c
|
|
}
|
|
|
|
INCLUDEPATH += . .. ../../src ../../src/utils
|
|
|
|
HEADERS += wpamsg.h
|
|
|
|
SOURCES += main.cpp \
|
|
../../src/common/wpa_ctrl.c
|
|
|
|
FORMS = wpagui.ui \
|
|
eventhistory.ui \
|
|
scanresults.ui \
|
|
userdatarequest.ui \
|
|
networkconfig.ui
|
|
|
|
|
|
unix {
|
|
UI_DIR = .ui
|
|
MOC_DIR = .moc
|
|
OBJECTS_DIR = .obj
|
|
}
|
|
|
|
qtver = $$[QT_VERSION]
|
|
isEmpty( qtver ) {
|
|
message(Compiling for Qt 3.x)
|
|
DEFINES += Q3ListViewItem=QListViewItem
|
|
} else {
|
|
message(Compiling for Qt $$qtver)
|
|
QT += qt3support
|
|
CONFIG += uic3
|
|
}
|