summaryrefslogtreecommitdiff
path: root/gabble/Makefile.am
blob: 26119056eb9c90bb7a1c8d7cc0f27fcbf3ea8f53 (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
AM_CFLAGS = \
	-DG_LOG_DOMAIN=\"ytstenut\" \
	-DGABBLE \
	-I$(top_srcdir)/plugin-base \
	$(GABBLE_CFLAGS) \
	$(TELEPATHY_YTSTENUT_CFLAGS) \
	$(WOCKY_CFLAGS)

plugindir = $(gabbleplugindir)

plugin_LTLIBRARIES = ytstenut-gabble.la

AM_LDFLAGS = -module -avoid-version -no-undefined -shared

ytstenut_gabble_la_LIBADD = \
	$(TELEPATHY_YTSTENUT_LIBS) \
	$(WOCKY_LIBS)

copied_files = \
	ytstenut.c \
	caps-manager.c \
	channel-manager.c \
	utils.c

ytstenut_gabble_la_SOURCES = \
	$(copied_files) \
	status.c \
	message-channel.c

CLEANFILES = $(copied_files)

Android.mk: Makefile.am $(BUILT_SOURCES)
	for i in $(copied_files); do \
	  cp $(top_srcdir)/plugin-base/$$i .; \
	done
	androgenizer -:PROJECT ytstenut-plugins \
	 -:SHARED ytstenut-gabble -:TAGS eng debug \
	 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
	 -:SOURCES $(ytstenut_gabble_la_SOURCES) \
	 -:CFLAGS $(DEFS) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	  $(AM_CFLAGS) \
	 -:CPPFLAGS $(CPPFLAGS) $(AM_CPPFLAGS) \
	 -:LDFLAGS $(AM_LDFLAGS) $(ytstenut_gabble_la_LIBADD) -ltelepathy-gabble \
	> $@