|
12
|
1 |
#
|
|
|
2 |
# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
|
3 |
# All rights reserved.
|
|
|
4 |
# This component and the accompanying materials are made available
|
|
|
5 |
# under the terms of the License "Eclipse Public License v1.0"
|
|
|
6 |
# which accompanies this distribution, and is available
|
|
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
|
8 |
#
|
|
|
9 |
# Initial Contributors:
|
|
|
10 |
# Nokia Corporation - initial contribution.
|
|
|
11 |
#
|
|
|
12 |
# Contributors:
|
|
|
13 |
#
|
|
|
14 |
# Description:
|
|
|
15 |
#
|
|
|
16 |
|
|
|
17 |
BOOSTHOME = C:\Apps\boost_1_33_1
|
|
|
18 |
XERCESHOME = C:\Apps\xerces-c-src_2_7_0
|
|
|
19 |
|
|
|
20 |
CPP = g++
|
|
|
21 |
CC = gcc
|
|
|
22 |
RES =
|
|
|
23 |
OBJ = ../obj/la.o ../obj/la_analysis.o ../obj/la_functionanalysis.o ../obj/la_getters.o ../obj/la_otherfunc.o ../obj/la_utils.o ../obj/static_mutex.o ../obj/w32_regex_traits.o ../obj/icu.o ../obj/wc_regex_traits.o ../obj/usinstances.o ../obj/cpp_regex_traits.o ../obj/regex_traits_defaults.o ../obj/wide_posix_api.o ../obj/posix_api.o ../obj/fileiter.o ../obj/cregex.o ../obj/c_regex_traits.o ../obj/winstances.o ../obj/regex_raw_buffer.o ../obj/regex_debug.o ../obj/regex.o ../obj/instances.o $(RES)
|
|
|
24 |
#LINKOBJ = ../obj/la.o ../obj/la_analysis.o ../obj/la_functionanalysis.o ../obj/la_getters.o ../obj/la_otherfunc.o ../obj/la_utils.o ../obj/static_mutex.o ../obj/w32_regex_traits.o ../obj/icu.o ../obj/wc_regex_traits.o ../obj/usinstances.o ../obj/cpp_regex_traits.o ../obj/regex_traits_defaults.o ../obj/wide_posix_api.o ../obj/posix_api.o ../obj/fileiter.o ../obj/cregex.o ../obj/c_regex_traits.o ../obj/winstances.o ../obj/regex_raw_buffer.o ../obj/regex_debug.o ../obj/regex.o ../obj/instances.o $(RES)
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
LIBS = -L$(XERCESHOME)/lib -lxerces-c
|
|
|
28 |
INCLUDES = -I../inc -I$(BOOSTHOME) -I$(XERCESHOME)/src -I../inc
|
|
|
29 |
CXXINCS = -I../inc -I$(BOOSTHOME) -I$(XERCESHOME)/src -I../inc
|
|
|
30 |
|
|
|
31 |
XLIBS=-L$(XERCESHOME)/lib -lxerces-c -lxerces-depdom
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
# C++ interpreter / linker to use, and all the required switches (library dirs)
|
|
|
36 |
CC = g++
|
|
|
37 |
CFLAGS = $(INCLUDES) $(LIBS) -Wall -DNO_DBG -fpermissive
|
|
|
38 |
#CFLAGS = $(INCLUDES) $(LIBS) -ggdb -Wall -D_DEBUG -DDEBUG -DNO_DBG
|
|
|
39 |
XCFLAGS = $(INCLUDES) $(XLIBS) -Wall -DNO_DBG -fpermissive
|
|
|
40 |
#XCFLAGS = $(INCLUDES) $(XLIBS) -ggdb -Wall -D_DEBUG -DDEBUG -DNO_DBG
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
default: LibraryAnalyser
|
|
|
44 |
|
|
|
45 |
LibraryAnalyser: la.o la_analysis.o la_functionanalysis.o la_getters.o la_otherfunc.o la_utils.o
|
|
|
46 |
$(CC) la.o la_analysis.o la_functionanalysis.o la_getters.o la_otherfunc.o la_utils.o $(XCFLAGS) -o la
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
la.o: la.cpp
|
|
|
51 |
$(CC) $(CFLAGS) -c la.cpp
|
|
|
52 |
|
|
|
53 |
la_analysis.o: la_analysis.cpp
|
|
|
54 |
$(CC) $(CFLAGS) -c la_analysis.cpp
|
|
|
55 |
|
|
|
56 |
la_otherfunc.o: la_otherfunc.cpp
|
|
|
57 |
$(CC) $(CFLAGS) -c la_otherfunc.cpp
|
|
|
58 |
|
|
|
59 |
la_functionanalysis.o: la_functionanalysis.cpp
|
|
|
60 |
$(CC) $(CFLAGS) -c la_functionanalysis.cpp
|
|
|
61 |
|
|
|
62 |
la_getters.o: la_getters.cpp
|
|
|
63 |
$(CC) $(CFLAGS) -c la_getters.cpp
|
|
|
64 |
|
|
|
65 |
la_utils.o: la_utils.cpp
|
|
|
66 |
$(CC) $(CFLAGS) -c la_utils.cpp
|
|
|
67 |
|
|
|
68 |
|