apicompatanamdw/compatanalysercmd/headeranalyser/group/Makefile_SA
author shrivatsa
Mon, 27 Sep 2010 14:51:17 +0530
changeset 12 a0eee409ff14
permissions -rw-r--r--
Updates to CompatibilityAnalyser - The Tool should now work with Symbian^4 - Some minor bug fixes related to Qt headers in the Symbian Platform
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
     1
#
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
     2
# Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
     3
# All rights reserved.
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
     4
# This component and the accompanying materials are made available
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
     6
# which accompanies this distribution, and is available
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
     8
#
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
     9
# Initial Contributors:
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    11
#
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    12
# Contributors:
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    13
#
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    14
# Description: 
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    15
#
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    16
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    17
XERCESHOME = C:/Apps/xerces-c-src_2_7_0
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    18
BOOSTHOME = C:/APPS/boost_1_33_1
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    19
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    20
# All include directories must be listed here
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    21
# (normal GCC include directories, Xerces include directory, project's 
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    22
# include directory)
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    23
INCLUDES = -I $(INCLUDE) -I- -I$(XERCESHOME)/src -I$(BOOSTHOME) -I .
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    24
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    25
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    26
LINKOBJ  = ../obj/Analyser.o ../obj/BBCFileUtils.o ../obj/CommandFile.o ../obj/CommandLine.o ../obj/CPPParser.o ../obj/HAException.o ../obj/XMLStringConst.o ../obj/XMLModuleErrorHandler.o ../obj/Utils.o ../obj/XMLUtils.o ../obj/ReportGenerator.o ../obj/Issues.o ../obj/AnalyserParams.o ../obj/BBCAnalyser.o ../obj/HANodeIterator.o ../obj/ReportIssue.o ../obj/NodeIndex.o ../obj/MacroAnalyser.o ../obj/ha.o ../obj/NodeTypeComparator.o ../obj/PlatformData.o $(RES)
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    27
LIBS = -L$(XERCESHOME)/lib -lxerces-c $(BOOSTHOME)/lib/boost_thread-gcc-mt-1_33_1.lib
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    28
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    29
# External libraries
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    30
# (normal GCC libs, Xerces libraries [should be build-dependent whether 
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    31
# to use debug or release libs])
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    32
# LIBS = -lxerces-c-src_2_7_0 
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    33
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    34
#LIBS= -lpthread
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    35
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    36
XLIBS=-L$(XERCESHOME)/lib -lxerces-c -lxerces-depdom
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    37
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    38
# C++ interpreter / linker to use, and all the required switches (library dirs)
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    39
CC = g++
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    40
CFLAGS = $(INCLUDES) $(LIBS) -Wall -DNO_DBG -fpermissive
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    41
#CFLAGS = $(INCLUDES) $(LIBS) -ggdb -Wall -D_DEBUG -DDEBUG -DNO_DBG
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    42
XCFLAGS = $(INCLUDES) $(XLIBS) -Wall -DNO_DBG -fpermissive
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    43
#XCFLAGS = $(INCLUDES) $(XLIBS) -ggdb -Wall -D_DEBUG -DDEBUG -DNO_DBG
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    44
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    45
# default output is an executable file called "ha". See 
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    46
# test.cpp for functional description.
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    47
default: HeaderAnalyser
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    48
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    49
HeaderAnalyser: Analyser.o BBCFileUtils.o CommandFile.o CommandLine.o CPPParser.o HAException.o XMLStringConst.o XMLModuleErrorHandler.o Utils.o XMLUtils.o ReportGenerator.o Issues.o AnalyserParams.o BBCAnalyser.o HANodeIterator.o ReportIssue.o NodeIndex.o MacroAnalyser.o
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    50
	$(CC) Analyser.o BBCFileUtils.o CommandFile.o CommandLine.o CPPParser.o HAException.o XMLStringConst.o XMLModuleErrorHandler.o Utils.o XMLUtils.o ReportGenerator.o Issues.o AnalyserParams.o BBCAnalyser.o HANodeIterator.o ReportIssue.o NodeIndex.o MacroAnalyser.o $(XCFLAGS) -o ha 
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    51
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    52
BBCAnalyser.o: BBCAnalyser.h BBCAnalyser.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    53
	$(CC) $(CFLAGS) -c BBCAnalyser.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    54
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    55
BBCFileUtils.o: BBCFileUtils.cpp BBCFileUtils.h
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    56
	$(CC) $(CFLAGS) -c BBCFileUtils.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    57
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    58
Analyser.o: Analyser.cpp Analyser.h CPPParser.h CommandLine.h CmdGlobals.h CommandFile.h BBCFileUtils.h HAException.h
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    59
	$(CC) $(CFLAGS) -c Analyser.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    60
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    61
AnalyserParams.o: AnalyserParams.h AnalyserParams.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    62
	$(CC) $(CFLAGS) -c AnalyserParams.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    63
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    64
CommandFile.o: CommandFile.cpp CommandFile.h
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    65
	$(CC) $(CFLAGS) -c CommandFile.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    66
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    67
CommandLine.o: CommandLine.cpp CommandLine.h HAException.h CmdGlobals.h CommandFile.h
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    68
	$(CC) $(CFLAGS) -c CommandLine.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    69
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    70
CPPParser.o: CPPParser.cpp CPPParser.h XMLModuleErrorHandler.h HAException.h CmdGlobals.h
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    71
	$(CC) $(CFLAGS) -c CPPParser.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    72
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    73
HAException.o: HAException.cpp HAException.h
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    74
	$(CC) $(CFLAGS) -c HAException.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    75
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    76
XMLModuleErrorHandler.o: XMLModuleErrorHandler.cpp XMLModuleErrorHandler.h
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    77
	$(CC) $(CFLAGS) -c XMLModuleErrorHandler.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    78
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    79
Utils.o: Utils.cpp Utils.h
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    80
	$(CC) $(CFLAGS) -c Utils.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    81
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    82
ReportGenerator.o: ReportGenerator.h ReportGenerator.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    83
	$(CC) $(CFLAGS) -c ReportGenerator.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    84
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    85
XMLModule.o: XMLModule.h XMLModule.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    86
	$(CC) $(CFLAGS) -c XMLModule.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    87
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    88
XMLStringConst.o: XMLStringConst.h XMLStringConst.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    89
	$(CC) $(CFLAGS) -c XMLStringConst.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    90
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    91
XMLUtils.o: XMLUtils.h XMLUtils.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    92
	$(CC) $(CFLAGS) -c XMLUtils.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    93
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    94
Issues.o: Issues.h Issues.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    95
	$(CC) $(CFLAGS) -c Issues.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    96
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    97
ReportIssue.o: ReportIssue.h ReportIssue.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    98
	$(CC) $(CFLAGS) -c ReportIssue.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
    99
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
   100
HANodeIterator.o: HANodeIterator.h HANodeIterator.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
   101
	$(CC) $(CFLAGS) -c HANodeIterator.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
   102
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
   103
NodeIndex.o: NodeIndex.h NodeIndex.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
   104
	$(CC) $(CFLAGS) -c NodeIndex.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
   105
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
   106
MacroAnalyser.o: MacroAnalyser.h MacroAnalyser.cpp
a0eee409ff14 Updates to CompatibilityAnalyser
shrivatsa
parents:
diff changeset
   107
	$(CC) $(CFLAGS) -c MacroAnalyser.cpp