~ubuntu-branches/ubuntu/oneiric/gnome-panel/oneiric

« back to all changes in this revision

Viewing changes to .pc/90_build_fixes.patch/applets/notification_area/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Bicha
  • Date: 2011-08-17 21:57:14 UTC
  • mfrom: (1.13.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110817215714-mr18pl4hqedmprd7
Tags: 1:3.1.5-0ubuntu1
* New upstream release.
* debian/control: Bump gnome-menus dependencies
* debian/libpanel-applet-4-dev.install: No longer any *.a files to install
* debian/patches/09_default_icons.patch: Disabled until it can be ported
* debian/patches/90_build_fixes.patch: Dropped, applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
noinst_LTLIBRARIES = libtray.la
2
 
noinst_PROGRAMS = testtray
3
 
 
4
 
AM_CPPFLAGS =                                                   \
5
 
        $(NOTIFICATION_AREA_CFLAGS)                             \
6
 
        $(LIBPANEL_APPLET_CFLAGS)                               \
7
 
        -I$(srcdir)                                             \
8
 
        -I$(srcdir)/../../libpanel-applet                       \
9
 
        -I$(top_builddir)/libpanel-applet                       \
10
 
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"                \
11
 
        -DG_LOG_DOMAIN=\""notification-area-applet"\"           \
12
 
        -DNOTIFICATION_AREA_MENU_UI_DIR=\""$(uidir)"\"          \
13
 
        $(DISABLE_DEPRECATED_CFLAGS)
14
 
 
15
 
AM_CFLAGS = $(WARN_CFLAGS)
16
 
 
17
 
libtray_la_SOURCES =            \
18
 
        fixedtip.h              \
19
 
        fixedtip.c              \
20
 
        na-marshal.c            \
21
 
        na-marshal.h            \
22
 
        na-tray.c               \
23
 
        na-tray.h               \
24
 
        na-tray-child.c         \
25
 
        na-tray-child.h         \
26
 
        na-tray-manager.c       \
27
 
        na-tray-manager.h
28
 
 
29
 
NOTIFICATION_AREA_SOURCES = main.c main.h
30
 
 
31
 
NOTIFICATION_AREA_LDADD =                               \
32
 
        ../../libpanel-applet/libpanel-applet-4.la      \
33
 
        $(X_LIBS)                                       \
34
 
        $(NOTIFICATION_AREA_LIBS)                       \
35
 
        $(LIBPANEL_APPLET_LIBS)                         \
36
 
        libtray.la
37
 
 
38
 
testtray_SOURCES = testtray.c
39
 
testtray_LDADD =                        \
40
 
        $(X_LIBS)                       \
41
 
        $(NOTIFICATION_AREA_LIBS)       \
42
 
        libtray.la
43
 
 
44
 
if NOTIFICATION_AREA_INPROCESS
45
 
APPLET_IN_PROCESS = true
46
 
APPLET_LOCATION   = $(pkglibdir)/$(LIBPANEL_APPLET_API_VERSION)/libnotification-area-applet.so
47
 
 
48
 
notification_area_appletlibdir = $(pkglibdir)/$(LIBPANEL_APPLET_API_VERSION)
49
 
notification_area_appletlib_LTLIBRARIES = libnotification-area-applet.la
50
 
libnotification_area_applet_la_SOURCES = $(NOTIFICATION_AREA_SOURCES)
51
 
libnotification_area_applet_la_LIBADD = $(NOTIFICATION_AREA_LDADD)
52
 
libnotification_area_applet_la_LDFLAGS = -module -avoid-version
53
 
libnotification_area_applet_la_CFLAGS = $(AM_CFLAGS)
54
 
else
55
 
APPLET_IN_PROCESS = false
56
 
APPLET_LOCATION   = $(libexecdir)/notification-area-applet
57
 
 
58
 
libexec_PROGRAMS = notification-area-applet
59
 
notification_area_applet_SOURCES = $(NOTIFICATION_AREA_SOURCES)
60
 
notification_area_applet_LDADD = $(NOTIFICATION_AREA_LDADD)
61
 
notification_area_applet_CFLAGS = $(AM_CFLAGS)
62
 
endif
63
 
 
64
 
na-marshal.h: na-marshal.list $(GLIB_GENMARSHAL)
65
 
        $(AM_V_GEN)$(GLIB_GENMARSHAL) $< --header --prefix=_na_marshal > $@
66
 
 
67
 
na-marshal.c: na-marshal.list $(GLIB_GENMARSHAL)
68
 
        $(AM_V_GEN)echo "#include \"na-marshal.h\"" > $@ && \
69
 
        $(GLIB_GENMARSHAL) $< --body --prefix=_na_marshal >> $@
70
 
 
71
 
BUILT_SOURCES = na-marshal.c na-marshal.h
72
 
 
73
 
appletdir       = $(appletsdir)
74
 
applet_in_files = org.gnome.panel.NotificationAreaApplet.panel-applet.in
75
 
applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
76
 
 
77
 
$(applet_in_files): $(applet_in_files).in Makefile
78
 
        $(AM_V_GEN)sed \
79
 
                -e "s|\@LOCATION\@|$(APPLET_LOCATION)|" \
80
 
                -e "s|\@IN_PROCESS\@|$(APPLET_IN_PROCESS)|" \
81
 
                -e "s|\@VERSION\@|$(PACKAGE_VERSION)|" \
82
 
                $< > $@
83
 
 
84
 
@PANEL_INTLTOOL_PANEL_APPLET_RULE@
85
 
 
86
 
if !NOTIFICATION_AREA_INPROCESS
87
 
servicedir       = $(datadir)/dbus-1/services
88
 
service_in_files = org.gnome.panel.applet.NotificationAreaAppletFactory.service.in
89
 
service_DATA     = $(service_in_files:.service.in=.service)
90
 
 
91
 
org.gnome.panel.applet.NotificationAreaAppletFactory.service: $(service_in_files)
92
 
        $(AM_V_GEN)sed \
93
 
                -e "s|\@LOCATION\@|$(APPLET_LOCATION)|" \
94
 
                $< > $@
95
 
endif
96
 
 
97
 
EXTRA_DIST =                                                            \
98
 
        org.gnome.panel.NotificationAreaApplet.panel-applet.in.in       \
99
 
        $(ui_DATA)                                                      \
100
 
        $(service_in_files)                                             \
101
 
        na-marshal.list
102
 
 
103
 
CLEANFILES =                    \
104
 
        $(applet_DATA)          \
105
 
        $(applet_DATA).in       \
106
 
        $(service_DATA)
107
 
 
108
 
-include $(top_srcdir)/git.mk