Makefile.am 1.1 KB
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 libshortcuts.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
27
	$(PANEL_LIBS)			\
	$(LIBLANGUAGE_LIBS)
28
29
30

liblanguage_la_LDFLAGS = $(PANEL_LDFLAGS)

31
32
33
34
35
libshortcuts_la_SOURCES =		\
	eggaccelerators.h		\
	eggaccelerators.c

libshortcuts_la_LIBADD =		\
36
37
	$(PANEL_LIBS)			\
	$(LIBSHORTCUTS_LIBS)
38
39
40

libshortcuts_la_LDFLAGS = $(PANEL_LDFLAGS)

41
42
43
44
list_languages_SOURCES = list-languages.c
list_languages_LDADD = liblanguage.la
list_languages_CFLAGS = $(LIBLANGUAGE_CFLAGS)

45
46
47
48
49
uidir = $(pkgdatadir)/ui

ui_DATA = \
	language-chooser.ui

50
-include $(top_srcdir)/git.mk