2008-02-27 20:34:43 -05:00
|
|
|
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
|
2008-11-21 07:26:11 -05:00
|
|
|
LIBS += -lws2_32 -static -mwindows
|
2008-02-27 20:34:43 -05:00
|
|
|
DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
|
|
|
|
SOURCES += ../../src/utils/os_win32.c
|
2008-11-21 06:58:12 -05:00
|
|
|
RESOURCES += icons_png.qrc
|
2008-12-20 10:50:13 -05:00
|
|
|
} else:win32-x-g++ {
|
|
|
|
# cross compilation to win32
|
|
|
|
LIBS += -lws2_32 -static -mwindows
|
|
|
|
DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
|
|
|
|
DEFINES += _X86_
|
|
|
|
SOURCES += ../../src/utils/os_win32.c
|
|
|
|
RESOURCES += icons_png.qrc
|
2008-02-27 20:34:43 -05:00
|
|
|
} else {
|
|
|
|
DEFINES += CONFIG_CTRL_IFACE_UNIX
|
|
|
|
SOURCES += ../../src/utils/os_unix.c
|
|
|
|
}
|
|
|
|
|
|
|
|
INCLUDEPATH += . .. ../../src/utils ../../src/common
|
|
|
|
|
|
|
|
HEADERS += wpamsg.h \
|
|
|
|
wpagui.h \
|
|
|
|
eventhistory.h \
|
|
|
|
scanresults.h \
|
|
|
|
userdatarequest.h \
|
2008-12-25 09:38:09 -05:00
|
|
|
networkconfig.h \
|
|
|
|
addinterface.h
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
SOURCES += main.cpp \
|
|
|
|
wpagui.cpp \
|
|
|
|
eventhistory.cpp \
|
|
|
|
scanresults.cpp \
|
|
|
|
userdatarequest.cpp \
|
|
|
|
networkconfig.cpp \
|
2008-12-25 09:38:09 -05:00
|
|
|
addinterface.cpp \
|
2008-02-27 20:34:43 -05:00
|
|
|
../../src/common/wpa_ctrl.c
|
|
|
|
|
2008-09-24 05:22:50 -04:00
|
|
|
RESOURCES += icons.qrc
|
|
|
|
|
2008-02-27 20:34:43 -05:00
|
|
|
FORMS = wpagui.ui \
|
|
|
|
eventhistory.ui \
|
|
|
|
scanresults.ui \
|
|
|
|
userdatarequest.ui \
|
|
|
|
networkconfig.ui
|
|
|
|
|
|
|
|
|
|
|
|
unix {
|
|
|
|
UI_DIR = .ui
|
|
|
|
MOC_DIR = .moc
|
|
|
|
OBJECTS_DIR = .obj
|
|
|
|
}
|