Home | History | Annotate | Line # | Download | only in wpa_gui-qt4
      1      1.1  christos TEMPLATE	= app
      2      1.1  christos LANGUAGE	= C++
      3      1.1  christos TRANSLATIONS	= lang/wpa_gui_de.ts
      4  1.1.1.4  christos greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
      5      1.1  christos 
      6      1.1  christos CONFIG	+= qt warn_on release
      7      1.1  christos 
      8      1.1  christos DEFINES += CONFIG_CTRL_IFACE
      9      1.1  christos 
     10      1.1  christos win32 {
     11      1.1  christos   LIBS += -lws2_32 -static
     12      1.1  christos   DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
     13      1.1  christos   SOURCES += ../../src/utils/os_win32.c
     14      1.1  christos } else:win32-g++ {
     15      1.1  christos   # cross compilation to win32
     16      1.1  christos   LIBS += -lws2_32 -static -mwindows
     17      1.1  christos   DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
     18      1.1  christos   SOURCES += ../../src/utils/os_win32.c
     19      1.1  christos   RESOURCES += icons_png.qrc
     20      1.1  christos } else:win32-x-g++ {
     21      1.1  christos   # cross compilation to win32
     22      1.1  christos   LIBS += -lws2_32 -static -mwindows
     23      1.1  christos   DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
     24      1.1  christos   DEFINES += _X86_
     25      1.1  christos   SOURCES += ../../src/utils/os_win32.c
     26      1.1  christos   RESOURCES += icons_png.qrc
     27      1.1  christos } else {
     28      1.1  christos   DEFINES += CONFIG_CTRL_IFACE_UNIX
     29      1.1  christos   SOURCES += ../../src/utils/os_unix.c
     30      1.1  christos }
     31      1.1  christos 
     32      1.1  christos INCLUDEPATH	+= . .. ../../src ../../src/utils
     33      1.1  christos 
     34      1.1  christos HEADERS	+= wpamsg.h \
     35      1.1  christos 	wpagui.h \
     36      1.1  christos 	eventhistory.h \
     37      1.1  christos 	scanresults.h \
     38  1.1.1.3  christos 	scanresultsitem.h \
     39  1.1.1.2  christos 	signalbar.h \
     40      1.1  christos 	userdatarequest.h \
     41      1.1  christos 	networkconfig.h \
     42      1.1  christos 	addinterface.h \
     43      1.1  christos 	peers.h \
     44      1.1  christos 	stringquery.h
     45      1.1  christos 
     46      1.1  christos SOURCES	+= main.cpp \
     47      1.1  christos 	wpagui.cpp \
     48      1.1  christos 	eventhistory.cpp \
     49      1.1  christos 	scanresults.cpp \
     50  1.1.1.3  christos 	scanresultsitem.cpp \
     51  1.1.1.2  christos 	signalbar.cpp \
     52      1.1  christos 	userdatarequest.cpp \
     53      1.1  christos 	networkconfig.cpp \
     54      1.1  christos 	addinterface.cpp \
     55      1.1  christos 	peers.cpp \
     56      1.1  christos 	stringquery.cpp \
     57      1.1  christos 	../../src/common/wpa_ctrl.c
     58      1.1  christos 
     59      1.1  christos RESOURCES += icons.qrc
     60      1.1  christos 
     61      1.1  christos FORMS	= wpagui.ui \
     62      1.1  christos 	eventhistory.ui \
     63      1.1  christos 	scanresults.ui \
     64      1.1  christos 	userdatarequest.ui \
     65      1.1  christos 	networkconfig.ui \
     66      1.1  christos 	peers.ui
     67      1.1  christos 
     68      1.1  christos 
     69      1.1  christos unix {
     70      1.1  christos   UI_DIR = .ui
     71      1.1  christos   MOC_DIR = .moc
     72      1.1  christos   OBJECTS_DIR = .obj
     73      1.1  christos }
     74