## qmake configuration for win32-g++## Written for MinGW#MAKEFILE_GENERATOR = MINGWTEMPLATE = appCONFIG += qt warn_on release link_prl copy_dir_files debug_and_release debug_and_release_target precompile_headerQT += core guiDEFINES += UNICODE QT_LARGEFILE_SUPPORTQMAKE_COMPILER_DEFINES += __GNUC__ WIN32QMAKE_EXT_OBJ = .oQMAKE_EXT_RES = _res.oQMAKE_CC = gccQMAKE_LEX = flexQMAKE_LEXFLAGS =QMAKE_YACC = byaccQMAKE_YACCFLAGS = -dQMAKE_CFLAGS =QMAKE_CFLAGS_DEPS = -MQMAKE_CFLAGS_WARN_ON = -WallQMAKE_CFLAGS_WARN_OFF = -wQMAKE_CFLAGS_RELEASE = -O2QMAKE_CFLAGS_DEBUG = -gQMAKE_CFLAGS_YACC = -Wno-unused -Wno-parenthesesQMAKE_CXX = g++QMAKE_CXXFLAGS = $$QMAKE_CFLAGSQMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPSQMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ONQMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFFQMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASEQMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUGQMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACCQMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREADQMAKE_CXXFLAGS_RTTI_ON = -frttiQMAKE_CXXFLAGS_RTTI_OFF = -fno-rttiQMAKE_CXXFLAGS_EXCEPTIONS_ON = -fexceptions -mthreadsQMAKE_CXXFLAGS_EXCEPTIONS_OFF = -fno-exceptionsQMAKE_INCDIR =QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $srcQMAKE_RUN_CC_IMP = $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $srcQMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<QMAKE_LINK = g++QMAKE_LINK_C = gccQMAKE_LFLAGS = -static -static-libgccQMAKE_LFLAGS_EXCEPTIONS_ON = -mthreadsQMAKE_LFLAGS_EXCEPTIONS_OFF =QMAKE_LFLAGS_RELEASE = -Wl,-sQMAKE_LFLAGS_DEBUG =QMAKE_LFLAGS_CONSOLE = -Wl,-subsystem,consoleQMAKE_LFLAGS_WINDOWS = -Wl,-subsystem,windowsQMAKE_LFLAGS_DLL = -sharedQMAKE_LINK_OBJECT_MAX = 10QMAKE_LINK_OBJECT_SCRIPT= object_scriptQMAKE_PREFIX_STATICLIB = libQMAKE_EXTENSION_STATICLIB = aQMAKE_LIBS =QMAKE_LIBS_CORE = -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32QMAKE_LIBS_GUI = -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lws2_32 -lole32 -luuid -luser32 -ladvapi32QMAKE_LIBS_NETWORK = -lws2_32QMAKE_LIBS_OPENGL = -lglu32 -lopengl32 -lgdi32 -luser32QMAKE_LIBS_COMPAT = -ladvapi32 -lshell32 -lcomdlg32 -luser32 -lgdi32 -lws2_32QMAKE_LIBS_QT_ENTRY = -lmingw32 -lqtmain!isEmpty(QMAKE_SH) { MINGW_IN_SHELL = 1 QMAKE_DIR_SEP = / QMAKE_QMAKE ~= s,\\\\,/, QMAKE_COPY = cp QMAKE_COPY_DIR = cp -r QMAKE_MOVE = mv QMAKE_DEL_FILE = rm QMAKE_MKDIR = mkdir -p QMAKE_DEL_DIR = rmdir QMAKE_CHK_DIR_EXISTS = test -d} else { QMAKE_COPY = copy /y QMAKE_COPY_DIR = xcopy /s /q /y /i QMAKE_MOVE = move QMAKE_DEL_FILE = del QMAKE_MKDIR = mkdir QMAKE_DEL_DIR = rmdir QMAKE_CHK_DIR_EXISTS = if not exist}QMAKE_MOC = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}moc.exeQMAKE_UIC = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}uic.exeQMAKE_IDC = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}idc.exeQMAKE_IDL = midlQMAKE_LIB = ar -ruQMAKE_RC = windresQMAKE_ZIP = zip -r -9QMAKE_STRIP = stripQMAKE_STRIPFLAGS_LIB += --strip-unneededload(qt_config)
configure -opensource ^-nomake examples -nomake demos -nomake tools -release ^-declarative -no-qt3support -no-phonon -qt-zlib -qt-libpng -qt-libjpeg ^-no-phonon-backend -no-s60 -fast -no-webkit -no-exceptions ^-qt-sql-sqlite -openssl-linked OPENSSL_LIBS="-llibssl -llibcrypto" ^-static -platform win32-g++