Commit 9598c513 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

updates: Add test application

parent af59090c
......@@ -44,6 +44,43 @@ plugin_in_files = \
plugin_DATA = $(plugin_in_files:.gnome-settings-plugin.in=.gnome-settings-plugin)
libexec_PROGRAMS = gsd-test-updates
gsd_test_updates_SOURCES = \
test-updates.c \
gsd-updates-common.h \
gsd-updates-refresh.h \
gsd-updates-refresh.c \
gsd-updates-firmware.h \
gsd-updates-firmware.c \
gsd-updates-manager.h \
gsd-updates-manager.c
gsd_test_updates_CPPFLAGS = \
-I$(top_srcdir)/data/ \
-I$(top_srcdir)/gnome-settings-daemon \
-I$(top_builddir)/gnome-settings-daemon \
-I$(top_srcdir)/plugins/common \
-DGNOME_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
-DLIBEXECDIR=\""$(libexecdir)"\" \
$(AM_CPPFLAGS)
gsd_test_updates_CFLAGS = \
-DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE \
-DDATADIR=\"$(datadir)\" \
-DBINDIR=\"$(bindir)\" \
$(PLUGIN_CFLAGS) \
$(SETTINGS_PLUGIN_CFLAGS) \
$(PACKAGEKIT_CFLAGS) \
$(AM_CFLAGS)
gsd_test_updates_LDADD = \
$(top_builddir)/gnome-settings-daemon/libgsd.la \
$(SETTINGS_DAEMON_LIBS) \
$(SETTINGS_PLUGIN_LIBS) \
$(PACKAGEKIT_LIBS) \
-lm
EXTRA_DIST = \
$(plugin_in_files)
......
#define NEW gsd_updates_manager_new
#define START gsd_updates_manager_start
#define STOP gsd_updates_manager_stop
#define MANAGER GsdUpdatesManager
#include "gsd-updates-manager.h"
#include "test-plugin.h"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment