blob: fe582efd13652e8b1bf18275c02470da289018e6 [file] [log] [blame]
bin_PROGRAMS = connman-applet
connman_applet_SOURCES = main.c \
properties.h properties.c status.h status.c
connman_applet_LDADD = $(top_builddir)/common/libcommon.a \
@GTK_LIBS@ @DBUS_LIBS@
if MAINTAINER_MODE
icondir = $(abs_top_srcdir)/icons
else
icondir = $(datadir)/icons/hicolor/22x22/apps
endif
BUILT_SOURCES = marshal.h marshal.c
AM_CFLAGS = @DBUS_CFLAGS@ @GTK_CFLAGS@ -DICONDIR=\""$(icondir)"\"
INCLUDES = -I$(top_srcdir)/common
autostartdir = $(sysconfdir)/xdg/autostart
autostart_in_files = connman-applet.desktop.in
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
CLEANFILES = $(autostart_DATA) $(BUILT_SOURCES)
EXTRA_DIST = $(autostart_in_files) marshal.list
MAINTAINERCLEANFILES = Makefile.in
marshal.h: marshal.list
$(GLIB_GENMARSHAL) --prefix=marshal $< --header > $@
marshal.c: marshal.list
$(GLIB_GENMARSHAL) --prefix=marshal $< --body > $@