symbian-qemu-0.9.1-12/model-libraries/syborg-graphicswrapper/Makefile
author Gareth Stockwell <gareth.stockwell@accenture.com>
Tue, 14 Sep 2010 17:21:05 +0100
branchgraphics-phase-3
changeset 109 ae83407e7b6a
permissions -rw-r--r--
Added Makefile for building syborg-graphicswrapper using GCC At present the build fails due to the following missing headers: KhronosAPIWrapper.h VirtualVideoInterfaceConstants.h platformthreading.h protocol_MGraphicsVHWCallback.h
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
109
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     1
# Copyright (c) 2010 Symbian Foundation.
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     2
# All rights reserved.
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     3
# This component and the accompanying materials are made available
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     4
# under the terms of the License "Eclipse Public License v1.0"
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     5
# which accompanies this distribution, and is available
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     7
#
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     8
# Description:
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     9
# Toplevel Makefile to build syborg-graphicswrapper library in either debug or release mode
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    10
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    11
.phony: all clean install distclean
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    12
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    13
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    14
# Ensure DEBUG_LIBS is defined to make a debug build
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    15
ifneq ($(DEBUG_LIBS),)
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    16
build_dir=Debug 
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    17
else
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    18
build_dir=Release 
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    19
endif
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    20
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    21
all clean install distclean:
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    22
	$(MAKE) -C $(build_dir) $@ -f ../target.mak
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    23
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    24