symbian-qemu-0.9.1-12/model-libraries/nvmemmory/Makefile
author Mike Kinghan <mikek@symbian.org>
Wed, 04 Aug 2010 11:52:10 +0100
branchGCC_SURGE
changeset 94 c5cd29a4600d
permissions -rw-r--r--
Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
94
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
     1
# Copyright (c) 2010 Symbian Foundation.
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
     2
# All rights reserved.
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
     3
# This component and the accompanying materials are made available
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
     4
# under the terms of the License "Eclipse Public License v1.0"
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
     5
# which accompanies this distribution, and is available
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
     7
#
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
     8
# Initial Contributors:
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
     9
# Mike Kinghan, mikek@symbian.org, for Symbian Foundation - Initial contribution
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    10
# 
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    11
# Description:
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    12
# Toplevel Makefile to build libnvmemmory.so in either debug or release mode
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    13
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    14
.phony: all clean install distclean
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    15
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    16
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    17
# Ensure DEBUG_LIBS is defined to make a debug build
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    18
ifneq ($(DEBUG_LIBS),)
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    19
build_dir=Debug 
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    20
else
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    21
build_dir=Release 
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    22
endif
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    23
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    24
all clean install distclean:
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    25
	$(MAKE) -C $(build_dir) $@ -f ../target.mak
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    26
c5cd29a4600d Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.
Mike Kinghan <mikek@symbian.org>
parents:
diff changeset
    27