src/s60installs/deviceconfiguration/qtconfig.mk
changeset 30 5dc02b23752f
parent 23 89e065397ea6
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    21 
    21 
    22 # This variable is needed to do the 'cd' on Windows
    22 # This variable is needed to do the 'cd' on Windows
    23 CONFIGURE_ROOT := $(subst src\s60installs\deviceconfiguration,,$(EXTENSION_ROOT))
    23 CONFIGURE_ROOT := $(subst src\s60installs\deviceconfiguration,,$(EXTENSION_ROOT))
    24 
    24 
    25 
    25 
    26 TARGETDIR := $(EPOC_ROOT)$(INSTALLTOOLSPATH)
    26 TARGETDIR := $(EPOC_ROOT)$(INSTALLPATH)
    27 SOURCEDIR := $(QT_ROOT)bin/
    27 SOURCEDIR := $(QT_ROOT)bin/
    28 TARGET_TOOLS := $(EPOC_ROOT)$(QMAKEPATH)qmake$(DOTEXE) $(TARGETDIR)moc$(DOTEXE) $(TARGETDIR)rcc$(DOTEXE) $(TARGETDIR)uic$(DOTEXE)
    28 TARGET_TOOLS := $(EPOC_ROOT)$(QMAKEPATH)qmake$(DOTEXE) $(TARGETDIR)moc$(DOTEXE) $(TARGETDIR)rcc$(DOTEXE) $(TARGETDIR)uic$(DOTEXE) $(TARGETDIR)/lrelease$(DOTEXE)
    29 SOURCE_TOOLS := $(SOURCEDIR)qmake$(DOTEXE) $(SOURCEDIR)moc$(DOTEXE) $(SOURCEDIR)rcc$(DOTEXE) $(SOURCEDIR)uic$(DOTEXE)
    29 SOURCE_TOOLS := $(SOURCEDIR)qmake$(DOTEXE) $(SOURCEDIR)moc$(DOTEXE) $(SOURCEDIR)rcc$(DOTEXE) $(SOURCEDIR)uic$(DOTEXE)
    30 
    30 
    31 XPLATFORM:=symbian-abld
    31 XPLATFORM:=symbian-abld
    32 
    32 
    33 $(TARGETDIR):
    33 $(TARGETDIR):
    35 
    35 
    36 $(SOURCEDIR)qmake$(DOTEXE): $(QT_ROOT)configure$(DOTEXE)
    36 $(SOURCEDIR)qmake$(DOTEXE): $(QT_ROOT)configure$(DOTEXE)
    37 	echo Configuring Qt for build on $(CONF_PLATFORM) with $(XPLATFORM) as build setup
    37 	echo Configuring Qt for build on $(CONF_PLATFORM) with $(XPLATFORM) as build setup
    38 	cd $(CONFIGURE_ROOT) && set INCLUDE=  && set LIB=  && $(QT_ROOT)configure$(DOTEXE) -platform $(CONF_PLATFORM) -xplatform $(XPLATFORM) $(OPTIONS)
    38 	cd $(CONFIGURE_ROOT) && set INCLUDE=  && set LIB=  && $(QT_ROOT)configure$(DOTEXE) -platform $(CONF_PLATFORM) -xplatform $(XPLATFORM) $(OPTIONS)
    39 	perl $(QT_ROOT)/bin/syncqt -base-dir $(QT_ROOT) -copy -oneway -outdir $(EPOC_ROOT)epoc32/include/ -outsubdir mw
    39 	perl $(QT_ROOT)/bin/syncqt -base-dir $(QT_ROOT) -copy -oneway -outdir $(EPOC_ROOT)epoc32/include/ -outsubdir mw
    40 	$(COPY) $(EPOC_ROOT)epoc32/gcc_mingw/bin/mingwm10.dll $(EPOC_ROOT)$(INSTALLTOOLSPATH)mingwm10.dll
    40 	$(COPY) $(EPOC_ROOT)epoc32/gcc_mingw/bin/mingwm10.dll $(EPOC_ROOT)$(INSTALLPATH)mingwm10.dll
    41 	$(COPY) $(EPOC_ROOT)epoc32/gcc_mingw/bin/mingwm10.dll $(QT_ROOT)bin/mingwm10.dll
    41 	$(COPY) $(EPOC_ROOT)epoc32/gcc_mingw/bin/mingwm10.dll $(QT_ROOT)bin/mingwm10.dll
    42 	perl $(EPOCROOT)epoc32/tools/emkdir.pl $(EPOC_ROOT)epoc32/tools/qt/mkspecs
    42 	perl $(EPOCROOT)epoc32/tools/emkdir.pl $(EPOC_ROOT)epoc32/tools/qt/mkspecs
    43 	xcopy /s $(CONFIGURE_ROOT)\mkspecs $(EPOCROOT)epoc32\tools\qt\mkspecs
    43 	xcopy /s $(CONFIGURE_ROOT)\mkspecs $(EPOCROOT)epoc32\tools\qt\mkspecs
    44 	
    44 	
    45 $(TARGET_TOOLS): $(SOURCE_TOOLS)
    45 $(TARGET_TOOLS): $(SOURCE_TOOLS)