source: proto/gml2svg/C/xerces/Makefile @ 1703

Last change on this file since 1703 was 1703, checked in by ksherdy, 8 years ago

Added gml2svg prototypes.

  • Property svn:executable set to *
File size: 849 bytes
Line 
1CC= g++ $(CFLAGS)
2CFLAGS= -O3 #-fprofile-use
3
4PAPI_DIR=/usr/local/papi
5LIB_DIR=../../lib/C++
6
7ARCH=$(shell getconf LONG_BIT)
8ifeq ($(ARCH),32)
9    AFLAGS=-march=pentium4
10    PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -I$(LIB_DIR)/cc
11else
12    AFLAGS=-march=nocona -m64
13    PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -I$(LIB_DIR)/cc
14endif
15
16INCLUDES=-I$(LIB_DIR)
17SRC=$(LIB_DIR)/style_ext/style_ext.c $(LIB_DIR)/gml2svg/util.cpp $(LIB_DIR)/gml2svg/constants.cpp $(LIB_DIR)/gml2svg/vancouver_constants.cpp
18XERCES_L_DIR=-L/usr/lib/
19XERCES_l_DIR=-lxerces-c
20FLAGS=-DMEMCPY_IO -DWORLD2SCREEN #-DSYSTEM_TIME -DGML2SVG_DEBUG
21
22all: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
23        $(CC) -o gml2svg gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) $(INCLUDES) $(XERCES_L_DIR) $(XERCES_l_DIR) $(FLAGS) # $(PAPI)
24       
25clean:
26        rm -f gml2svg
Note: See TracBrowser for help on using the repository browser.