~ubuntu-branches/ubuntu/vivid/gtk2-engines/vivid

« back to all changes in this revision

Viewing changes to .pc/20_link-with-libm.patch/engines/redmond/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Loïc Minier
  • Date: 2011-12-01 15:44:02 UTC
  • Revision ID: package-import@ubuntu.com-20111201154402-xyv9lqrl8jxnz1er
Tags: 1:2.20.2-0ubuntu2
* Update watch file to only track GNOME 2.20 as gtk-engines was then ported
  to gtk3 and finally abandoned.
* Fix FTBFS due to missing -lm.
  - New patch 20_link-with-libm, adds AC_CHECK_LIBM and AC_SUBST(LIBM) to
    configure.ac and $(LIBM) to Makefile.am files for engines which need it
    in LIBADD.
  - New patch 90_autoreconf, generated with autoreconf -fi %% rm -rf
    autom4te.cache engines/support/*~; needed for 20_link-with-libm.
  - Drop patch 99_ltmain_as-needed, doesn't apply anymore since the addition
    of 90_autoreconf, but is probably obsoleted by it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Redmond95 - a cairo based GTK+ engine
 
2
# Copyright (C) 2001 Red Hat, Inc.
 
3
# Copyright (C) 2006 Andrew Johnson <acjgenius@earthlink.net>  
 
4
#
 
5
# This library is free software; you can redistribute it and/or
 
6
# modify it under the terms of the GNU Lesser General Public
 
7
# License as published by the Free Software Foundation; either
 
8
# version 2.1 of the License, or (at your option) any later version.
 
9
#
 
10
# This library is distributed in the hope that it will be useful,  
 
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
# Lesser General Public License for more details.
 
14
#
 
15
# You should have received a copy of the GNU Lesser General Public
 
16
# License along with this library; if not, write to the Free Software
 
17
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
18
#
 
19
# Project contact: <gnome-themes-list@gnome.org>
 
20
#
 
21
 
 
22
 
 
23
INCLUDES = -I$(top_srcdir)/engines/support \
 
24
           $(GTK_CFLAGS) $(DEVELOPMENT_CFLAGS)
 
25
 
 
26
 
 
27
enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines
 
28
 
 
29
engine_LTLIBRARIES = libredmond95.la
 
30
 
 
31
libredmond95_la_SOURCES = \
 
32
        ./src/redmond_gtk2_misc.c       \
 
33
        ./src/redmond_gtk2_misc.h       \
 
34
        ./src/redmond_gtk2_drawing.c    \
 
35
        ./src/redmond_gtk2_drawing.h    \
 
36
        ./src/redmond_gtk2_engine.c     \
 
37
        ./src/redmond_gtk2_engine.h
 
38
 
 
39
libredmond95_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols $(top_srcdir)/engines/engine.symbols
 
40
libredmond95_la_LIBADD =  $(top_builddir)/engines/support/libsupport.la $(GTK_LIBS)
 
41
 
 
42
-include $(top_srcdir)/git.mk
 
43