features/qtservice.mk
author Markku Kaurila <markku.kaurila@nokia.com>
Fri, 03 Sep 2010 15:27:00 +0100
changeset 2 81ad59d81c0f
parent 1 dfcc3fb3321d
child 5 603d3f8b6302
permissions -rw-r--r--
Revise header exports in contactsmodel.pro, to fix Bug 3312

do_nothing : ;

TMPROOT:=$(subst \,/,$(EPOCROOT))
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/

SFWTOOL=$(EPOCROOT)epoc32/tools/servicedbgen

#choose target database to deal with
ifeq ($(PLATFORM), WINSCW)
	QTSERVICE_TARGET:=-twinscw
else
ifeq ($(PLATFORM), ARMV5)
QTSERVICE_TARGET:=-tarmv5
else
	QTSERVICE_TARGET:=-tall
endif
endif

#Service descriptors are deployed to SFW private folder. As the builder may get invoked from elsewhere,
#we cannot use the path specified in the QTSERVICE_DESCRIPTOR option, so use the default path
DES_PATH=$(EPOCROOT)epoc32/data/z/private/2002AC7F/des/$(QTSERVICE_DESCRIPTOR)

FINAL: 
	@$(SFWTOOL) $(QTSERVICE_TARGET) $(QTSERVICE_INITIALIZE) add $(DES_PATH)

CLEAN: 
	@$(SFWTOOL) $(QTSERVICE_TARGET) $(QTSERVICE_INITIALIZE) remove $(DES_PATH)

MAKMAKE BLD SAVESPACE FREEZE LIB CLEANLIB RESOURCE RELEASABLES: do_nothing