Changeset 691 for trunk/src/Makefile.am

Show
Ignore:
Timestamp:
04/06/08 14:13:13 (9 months ago)
Author:
andreas
Message:

- updated autotools build files
- build now osm plugin automatic if libxml2 is used
- moved osm/Makefile to osm/Makefile.example because if name collision

-> better move the example to another directory later

- optional CAIRO support
- changed libxml2 switch comment

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.am

    r647 r691  
    33## Created by Anjuta 
    44 
    5 INCLUDES = \ 
    6         -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ 
    7         -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \ 
    8         -DPACKAGE_DATA_DIR=\""$(datadir)"\" 
     5INCLUDES =  
    96 
    107AM_CXXFLAGS =\ 
    11          -Wall \ 
    12    -g 
     8         -Wall  
    139 
    1410lib_LTLIBRARIES = \ 
     
    1713if HAVE_LIBXML2 
    1814libxml2_src = \ 
    19   libxml2_loader.cpp 
     15        libxml2_loader.cpp 
    2016endif 
     17 
     18if HAVE_CAIRO 
     19cairo_src = \ 
     20        cairo_renderer.cpp  
     21endif 
     22 
    2123 
    2224libmapnik_la_SOURCES = \ 
    2325        agg_renderer.cpp \ 
    2426        arrow.cpp \ 
     27        ${cairo_src} \ 
    2528        datasource_cache.cpp \ 
    2629        distance.cpp \ 
     
    6972        ${PROJ_LIBS} \ 
    7073        ${LTDL_LIBS} \ 
    71         ${LIBXML2_LIBS} 
     74        ${LIBXML2_LIBS} \ 
     75        ${CAIRO_LIBS} 
    7276 
    7377libmapnik_la_CXXFLAGS = \ 
     
    8185        ${LTDL_CFLAGS} \ 
    8286        ${BOOST_CPPFLAGS} \ 
    83         ${LIBXML2_CFLAGS} 
     87        ${LIBXML2_CFLAGS} \ 
     88        ${CAIRO_CFLAGS} 
    8489         
    8590