Changeset 2851 for proto/gml2svg


Ignore:
Timestamp:
Jan 26, 2013, 7:40:28 PM (7 years ago)
Author:
cameron
Message:

Static linking of xerces/icx library for gml2svg versions

File:
1 edited

Legend:

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

    r2845 r2851  
    1818SRC=$(LIBC)/style_ext/style_ext.c $(LIBC)/gml2svg/util.cpp $(LIBC)/gml2svg/constants.cpp $(LIBC)/gml2svg/vancouver_constants.cpp
    1919
    20 #XERCES_2_8_BASE=/home/ksherdy/SW/xerces-c_2_8_0
    21 XERCES_2_8_BASE=/home/ksherdy/SW/xerces-c_2_8_0-x86-linux-gcc_3_4
    22 XERCES_2_8_L=$(XERCES_2_8_BASE)/lib/
    23 XERCES_2_8_l=xerces-c
    24 XERCES_2_8_I=$(XERCES_2_8_BASE)/include/
     20HOME_DIR=$(shell cd;pwd)
    2521
    26 XERCES_3_1_1_BASE=/home/ksherdy/Temp/xerces-c-3.1.1/src
     22XERCES_3_1_1_BASE=$(HOME_DIR)/xerces-c-3.1.1/src
    2723XERCES_3_1_1_L=$(XERCES_3_1_1_BASE)/.libs
    28 XERCES_3_1_1_l=xerces-c-3.1
     24XERCES_3_1_1_l=xerces-c
    2925XERCES_3_1_1_I=$(XERCES_3_1_1_BASE)/
    3026     
    31 XERCES_ICX_BASE=/home/ksherdy/Temp/icxml/xerces/src
     27XERCES_ICX_BASE=$(HOME_DIR)/icxml/src/xerces/src
    3228XERCES_ICX_L=$(XERCES_ICX_BASE)/.libs/
    3329XERCES_ICX_l=xerces-c
    3430XERCES_ICX_I=$(XERCES_ICX_BASE)/
    3531
    36 XERCES_ICX_PIPELINE_BASE=/home/ksherdy/Temp/picxml/src-pipeline/xerces/src
     32XERCES_ICX_PIPELINE_BASE=$(HOME_DIR)/icxml/branches/src-pipeline/xerces/src
    3733XERCES_ICX_PIPELINE_L=$(XERCES_ICX_PIPELINE_BASE)/.libs/
    3834XERCES_ICX_PIPELINE_l=xerces-c
     
    4036
    4137FLAGS=-DMEMCPY_IO #-DTARE_TIME #-DGML2SVG_DEBUG  #-DTARE_TIME #-DDEFAULT_STYLE_EXT -DWORLD2SCREEN -DSYSTEM_TIME
    42 xerces_2_8: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    43         $(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) -Ilib/perflib $(PAPI)
    44         echo export LD_LIBRARY_PATH=$(XERCES_2_8_L)
    4538
    4639xerces_3_1_1: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    47         $(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) -Ilib/perflib $(PAPI) #-DSYSTEM_TIME
    48         echo export LD_LIBRARY_PATH=$(XERCES_3_1_1_L)
     40        $(CC) -o gml2svg_3_1_1 gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_3_1_1_I)  -lpthread -Wl,-Bstatic -L$(XERCES_3_1_1_L)  -l$(XERCES_3_1_1_l) -Wl,-Bdynamic $(FLAGS) -Ilib/perflib $(PAPI) #-DSYSTEM_TIME
    4941
    5042xerces_icx: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    51         $(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 -Ilib/perflib $(PAPI) #-DSYSTEM_TIME
    52         echo export LD_LIBRARY_PATH=$(XERCES_ICX_L)
     43        $(CC) -o gml2svg_icx gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_ICX_I)  -lpthread -Wl,-Bstatic -L$(XERCES_ICX_L)  -l$(XERCES_ICX_l) -Wl,-Bdynamic $(FLAGS) -mstackrealign -Ilib/perflib $(PAPI) #-DSYSTEM_TIME
    5344
    5445xerces_icx_pipeline: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    55         $(CC) -o gml2svg_icx_pipeline gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_ICX_PIPELINE_I) -L$(XERCES_ICX_PIPELINE_L) -l$(XERCES_ICX_PIPELINE_l) $(FLAGS) -lpthread -mstackrealign -Ilib/perflib $(PAPI) #-DSYSTEM_TIME
    56         echo export LD_LIBRARY_PATH=$(XERCES_ICX_PIPELINE_L)
     46        $(CC) -o gml2svg_icx_pipeline gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_ICX_PIPELINE_I) -Wl,-Bstatic -L$(XERCES_ICX_PIPELINE_L)  -l$(XERCES_ICX_PIPELINE_l) -Wl,-Bdynamic $(FLAGS) -lpthread -mstackrealign -Ilib/perflib $(PAPI) #-DSYSTEM_TIME
    5747
    5848clean:
Note: See TracChangeset for help on using the changeset viewer.