~ubuntu-branches/ubuntu/wily/baobab/wily-proposed

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2014-10-15 23:15:13 UTC
  • mfrom: (2.2.1 experimental) (2.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20141015231513-6cpun88orgfpyzdv
Tags: 3.14.1-1ubuntu1
* Merge from Debian unstable. (LP: #1268721) Remaining changes:
* debian/patches/use_traditional_titlebars_in_unity.patch:
  - Use the traditional menubar under Unity
* debian/patches/git_fix_pie_chart.patch:
  - Fx top level pie chart. (LP: #1393333)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
NULL =
2
2
 
3
3
AM_CPPFLAGS = \
4
 
        -DGETTEXT_PACKAGE=\""$(GETTEXT_PACKAGE)"\"              \
5
 
        -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"  \
 
4
        -DGETTEXT_PACKAGE=\""$(GETTEXT_PACKAGE)"\"  \
 
5
        -DGNOMELOCALEDIR=\""$(localedir)"\"         \
6
6
        $(NULL)
7
7
 
8
8
bin_PROGRAMS = baobab
10
10
BUILT_SOURCES = baobab-resources.c
11
11
 
12
12
baobab_VALAFLAGS = \
13
 
        --vapidir=$(top_builddir)/egg-list-box  \
14
 
        --vapidir=$(top_builddir)/libgd         \
 
13
        --target-glib=2.38                      \
15
14
        --pkg gtk+-3.0                          \
16
15
        --pkg gio-2.0                           \
17
16
        --pkg gio-unix-2.0                      \
18
 
        --pkg gd-1.0
19
 
 
20
 
noinst_HEADERS = \
21
 
        baobab-chart.h                  \
22
 
        baobab-treemap.h                \
23
 
        baobab-ringschart.h
 
17
        --gresources=baobab.gresource.xml       \
 
18
        $(NULL)
24
19
 
25
20
VALA_SOURCES = \
26
21
        baobab-application.vala         \
27
22
        baobab-cellrenderers.vala       \
 
23
        baobab-chart.vala               \
 
24
        baobab-treemap.vala             \
 
25
        baobab-ringschart.vala          \
28
26
        baobab-connect-server.vala      \
29
27
        baobab-location.vala            \
30
28
        baobab-location-list.vala       \
31
 
        baobab-location-widget.vala     \
32
29
        baobab-scanner.vala             \
33
30
        baobab-window.vala              \
34
31
        main.vala                       \
35
32
        $(NULL)
36
33
 
37
 
egg_list_box_sources = \
38
 
        $(top_builddir)/egg-list-box/egglistbox.vapi    \
39
 
        $(top_builddir)/egg-list-box/egg-list-box.c     \
40
 
        $(top_builddir)/egg-list-box/egg-list-box-accessible.c
41
 
 
42
34
baobab_SOURCES = \
43
35
        $(VALA_SOURCES)                 \
44
 
        fixes.vapi                      \
45
 
        baobab.vapi                     \
46
36
        config.vapi                     \
47
 
        baobab-chart.c                  \
48
 
        baobab-treemap.c                \
49
 
        baobab-ringschart.c             \
50
 
        $(egg_list_box_sources)         \
51
 
        $(BUILT_SOURCES)
 
37
        $(BUILT_SOURCES)                \
 
38
        $(NULL)
52
39
 
53
 
baobab-resources.c: baobab.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=$(srcdir) $(srcdir)/baobab.gresource.xml)
 
40
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=$(srcdir) $(srcdir)/baobab.gresource.xml)
 
41
baobab-resources.c: baobab.gresource.xml $(resource_files)
54
42
        $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
55
43
 
56
44
AM_CFLAGS = \
57
45
        $(BAOBAB_CFLAGS)                \
58
 
        -I$(top_srcdir)/egg-list-box    \
59
 
        -I$(top_srcdir)/libgd           \
60
46
        -Wall                           \
61
47
        -Wno-unused-but-set-variable    \
62
48
        -Wno-unused-variable            \
63
49
        $(NULL)
64
50
 
65
 
baobab_LDFLAGS = -export-dynamic
 
51
baobab_LDFLAGS = -rdynamic
66
52
baobab_LDADD = \
67
53
        -lm                             \
68
54
        $(BAOBAB_LIBS)                  \
69
 
        $(top_builddir)/libgd/libgd.la \
70
55
        $(NULL)
71
56
 
72
57
MAINTAINERCLEANFILES =  \
73
58
        *.stamp                         \
74
59
        $(VALA_SOURCES:.vala=.c)        \
75
 
        $(BUILT_SOURCES)
 
60
        $(BUILT_SOURCES)                \
 
61
        $(NULL)
76
62
 
77
63
EXTRA_DIST = \
78
 
        baobab.gresource.xml \
79
 
        baobab-main-window.ui \
80
 
        baobab-menu.ui
 
64
        baobab.gresource.xml    \
 
65
        $(resource_files)               \
 
66
        $(NULL)
81
67
 
82
68
-include $(top_srcdir)/git.mk