~charlesk/indicator-bluetooth/lp-1223635

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Tarmac
  • Author(s): Charles Kerr
  • Date: 2013-08-10 04:26:27 UTC
  • mfrom: (52.1.36 gmenuify)
  • Revision ID: tarmac-20130810042627-f70hxnygbutz16mm
Add phone profile. Export menus & actions using gio. Drops the gtk, dbusmenu, and libindicator build dependencies. Drops runtime dependency on gnome-blueooth in the phone profile.

Approved by Ted Gould, PS Jenkins bot, Mathieu Trudel-Lapierre.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
pkglibexec_PROGRAMS = indicator-bluetooth-service
2
 
indicatordir = $(INDICATORDIR)
3
 
indicator_LTLIBRARIES = libbluetooth.la
4
2
 
5
 
indicator_bluetooth_service_SOURCES =   \
6
 
        config.vapi \
7
 
        indicator3-0.4.vapi \
8
 
        gnome-bluetooth-1.0.vapi \
9
 
        indicator-bluetooth-service.vala
 
3
indicator_bluetooth_service_SOURCES = \
 
4
        org-bluez.vala \
 
5
        bluetooth.vala \
 
6
        bluez.vala \
 
7
        desktop.vala \
 
8
        device.vala \
 
9
        main.vala \
 
10
        phone.vala \
 
11
        profile.vala \
 
12
        killswitch.vala \
 
13
        service.vala
10
14
 
11
15
indicator_bluetooth_service_VALAFLAGS = \
 
16
        --ccode \
 
17
        --vapidir=$(top_srcdir)/vapi/ \
 
18
        --vapidir=./ \
 
19
        --pkg config \
 
20
        --pkg rfkill \
12
21
        --pkg posix \
13
22
        --pkg glib-2.0 \
14
 
        --pkg gtk+-3.0 \
15
 
        --pkg Dbusmenu-0.4
 
23
        --pkg gio-2.0
16
24
 
 
25
# -w to disable warnings for vala-generated code
17
26
indicator_bluetooth_service_CFLAGS = \
18
27
        -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
19
28
        -DLOCALE_DIR=\"$(datadir)/locale\" \
20
 
        $(INDICATOR_BLUETOOTH_SERVICE_CFLAGS)
 
29
        -w \
 
30
        $(SERVICE_DEPS_CFLAGS)
21
31
 
22
32
indicator_bluetooth_service_LDADD = \
23
 
        $(INDICATOR_BLUETOOTH_SERVICE_LIBS)
24
 
 
25
 
libbluetooth_la_SOURCES =       \
26
 
        config.vapi \
27
 
        indicator3-0.4.vapi \
28
 
        indicator-bluetooth.vala \
29
 
        libido3-0.1.vapi
30
 
 
31
 
libbluetooth_la_VALAFLAGS = \
32
 
        --pkg posix \
33
 
        --pkg glib-2.0 \
34
 
        --pkg gtk+-3.0 \
35
 
        --pkg Dbusmenu-0.4 \
36
 
        --pkg DbusmenuGtk3-0.4
37
 
 
38
 
libbluetooth_la_CFLAGS = \
39
 
        -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
40
 
        $(INDICATOR_BLUETOOTH_CFLAGS)
41
 
 
42
 
libbluetooth_la_LIBADD = \
43
 
        $(INDICATOR_BLUETOOTH_LIBS)
44
 
 
45
 
libbluetooth_la_LDFLAGS = \
46
 
        -module -avoid-version
 
33
        $(SERVICE_DEPS_LIBS)
47
34
 
48
35
CLEANFILES = \
49
36
        $(patsubst %.vala,%.c,$(filter %.vala, $(SOURCES))) \