~ubuntu-branches/ubuntu/trusty/gnome-desktop/trusty

« back to all changes in this revision

Viewing changes to .pc/10_link-with-libm.patch/libgnome-desktop/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Loïc Minier
  • Date: 2011-12-01 15:46:03 UTC
  • Revision ID: package-import@ubuntu.com-20111201154603-rq8shf98t7arghrk
Tags: 1:2.32.1-0ubuntu7
* Fix FTBFS -- missing -lm in build.
  - New patch, 10_link-with-libm, changes similar to upstream
    06eecd20a0c6e27f91265c20fe0ad2f773a51494 "build: link against libm" to
    call AC_CHECK_LIBM and AB_SUBST(LIBM) in configure.in and use $(LIBM) in
    libgnome-desktop/Makefile.am.
  - New patch, 90_autoreconf, result of autoreconf -fi && rm -rf
    autom4te.cache *~; needed for 10_link-with-libm.
  - Drop 99_ltmain_as-needed; doesn't apply anymore with 90_autoreconf which
    likely supersedes it.
* Update watch file to only consider GNOME 2.32; gnome-desktop3 source is
  where latest releases are packaged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SUBDIRS = libgnome libgnomeui
 
2
 
 
3
INCLUDES =                                                      \
 
4
        -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale\""  \
 
5
        -DPNP_IDS=\""$(PNP_IDS)"\"                              \
 
6
        $(WARN_CFLAGS)                                          \
 
7
        $(DISABLE_DEPRECATED)                                   \
 
8
        $(XLIB_CFLAGS)                                          \
 
9
        $(GNOME_DESKTOP_CFLAGS)
 
10
 
 
11
lib_LTLIBRARIES = libgnome-desktop-2.la
 
12
 
 
13
noinst_PROGRAMS = test-ditem
 
14
 
 
15
libgnome_desktop_2_la_SOURCES = \
 
16
        gnome-desktop-item.c    \
 
17
        gnome-desktop-utils.c   \
 
18
        gnome-desktop-thumbnail.c \
 
19
        gnome-thumbnail-pixbuf-utils.c \
 
20
        gnome-bg.c              \
 
21
        gnome-bg-crossfade.c    \
 
22
        display-name.c          \
 
23
        gnome-rr.c              \
 
24
        gnome-rr-config.c       \
 
25
        gnome-rr-labeler.c      \
 
26
        gnome-rr-private.h      \
 
27
        edid-parse.c            \
 
28
        edid.h                  \
 
29
        private.h
 
30
 
 
31
libgnome_desktop_2_la_LIBADD =  \
 
32
        $(XLIB_LIBS)            \
 
33
        $(GNOME_DESKTOP_LIBS)
 
34
 
 
35
libgnome_desktop_2_la_LDFLAGS = \
 
36
        -version-info $(LT_VERSION) \
 
37
        -no-undefined
 
38
 
 
39
test_ditem_SOURCES = \
 
40
        test-ditem.c
 
41
 
 
42
test_ditem_LDADD = \
 
43
        libgnome-desktop-2.la           \
 
44
        $(XLIB_LIBS)                    \
 
45
        $(GNOME_DESKTOP_LIBS)
 
46
 
 
47
pkgconfigdir = $(libdir)/pkgconfig
 
48
pkgconfig_DATA = gnome-desktop-2.0.pc
 
49
 
 
50
pnpdata_DATA_dist = pnp.ids
 
51
if USE_INTERNAL_PNP_IDS
 
52
pnpdatadir = $(datadir)/libgnome-desktop
 
53
pnpdata_DATA = pnp.ids
 
54
endif
 
55
 
 
56
check:
 
57
        test -s $(top_srcdir)/libgnome-desktop/pnp.ids
 
58
 
 
59
EXTRA_DIST = \
 
60
        gnome-desktop-2.0.pc.in                \
 
61
        gnome-desktop-2.0-uninstalled.pc.in    \
 
62
        $(pnpdata_DATA_dist)
 
63
 
 
64
MAINTAINERCLEANFILES = \
 
65
        pnp.ids
 
66
 
 
67
-include $(top_srcdir)/git.mk