File: Makefile.am

package info (click to toggle)
connman-ui 0~20150623-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,520 kB
  • sloc: ansic: 9,565; sh: 627; makefile: 55
file content (65 lines) | stat: -rw-r--r-- 2,033 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
SUBDIRS = po

AM_MAKEFLAGS = --no-print-directory

includedir = @includedir@

include_HEADERS =

noinst_HEADERS =

local_headers = $(foreach file,$(include_HEADERS) $(nodist_include_HEADERS) \
			$(noinst_HEADERS), include/$(notdir $(file)))

gdbus_sources = gdbus/gdbus.h gdbus/mainloop.c gdbus/watch.c \
					gdbus/object.c gdbus/polkit.c

common_sources = lib/connman-interface.h lib/interface.c \
			lib/dbus.c lib/manager.c lib/technology.c \
			lib/service.c lib/agent.c

if MAINTAINER_MODE
uidir = $(abs_top_srcdir)/data/ui
iconsdir = $(abs_top_srcdir)/data/icons
localdir = $(abs_top_srcdir)/po
else
uidir = $(datadir)/connman_ui_gtk/ui
iconsdir = $(datadir)/connman_ui_gtk/icons
endif

ui_DATA = data/ui/agent.ui data/ui/left_menu.ui data/ui/right_menu.ui \
					data/ui/settings.ui data/ui/tray.ui

icons_DATA = data/icons/gsm-3g-full.png \
		data/icons/network-wired-symbolic.png \
		data/icons/network-wireless-signal-excellent-symbolic.png \
		data/icons/network-wireless-signal-good-symbolic.png \
		data/icons/network-wireless-signal-weak-symbolic.png \
		data/icons/network-wireless-signal-ok-symbolic.png \
		data/icons/network-offline-symbolic.png \
		data/icons/network-transmit-receive-symbolic.png \
		data/icons/network-idle-symbolic.png \
		data/icons/nm-adhoc.png

AM_CFLAGS = @GLIB_CFLAGS@ @DBUS_CFLAGS@ \
	-DCUI_UI_PATH=\""$(uidir)"\" \
	-DCUI_ICON_PATH=\"$(iconsdir)\" \
	-DLOCALEDIR=\"$(localedir)\"

bin_PROGRAMS = src/connman-ui-gtk
src_connman_ui_gtk_SOURCES = $(gdbus_sources) $(common_sources) \
			src/main.c src/tray.c \
			src/left-menu.c src/right-menu.c \
			src/gtktechnology.h src/gtktechnology.c \
			src/gtkservice.h src/gtkservice.c \
			src/agent_dialogs.c src/settings.c \
			src/theme.c src/utils.c
src_connman_ui_gtk_CFLAGS = $(AM_CFLAGS) @GTK_CFLAGS@
src_connman_ui_gtk_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ @GTK_LIBS@

AM_CPPFLAGS = -I$(builddir)/include -I$(builddir)/src \
				-I$(srcdir)/gdbus -I$(srcdir)/lib

ACLOCAL_AMFLAGS = -I m4

EXTRA_DIST = m4/ChangeLog $(ui_DATA) $(icons_DATA)