source: trunk/PerfTest/intel_markup_stats/Makefile @ 192

Last change on this file since 192 was 192, checked in by ksherdy, 11 years ago

Updated PerfTest? Makefiles to autodetect 32 vs. 64 bit architecture on Intel.
Initial Intel Markup Stats check in.
Renamed Xerces-C files names to be Xerces-C specific.

File size: 899 bytes
Line 
1CC=g++
2CFLAGS=-O3 #-fprofile-use
3
4ARCH=$(shell getconf LONG_BIT)
5ifeq ($(ARCH),32)
6    AFLAGS=-march=pentium4
7    LIBS=-L/opt/intel/xmlsoftwaresuite/cpp/1.0/bin/ia32
8    PAPI=-DPAPI -I/usr/local/papi-3.5.0-linux-x86/include -L/usr/local/papi-3.5.0-linux-x86/lib -lpapi     
9else
10    AFLAGS=-march=nocona -m64
11    LIBS=-L/opt/intel/xmlsoftwaresuite/cpp/1.0/bin/intel64
12    PAPI=-DPAPI -I/usr/local/papi-3.5.0-linux-x86/include -L/usr/local/papi-3.5.0-linux-x86/lib64 -lpapi     
13endif
14
15INCLUDES=-I/opt/intel/xmlsoftwaresuite/cpp/1.0
16OBJECTS=
17LINKS=-lintel-xss -lpthread
18       
19intel_markup_stats_64:  intel_markup_stats.hpp intel_markup_stats.cpp intel_markup_stats_handler.hpp intel_markup_stats_handler.cpp
20        $(CC) $(CFLAGS) -o intel_markup_stats intel_markup_stats.cpp intel_markup_stats_handler.cpp -DCALC_AVG $(AFLAGS) $(INCLUDES) $(OBJECTS) $(LIBS) $(LINKS) $(PAPI)       
21       
22clean:
23        rm -f intel_markup_stats
Note: See TracBrowser for help on using the repository browser.