Changeset 1727 for proto/gml2svg


Ignore:
Timestamp:
Nov 21, 2011, 6:50:32 PM (8 years ago)
Author:
ksherdy
Message:

Updated Xerces GML2SVG sample application.

Location:
proto/gml2svg/C
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • proto/gml2svg/C/intel/Readme

    r1708 r1727  
    1 Intel has discontinued the distribution of Intel XSS as a standalone library to the best of our knowledge.
     1To the best of our knowledge Intel has discontinued the distribution of Intel XSS as a standalone library.
  • proto/gml2svg/C/parabix/Makefile

    r1723 r1727  
    1313ifeq ($(ARCH),32)
    1414    AFLAGS=-march=pentium4
    15     PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib
     15    PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib lib/cclib/cc.cxx
    1616else
    1717    AFLAGS=-march=nocona -m64
    18     PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib
     18    PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib lib/cclib/cc.cxx
    1919endif
    2020
    2121LIBC=../../lib/C
    22 SRC=$(LIBC)/style_ext/style_ext.c $(LIBC)/gml2svg/util.cpp $(LIBC)/gml2svg/constants.cpp $(LIBC)/gml2svg/vancouver_constants.cpp lib/cclib/cc.cxx
    23 FLAGS=-DMORE -DMEMCPY_IO -DILAX_COORDS_TO_PATH #-DWORLD2SCREEN #-DSYSTEM_TIME #-DGML2SVG_DEBUG   
     22SRC=$(LIBC)/style_ext/style_ext.c $(LIBC)/gml2svg/util.cpp $(LIBC)/gml2svg/constants.cpp $(LIBC)/gml2svg/vancouver_constants.cpp
     23FLAGS=-DMEMCPY_IO -DWORLD2SCREEN -DDEFAULT_STYLE_EXT #-DILAX_COORDS_TO_PATH #-DSYSTEM_TIME #-DGML2SVG_DEBUG -DMORE   
    2424
    2525gml2svg:        gml2svg.cxx src/byteplex.h src/multiliteral.h src/engine.h\
     
    2828                src/bitplex.h src/bitplex.c src/xmlmodel.h src/xmlmodel.c\
    2929                src/bytelex.h src/charsets/ASCII_EBCDIC.h
    30         $(CC) -o gml2svg gml2svg.cxx $(SRC) $(AFLAGS) -I$(LIBC) $(FLAGS) # $(PAPI)
     30        $(CC) -o gml2svg gml2svg.cxx  $(SRC) $(AFLAGS) -I$(LIBC) $(FLAGS) $(PAPI)
    3131
    3232markup_stats:   markup_stats.cxx src/byteplex.h src/multiliteral.h src/engine.h\
  • proto/gml2svg/C/parabix/gml2svg.cxx

    r1723 r1727  
    1212        WORLD2SCREEN            - perform explicit GML world to SVG screen coordinates conversions, otherwise
    1313                                                  write raw source GML coordinate string to the output buffer with conversion performed
    14                                                   at the client side via the SVG scale() and translate() methods.
     14                                                  at the client side via the SVG scale() and translate() methods
     15
     16    MORE                                - use Parabix 'more' flag, this macro currently prevents directed WORLD2SCREEN conversion
    1517
    1618        NAIVE_FORMATTED_IO      - sprintf formatted IO, const char * constants written to output char * memory buffer (character array)
     
    2931        DIGIT_AND_HEX_ITEMS - generate Parabix digit and hex streams to allow the use of Parabix engine based GML2SVG coordinate conversion
    3032
    31         TIME                            - instrument gml2svg code
    32 
    3333        SYSTEM_TIME             - CPU based (clock_t) timing, results written to CSV,
    3434                              see http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_19.html#SEC310,
     
    3838
    3939        PAPI                            - CPU based (RDTSC, non-serializing), results written to CSV or XML
     40
     41        DEFAULT_STYLE_EXT   - Controls number of decimal digits in style_ext.h
    4042
    4143        -------------------------------
     
    133135
    134136#if defined(PAPI)
    135         #include "lib/cclib/cc.h"
     137        #include <cc.h>
    136138        CC * code_clocker;
    137139#endif
  • proto/gml2svg/C/xerces/Makefile

    r1720 r1727  
    22CFLAGS= -O3 #-fprofile-use
    33
    4 PAPI_DIR=/usr/local/papi
    5 LIB_DIR=../../lib/C
     4PAPI_DIR=/usr/local
    65
    76ARCH=$(shell getconf LONG_BIT)
    87ifeq ($(ARCH),32)
    98    AFLAGS=-march=pentium4
    10     PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -I$(LIB_DIR)/cc
     9    PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib lib/cclib/cc.cxx
    1110else
    1211    AFLAGS=-march=nocona -m64
    13     PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -I$(LIB_DIR)/cc
     12    PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib lib/cclib/cc.cxx
    1413endif
    1514
    16 INCLUDES=-I$(LIB_DIR)
    17 SRC=$(LIB_DIR)/style_ext/style_ext.c $(LIB_DIR)/gml2svg/util.cpp $(LIB_DIR)/gml2svg/constants.cpp $(LIB_DIR)/gml2svg/vancouver_constants.cpp
     15LIBC=../../lib/C
     16SRC=$(LIBC)/style_ext/style_ext.c $(LIBC)/gml2svg/util.cpp $(LIBC)/gml2svg/constants.cpp $(LIBC)/gml2svg/vancouver_constants.cpp
    1817XERCES_l=-L/usr/lib/
    1918XERCES_L=-lxerces-c-3.1
    20 FLAGS=-DMEMCPY_IO -DWORLD2SCREEN #-DSYSTEM_TIME -DGML2SVG_DEBUG
     19FLAGS=-DMEMCPY_IO -DWORLD2SCREEN -DDEFAULT_STYLE_EXT #-DSYSTEM_TIME -DGML2SVG_DEBUG
    2120
    2221all: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    23         $(CC) -o gml2svg gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) $(INCLUDES) $(XERCES_L) $(XERCES_l) $(FLAGS) # $(PAPI)
     22        $(CC) -o gml2svg gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) $(XERCES_L) $(XERCES_l) $(FLAGS) $(PAPI)
    2423       
    2524clean:
  • proto/gml2svg/C/xerces/gml2svg.cpp

    r1717 r1727  
    2626
    2727#if defined(PAPI)
    28         #include "cc.h"
     28        #include <cc.h>
    2929        CC * code_clocker;
    3030#endif
Note: See TracChangeset for help on using the changeset viewer.