Makefile.am 980 Bytes
Newer Older
1
# This is used in PANEL_CFLAGS
Bastien Nocera's avatar
Bastien Nocera committed
2
3
cappletname = common

4
noinst_LTLIBRARIES = liblanguage.la
5
noinst_PROGRAMS = list-languages
6
7

AM_CPPFLAGS =						\
8
9
	$(PANEL_CFLAGS)					\
	$(LIBLANGUAGE_CFLAGS)				\
10
	-DDATADIR=\""$(datadir)"\"			\
11
	-DUIDIR=\""$(pkgdatadir)/ui"\"			\
12
13
	-DLIBLOCALEDIR=\""$(prefix)/lib/locale"\"       \
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
14
	-DUM_PIXMAP_DIR=\""$(pkgdatadir)/pixmaps"\"
15
16
17
18
19
20

liblanguage_la_SOURCES =		\
	gdm-languages.h 		\
	gdm-languages.c 		\
	locarchive.h			\
	cc-common-language.c		\
21
22
23
	cc-common-language.h		\
	cc-language-chooser.c		\
	cc-language-chooser.h
24
25

liblanguage_la_LIBADD = 		\
26
	$(LIBLANGUAGE_LIBS)
27

28
29
30
31
list_languages_SOURCES = list-languages.c
list_languages_LDADD = liblanguage.la
list_languages_CFLAGS = $(LIBLANGUAGE_CFLAGS)

32
33
uidir = $(pkgdatadir)/ui

34
dist_ui_DATA = \
35
36
	language-chooser.ui

37
38
39
40
41
rulesdir = $(datadir)/polkit-1/rules.d/
rules_DATA = gnome-control-center.rules

EXTRA_DIST = $(rules_DATA)

42
-include $(top_srcdir)/git.mk