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