Makefile.am 950 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
liblanguage_la_LDFLAGS = -export_dynamic -avoid-version -module -no-undefined
29

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

34
35
uidir = $(pkgdatadir)/ui

36
dist_ui_DATA = \
37
38
	language-chooser.ui

39
-include $(top_srcdir)/git.mk