Changeset 2450


Ignore:
Timestamp:
Oct 14, 2012, 5:08:30 PM (7 years ago)
Author:
ksherdy
Message:

Updated Makefile to reflect icXML paper test environment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/gml2svg/C/xerces/Makefile

    r1956 r2450  
    22CFLAGS= -O3 #-fprofile-use
    33
    4 PAPI_DIR=/usr/local
     4PAPI_DIR=/usr/local/papi
    55
    66ARCH=$(shell getconf LONG_BIT)
     
    1616SRC=$(LIBC)/style_ext/style_ext.c $(LIBC)/gml2svg/util.cpp $(LIBC)/gml2svg/constants.cpp $(LIBC)/gml2svg/vancouver_constants.cpp
    1717
     18#XERCES_2_8_BASE=/home/ksherdy/SW/xerces-c_2_8_0
    1819XERCES_2_8_BASE=/home/ksherdy/SW/xerces-c_2_8_0-x86-linux-gcc_3_4
    19 XERCES_2_8_L=-L$(XERCES_2_8_BASE)/lib/
    20 XERCES_2_8_l=-lxerces-c
    21 XERCES_2_8_I=-I$(XERCES_2_8_BASE)/include/
     20XERCES_2_8_L=$(XERCES_2_8_BASE)/lib/
     21XERCES_2_8_l=xerces-c
     22XERCES_2_8_I=$(XERCES_2_8_BASE)/include/
    2223
    2324#XERCES_3_1_1_BASE=/home/ksherdy/SW/xerces-c-3.1.1-x86-linux-gcc-3.4/
    24 XERCES_3_1_1_BASE=/home/ksherdy/Temp/xerces-c-3.1.1-x86_64-linux-gcc-3.4
    25 XERCES_3_1_1_L=-L$(XERCES_3_1_1_BASE)/lib/
    26 XERCES_3_1_1_l=-lxerces-c-3.1
    27 XERCES_3_1_1_I=-I$(XERCES_3_1_1_BASE)/include/
     25XERCES_3_1_1_BASE=/home/ksherdy/SW/xerces-c-3.1.1/src
     26#XERCES_3_1_1_BASE=/home/ksherdy/Temp/xerces-c-3.1.1-x86_64-linux-gcc-3.4
     27XERCES_3_1_1_L=$(XERCES_3_1_1_BASE)/.libs
     28XERCES_3_1_1_l=xerces-c-3.1
     29XERCES_3_1_1_I=$(XERCES_3_1_1_BASE)
    2830             
     31XERCES_ICX_BASE=/home/ksherdy/Development/icXML/svn/src/xerces/src
     32XERCES_ICX_L=$(XERCES_ICX_BASE)/.libs/
     33XERCES_ICX_l=xerces-c
     34XERCES_ICX_I=$(XERCES_ICX_BASE)/
    2935
    30 XERCES_ICX_BASE=/home/ksherdy/Temp/icxml/xerces-c-3.1.1/src
    31 XERCES_ICX_L=-L$(XERCES_ICX_BASE)/.libs/
    32 XERCES_ICX_l=-lxerces-c
    33 XERCES_ICX_I=-I$(XERCES_ICX_BASE)/
    34 
    35 FLAGS=-DMEMCPY_IO -DDEFAULT_STYLE_EXT #-DWORLD2SCREEN #-DSYSTEM_TIME -DGML2SVG_DEBUG
     36FLAGS=-DMEMCPY_IO #-DDEFAULT_STYLE_EXT -DWORLD2SCREEN -DSYSTEM_TIME -DGML2SVG_DEBUG
    3637
    3738xerces_2_8: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    38         $(CC) -o gml2svg_2_8 gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) $(XERCES_2_8_I) $(XERCES_2_8_L) $(XERCES_2_8_l) $(FLAGS) $(PAPI)
     39        $(CC) -o gml2svg_2_8 gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_2_8_I) -L$(XERCES_2_8_L) -l$(XERCES_2_8_l) $(FLAGS) $(PAPI)
     40        echo export LD_LIBRARY_PATH=$(XERCES_2_8_L)
    3941
    4042xerces_3_1_1: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    41         $(CC) -o gml2svg_3_1_1 gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) $(XERCES_3_1_1_I) $(XERCES_3_1_1_L) $(XERCES_3_1_1_l) $(FLAGS) -DSYSTEM_TIME #$(PAPI)
     43        $(CC) -o gml2svg_3_1_1 gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_3_1_1_I) -L$(XERCES_3_1_1_L) -l$(XERCES_3_1_1_l) $(FLAGS) $(PAPI) #-DSYSTEM_TIME
     44        echo export LD_LIBRARY_PATH=$(XERCES_3_1_1_L)
    4245
    4346xerces_icx: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    44         $(CC) -o gml2svg_icx gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) $(XERCES_ICX_I) $(XERCES_ICX_L) $(XERCES_ICX_l) $(FLAGS) -mstackrealign -DSYSTEM_TIME #$(PAPI)
     47        $(CC) -o gml2svg_icx gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_ICX_I) -L$(XERCES_ICX_L) -l$(XERCES_ICX_l) $(FLAGS) -mstackrealign $(PAPI) #-DSYSTEM_TIME 
     48        echo export LD_LIBRARY_PATH=$(XERCES_ICX_L)
    4549
    4650clean:
    4751        rm -f gml2svg_2_8 gml2svg_3_1_1 gml2svg_icx
     52
Note: See TracChangeset for help on using the changeset viewer.