summaryrefslogtreecommitdiff
path: root/util/Makefile.am
blob: 7df5bf6c2393170bed0306afb36986f92b1be5ca (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_CPPFLAGS = \
	-I$(top_srcdir) \
	$(DBUS_CFLAGS) \
	$(LIBFFI_CFLAGS) \
	$(GLIB_CFLAGS) \
	$(GIO_CFLAGS) \
	$(TELEPATHY_CFLAGS) 

LDADD = \
	$(LIBFFI_LIBS) \
	$(GLIB_LIBS) \
	$(DBUS_LIBS) \
	$(TELEPATHY_LIBS) \
	$(GIO_LIBS)

AM_CFLAGS = $(ERROR_CFLAGS)

bin_PROGRAMS = mc-tool mc-wait-for-name

mc_tool_SOURCES = mc-tool.c

mc_wait_for_name_SOURCES = wait-for-name.c

dist_man1_MANS = mc-tool.1

man1_MANS = mc-wait-for-name.1

EXTRA_DIST = \
    $(man1_MANS:%=%.in)
CLEANFILES = $(man1_MANS)

mc-wait-for-name.1: mc-wait-for-name.1.in Makefile
	$(AM_V_GEN)sed -e 's![@]bindir[@]!@bindir@!g' < $< > $@

Android.mk: Makefile.am
	androgenizer -:PROJECT telepathy_mission_controll \
	 -:EXECUTABLE mc-tool -:TAGS eng debug \
	 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
	 -:SOURCES $(mc_tool_SOURCES) \
	 -:CFLAGS $(DEFS) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	  $(AM_CFLAGS) \
	 -:CPPFLAGS $(CPPFLAGS) $(AM_CPPFLAGS) \
	 -:LDFLAGS $(mc_tool_LDADD) \
	> $@