srctools/cmaker/src/functions.mk
author William Roberts <williamr@symbian.org>
Thu, 24 Jun 2010 14:23:13 +0100
changeset 598 0a541d1f13c3
parent 1 be27ed110b50
permissions -rw-r--r--
Clean up licenses and remove .bak files (cf changes 56dd7656a965 and 238f4cb8391f)

#
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of the License "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description:
# Actions that can be executed
#

# default action 
ACTION=export

ifeq ($(ACTION),what)
  PHONY_ACT = 1
  FUNCTION  = $(PRINT) "$@" 
endif
ifeq ($(ACTION),what_deps)
  PHONY_ACT = 1
  FUNCTION  = $(PRINT) "$<" "$@" 
endif
ifeq ($(ACTION),export)
  FUNCTION = $(COPY) "$<" "$@"
endif
ifeq ($(ACTION),clean)
  PHONY_ACT = 1
  FUNCTION = $(ERASE) "$@"
endif