~ubuntu-branches/ubuntu/precise/graphviz/precise-security

« back to all changes in this revision

Viewing changes to plugin/lasi/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): David Claughton
  • Date: 2010-03-24 22:45:18 UTC
  • mfrom: (1.2.7 upstream) (6.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100324224518-do441tthbqjaqjzd
Tags: 2.26.3-4
Add patch to fix segfault in circo. Backported from upstream snapshot
release.  Thanks to Francis Russell for his work on this.
(Closes: #575255)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: Makefile.am,v 1.8 2009/06/03 01:10:57 ellson Exp $ $Revision: 1.8 $
 
2
## Process this file with automake to produce Makefile.in
 
3
 
 
4
if WITH_CGRAPH
 
5
GRAPH = cgraph
 
6
else
 
7
GRAPH = graph
 
8
endif
 
9
 
 
10
AM_CPPFLAGS = \
 
11
        -I$(top_srcdir) \
 
12
        -I$(top_srcdir)/lib/common \
 
13
        -I$(top_srcdir)/lib/pathplan \
 
14
        -I$(top_srcdir)/lib/gvc \
 
15
        -I$(top_srcdir)/lib/$(GRAPH) \
 
16
        -I$(top_srcdir)/lib/cdt \
 
17
        $(LASI_CFLAGS) $(PANGOCAIRO_CFLAGS) $(FREETYPE2_CFLAGS) $(LIBGVC_CFLAGS)
 
18
 
 
19
if WITH_LASI
 
20
if WITH_PANGOCAIRO
 
21
noinst_LTLIBRARIES = libgvplugin_lasi_C.la
 
22
if WITH_WIN32
 
23
lib_LTLIBRARIES = libgvplugin_lasi.la
 
24
else
 
25
pkglib_LTLIBRARIES = libgvplugin_lasi.la
 
26
endif
 
27
endif
 
28
endif
 
29
 
 
30
libgvplugin_lasi_C_la_SOURCES = \
 
31
        gvplugin_lasi.c \
 
32
        gvrender_lasi.cpp \
 
33
        ps.txt
 
34
 
 
35
libgvplugin_lasi_la_LDFLAGS = -version-info @GVPLUGIN_VERSION_INFO@
 
36
libgvplugin_lasi_la_SOURCES = $(libgvplugin_lasi_C_la_SOURCES)
 
37
libgvplugin_lasi_la_LIBADD = \
 
38
        $(top_builddir)/lib/gvc/libgvc.la @LASI_LIBS@ @PANGOCAIRO_LIBS@ @MATH_LIBS@
 
39
 
 
40
gvrender_lasi.o gvrender_lasi.lo: ps.h
 
41
 
 
42
ps.h : $(srcdir)/ps.txt
 
43
        $(AWK) -f $(top_srcdir)/awk/stringize.awk $(srcdir)/ps.txt > ps.h
 
44
 
 
45
if WITH_WIN32
 
46
libgvplugin_lasi_la_LDFLAGS += -no-undefined
 
47
endif
 
48
 
 
49
if WITH_DARWIN9
 
50
libgvplugin_lasi_la_LDFLAGS += -Wl,-exported_symbol,_gvplugin_lasi_LTX_library
 
51
endif
 
52
 
 
53
EXTRA_DIST = ps.h Makefile.old
 
54
 
 
55
DISTCLEANFILES = ps.h
 
56