blob: ba8286e27b0e25966aceb567104d3ec390aaee21 (
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
|
introspectiondir = $(datadir)/dbus-1/interfaces
dist_introspection_DATA = \
org.freedesktop.ColorHelper.xml
INCLUDES = \
$(COLORD_GTK_CFLAGS) \
$(GLIB_CFLAGS) \
$(GNOME_DESKTOP_CFLAGS) \
$(LCMS_CFLAGS) \
-I$(top_srcdir)/client \
-I$(top_srcdir)/libcolord \
-I$(top_srcdir)/src \
-DCD_COMPILATION \
-DCD_DISABLE_DEPRECATED \
-DG_LOG_DOMAIN=\"Cd\" \
-DLIBEXECDIR=\"$(libexecdir)\" \
-DLIBDIR=\"$(libdir)\" \
-DDATADIR=\"$(datadir)\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DLOCALSTATEDIR=\""$(localstatedir)"\" \
-DVERSION="\"$(VERSION)\""
COLORD_LIBS = \
$(top_builddir)/libcolord/libcolord.la
libcolord_includedir = $(includedir)/colord-1/colord-session
libcolord_include_HEADERS = \
cd-session.h
libexec_PROGRAMS = \
colord-session
colord_session_SOURCES = \
$(top_srcdir)/client/cd-lcms-helpers.c \
$(top_srcdir)/client/cd-lcms-helpers.h \
$(top_srcdir)/src/cd-debug.c \
$(top_srcdir)/src/cd-debug.h \
cd-session.h \
cd-state.c \
cd-state.h \
cd-main.c
colord_session_LDADD = \
$(COLORD_LIBS) \
$(LCMS_LIBS) \
$(GLIB_LIBS) \
-lm
colord_session_CFLAGS = \
$(WARNINGFLAGS_C)
dbusservicemaindir = $(datadir)/dbus-1/services
dbusservicemain_in_files = org.freedesktop.ColorHelper.service.in
dbusservicemain_DATA = $(dbusservicemain_in_files:.service.in=.service)
$(dbusservicemain_DATA): $(dbusservicemain_in_files) Makefile
@sed -e "s|\@servicedir\@|$(libexecdir)|" $< | \
sed -e "s|\@daemon_user\@|$(daemon_user)|" > $@
if CD_BUILD_SESSION_EXAMPLE
noinst_PROGRAMS = \
colord-session-example
colord_session_example_SOURCES = \
cd-example.c
colord_session_example_LDADD = \
$(COLORD_GTK_LIBS) \
$(COLORD_LIBS) \
$(GLIB_LIBS) \
$(GNOME_DESKTOP_LIBS) \
$(LCMS_LIBS) -lm
colord_session_example_CFLAGS = \
$(WARNINGFLAGS_C)
test: colord-session-example
./colord-session-example \
--device "xrandr-Lenovo Group Limited" \
--sensor dummy \
--title "This is a test profile" \
--quality high \
--whitepoint 0
endif
EXTRA_DIST = \
$(dbusservicemain_in_files)
DISTCLEANFILES = \
$(dbusservicemain_DATA)
-include $(top_srcdir)/git.mk
|