aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: c078f431e4f2318f306812d9289e7d7868e31413 (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
# -*- Mode: Automake; indent-tabs-mode: t; tab-width: 4 -*-

bin_PROGRAMS = arctica-greeter
noinst_PROGRAMS = logo-generator

arctica_greeter_SOURCES = \
	config.vapi \
	fixes.vapi \
	indicator.vapi \
	xsync.vapi \
	animate-timer.vala \
	background.vala \
	cached-image.vala \
	cairo-utils.vala \
	email-autocompleter.vala \
	dash-box.vala \
	dash-button.vala \
	dash-entry.vala \
	fadable.vala \
	fadable-box.vala \
	fading-label.vala \
	flat-button.vala \
	greeter-list.vala \
	idle-monitor.vala \
	list-stack.vala \
	main-window.vala \
	menu.vala \
	menubar.vala \
	prompt-box.vala \
	session-list.vala \
	remote-logon-service.vala \
	settings.vala \
	settings-daemon.vala \
	shutdown-dialog.vala \
	toggle-box.vala \
	arctica-greeter.vala \
	user-list.vala \
	user-prompt-box.vala \
	util.vala \
	$(NULL)

# Disable remote logon features we haven't packaged yet.
#	pam_freerdp2.vapi \
#	pam_x2go.vapi \
#	$(NULL)

logo_generator_SOURCES = logo-generator.vala

arctica_greeter_CFLAGS = \
	$(ARCTICA_GREETER_CFLAGS) \
	$(GTK_CFLAGS) \
	-w \
	-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
	-DLOCALEDIR=\"$(localedir)\" \
	-DVERSION=\"$(VERSION)\" \
	-DPKGDATADIR=\"$(pkgdatadir)\" \
	-DPKGLIBEXECDIR=\"$(pkglibexecdir)\" \
	-DINDICATORDIR=\"$(INDICATORDIR)\"

logo_generator_CFLAGS = $(arctica_greeter_CFLAGS)

arctica_greeter_VALAFLAGS = \
	$(AM_VALAFLAGS) \
	--debug \
	--pkg posix \
	$(NULL)

if HAVE_GTK4
arctica_greeter_VALAFLAGS += \
	--pkg gtk4 \
	--pkg gtk4-x11 \
	$(NULL)
else
arctica_greeter_VALAFLAGS += \
	--pkg gtk+-3.0 \
	--pkg gdk-x11-3.0 \
	$(NULL)
endif

arctica_greeter_VALAFLAGS += \
	--pkg gio-unix-2.0 \
	--pkg x11 \
	--pkg liblightdm-gobject-1 \
	--pkg libcanberra \
	--pkg gio-2.0 \
	--pkg pixman-1 \
	--target-glib 2.32

logo_generator_VALAFLAGS = $(arctica_greeter_VALAFLAGS)

arctica_greeter_LDADD = \
	$(ARCTICA_GREETER_LIBS) \
	$(GTK_LIBS) \
	-lm

logo_generator_LDADD = $(arctica_greeter_LDADD)

arctica_greeter_vala.stamp: $(top_srcdir)/config.h

DISTCLEANFILES = \
	Makefile.in