summaryrefslogtreecommitdiff
path: root/client/Makefile.am
blob: f6a62a51f917ee075905d11e2d3b789b2e57c5cd (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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
AM_CPPFLAGS =						\
	$(PIE_CFLAGS)					\
	$(GLIB_CFLAGS)					\
	$(GTK_CFLAGS)					\
	-I$(top_srcdir)					\
	-I$(top_srcdir)/lib				\
	-I$(top_builddir)/lib				\
	-I$(top_srcdir)/lib/colord			\
	-DG_LOG_DOMAIN=\"Cd\"				\
	-DCD_COMPILATION				\
	-DCD_DISABLE_DEPRECATED				\
	-DLIBEXECDIR=\"$(libexecdir)\"			\
	-DDATADIR=\"$(datadir)\"			\
	-DSYSCONFDIR=\""$(sysconfdir)"\"		\
	-DVERSION="\"$(VERSION)\""			\
	-DLOCALEDIR=\""$(localedir)"\"

COLORD_LIBS =						\
	$(top_builddir)/lib/colord/libcolordprivate.la	\
	$(top_builddir)/lib/colord/libcolord.la

bin_PROGRAMS =						\
	cd-create-profile				\
	cd-iccdump					\
	cd-it8						\
	cd-fix-profile

if HAVE_DAEMON
bin_PROGRAMS +=						\
	colormgr
endif

colormgr_SOURCES =					\
	cd-util.c

colormgr_LDADD =					\
	$(COLORD_LIBS)					\
	$(GLIB_LIBS)

colormgr_LDFLAGS =					\
	$(PIE_LDFLAGS)

colormgr_CFLAGS =					\
	$(WARNINGFLAGS_C)

cd_fix_profile_SOURCES =				\
	cd-fix-profile.c

cd_fix_profile_LDADD =					\
	$(GLIB_LIBS)					\
	$(LCMS_LIBS)					\
	$(COLORD_LIBS)					\
	-lm

cd_fix_profile_CFLAGS =					\
	$(WARNINGFLAGS_C)

cd_fix_profile_LDFLAGS =				\
	$(PIE_LDFLAGS)

cd_iccdump_SOURCES =					\
	cd-iccdump.c

cd_iccdump_LDADD =					\
	$(GLIB_LIBS)					\
	$(LCMS_LIBS)					\
	$(COLORD_LIBS)					\
	-lm

cd_iccdump_LDFLAGS =					\
	$(PIE_LDFLAGS)

cd_iccdump_CFLAGS =					\
	$(WARNINGFLAGS_C)

cd_it8_SOURCES =					\
	cd-it8.c

cd_it8_LDADD =						\
	$(GLIB_LIBS)					\
	$(LCMS_LIBS)					\
	$(COLORD_LIBS)					\
	-lm

cd_it8_LDFLAGS =					\
	$(PIE_LDFLAGS)

cd_it8_CFLAGS =						\
	$(WARNINGFLAGS_C)

cd_create_profile_SOURCES =				\
	cd-create-profile.c

cd_create_profile_LDADD =				\
	$(GLIB_LIBS)					\
	$(LCMS_LIBS)					\
	$(COLORD_LIBS)					\
	-lm

cd_create_profile_LDFLAGS =				\
	$(PIE_LDFLAGS)

cd_create_profile_CFLAGS =				\
	$(WARNINGFLAGS_C)

MAINTAINERCLEANFILES = *.a

-include $(top_srcdir)/git.mk