Update contrib.
1 # Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
3 # This component and the accompanying materials are made available
4 # under the terms of "Eclipse Public License v1.0"
5 # which accompanies this distribution, and is available
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 # Initial Contributors:
9 # Nokia Corporation - initial contribution.
19 # To ensure that EPOCROOT always ends with a forward slash
20 TMPROOT:=$(subst \,/,$(EPOCROOT))
21 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
23 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
26 ifeq ($(PLATFORM),WINS)
27 TARGETDIR:=$(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/resource/printers
29 ifeq ($(PLATFORM),WINSCW)
30 TARGETDIR:=$(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/resource/printers
32 TARGETDIR:=$(EPOCROOT)epoc32/data/z/resource/printers
37 $(call createdir,"$(TARGETDIR)")
39 PDR=$(TARGETDIR)/$(PRINTER).pdr
41 $(PDR) : $(EXTENSION_ROOT)/../$(PRINTER_DIR)/$(PRINTER).PD
42 $(EPOCROOT)epoc32/tools/pdrtran "$?" "$@"
48 # The targets invoked by bld...
53 BLD : $(TARGETDIR) $(PDR)