summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 56ddb535f4db9ccea30cb1afa5db0cfe79acbbf4 (plain)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
if WITH_AYATANA_INDICATOR
INDICATOR_CFLAGS = $(AYATANA_INDICATOR_CFLAGS)		\
                   $(AYATANA_INDICATOR_NG_CFLAGS)
INDICATOR_LIBS   = $(AYATANA_INDICATOR_LIBS)		\
                   $(AYATANA_INDICATOR_NG_LIBS)
endif

if WITH_UBUNTU_INDICATOR
INDICATOR_CFLAGS = $(UBUNTU_INDICATOR_CFLAGS)		\
                   $(UBUNTU_INDICATOR_NG_CFLAGS)
INDICATOR_LIBS   = $(UBUNTU_INDICATOR_LIBS)		\
                   $(UBUNTU_INDICATOR_NG_LIBS)
endif

libexec_PROGRAMS = \
	mate-indicator-applet \
	mate-indicator-applet-appmenu \
	mate-indicator-applet-complete

mate_indicator_applet_CFLAGS = \
	-DG_LOG_DOMAIN=\""Indicator-Applet"\" \
	-DDATADIR=\""$(datadir)"\" \
	-DINDICATOR_DIR=\""$(INDICATORDIR)"\" \
	-DINDICATOR_ICONS_DIR=\""$(INDICATORICONSDIR)"\" \
	-DINDICATOR_APPLET \
	-I$(srcdir)/.. \
	$(APPLET_CFLAGS) \
	$(INDICATOR_CFLAGS) \
	$(WARN_CFLAGS)

mate_indicator_applet_SOURCES = \
	applet-main.c \
	eggaccelerators.c \
	eggaccelerators.h \
	tomboykeybinder.c \
	tomboykeybinder.h

mate_indicator_applet_LDADD = \
	$(APPLET_LIBS) \
	$(INDICATOR_LIBS) \
	-lX11

mate_indicator_applet_appmenu_CFLAGS = \
	-DG_LOG_DOMAIN=\""Indicator-Applet-Appmenu"\" \
	-DDATADIR=\""$(datadir)"\" \
	-DINDICATOR_DIR=\""$(INDICATORDIR)"\" \
	-DINDICATOR_ICONS_DIR=\""$(INDICATORICONSDIR)"\" \
	-DINDICATOR_APPLET_APPMENU \
	-I$(srcdir)/.. \
	$(APPLET_CFLAGS) \
	$(INDICATOR_CFLAGS) \
	$(WARN_CFLAGS)

mate_indicator_applet_appmenu_SOURCES = \
	applet-main.c \
	eggaccelerators.c \
	eggaccelerators.h \
	tomboykeybinder.c \
	tomboykeybinder.h

mate_indicator_applet_appmenu_LDADD = \
	$(APPLET_LIBS) \
	$(INDICATOR_LIBS) \
	-lX11

mate_indicator_applet_complete_CFLAGS = \
	-DG_LOG_DOMAIN=\""Indicator-Applet-Complete"\" \
	-DDATADIR=\""$(datadir)"\" \
	-DINDICATOR_DIR=\""$(INDICATORDIR)"\" \
	-DINDICATOR_ICONS_DIR=\""$(INDICATORICONSDIR)"\" \
	-DINDICATOR_APPLET_COMPLETE \
	-I$(srcdir)/.. \
	$(APPLET_CFLAGS) \
	$(INDICATOR_CFLAGS) \
	$(WARN_CFLAGS)

mate_indicator_applet_complete_SOURCES =	\
	applet-main.c \
	eggaccelerators.c \
	eggaccelerators.h \
	tomboykeybinder.c \
	tomboykeybinder.h

mate_indicator_applet_complete_LDADD = \
	$(APPLET_LIBS) \
	$(INDICATOR_LIBS) \
	-lX11

-include $(top_srcdir)/git.mk