QMAKE_EXT_OBJ = .o
QMAKE_EXT_RES = _res.o
-QMAKE_CC = ../../../cross-tools/mingw32/bin/mingw32-gcc
+QMAKE_CC = $(DEPKGS)/cross-tools/mingw32/bin/mingw32-gcc
QMAKE_LEX = flex
QMAKE_LEXFLAGS =
QMAKE_YACC = byacc
QMAKE_CFLAGS_DEBUG = -g
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
-QMAKE_CXX = ../../../cross-tools/mingw32/bin/mingw32-g++
+QMAKE_CXX = $(DEPKGS)/cross-tools/mingw32/bin/mingw32-g++
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DHAVE_MINGW -DHAVE_WIN32 -DHAVE_ZLIB_H -DHAVE_LIBZ -DHAVE_CRYPTO -DHAVE_OPENSSL -DHAVE_TLS
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
QMAKE_CXXFLAGS_EXCEPTIONS_ON = -fexceptions -mthreads
QMAKE_CXXFLAGS_EXCEPTIONS_OFF = -fno-exceptions
-QMAKE_INCDIR = ../../../depkgs-mingw32/include/pthreads ../../../depkgs-mingw32/include/ ../win32/compat
-QMAKE_INCDIR_QT = ../../../depkgs-mingw32/include/qt
-QMAKE_LIBDIR_QT = ../../../depkgs-mingw32/lib/qt
+QMAKE_INCDIR = $(DEPKGS)/depkgs-mingw32/include/pthreads $(DEPKGS)/depkgs-mingw32/include/ ../win32/compat
+QMAKE_INCDIR_QT = $(DEPKGS)/depkgs-mingw32/include/qt
+QMAKE_LIBDIR_QT = $(DEPKGS)/depkgs-mingw32/lib/qt
QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $src
QMAKE_RUN_CC_IMP = $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src
QMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
-QMAKE_LINK = ../../../cross-tools/mingw32/bin/mingw32-g++
+QMAKE_LINK = $(DEPKGS)/cross-tools/mingw32/bin/mingw32-g++
QMAKE_LFLAGS = -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -mno-cygwin -m32 -fno-strict-aliasing -Wl,-enable-runtime-pseudo-reloc
QMAKE_LFLAGS_EXCEPTIONS_ON = -mthreads -Wl
QMAKE_IDC = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}idc
QMAKE_IDL = midl
-QMAKE_LIB = ../../../cross-tools/mingw32/bin/mingw32-ar -ru
-QMAKE_RC = ../../../cross-tools/mingw32/bin/mingw32-windres
+QMAKE_LIB = $(DEPKGS)/cross-tools/mingw32/bin/mingw32-ar -ru
+QMAKE_RC = $(DEPKGS)/cross-tools/mingw32/bin/mingw32-windres
QMAKE_ZIP = zip -r -9
-QMAKE_STRIP = ../../../cross-tools/mingw32/bin/mingw32-strip
+QMAKE_STRIP = $(DEPKGS)/cross-tools/mingw32/bin/mingw32-strip
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
load(qt_config)