blob: 6800c149e2937c74cc29a58667454a108ec2a53f (
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
|
SUBDIRS = help
EXTRA_DIST = \
$(server_in_in_files) \
$(ui_DATA) \
$(schemas_in_files) \
$(schemas_DATA) \
$(pixmap_DATA) \
$(glade_DATA)
libexec_PROGRAMS = gnome-keyboard-applet
noinst_LIBRARIES = libgswitchit-applet.a
gnome_keyboard_applet_SOURCES = switch.c
libgswitchit_applet_a_SOURCES = gswitchit-applet.c \
gswitchit-applet.h
if ENABLE_FLAGS
flags_CFLAGS = -DENABLE_FLAGS=1
endif
COMMON_CFLAGS = \
-Wall -Werror \
-I$(top_srcdir) \
-I. \
-I$(top_srcdir)/intl \
-DG_LOG_DOMAIN=\"GSwitchIt\" \
-DGLADE_DIR=\""$(gladedir)"\" \
$(LIBXKLAVIER_CFLAGS) \
$(flags_CFLAGS) \
$(LIBGLADE_CFLAGS)
COMMON_LIBS = $(LIBXKLAVIER_LIBS) \
$(LIBGLADE_LIBS) \
$(X_LIBS)
libgswitchit_applet_a_CFLAGS = $(COMMON_CFLAGS) \
$(GNOME_APPLETS_CFLAGS)
gnome_keyboard_applet_CFLAGS = $(COMMON_CFLAGS) \
$(GNOME_APPLETS_CFLAGS)
gnome_keyboard_applet_LDADD = $(COMMON_LIBS) \
$(GNOME_APPLETS_LIBS) \
$(top_builddir)/gswitchit/libgswitchit-applet.a \
$(top_builddir)/libgswitchit/libgswitchit.a
serverdir = $(libdir)/bonobo/servers
server_in_files = GNOME_KeyboardApplet.server.in
server_in_in_files = $(server_in_files:.server.in=.server.in.in)
server_DATA = $(server_in_files:.server.in=.server)
$(server_in_files): $(server_in_in_files)
sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@
CLEANFILES = $(server_in_files) $(server_DATA)
@INTLTOOL_SERVER_RULE@
uidir = $(datadir)/gnome-2.0/ui
ui_DATA = GNOME_GSwitchItApplet.xml
schemasdir = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = gswitchit.schemas.in
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@
if GCONF_SCHEMAS_INSTALL
install-data-local:
if test -z "$(DESTDIR)" ; then \
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA); \
fi
endif
pixmapdir = $(datadir)/icons/hicolor/48x48/apps
pixmap_DATA = gswitchit-applet.png gswitchit-properties-capplet.png
gladedir = $(datadir)/gswitchit
glade_DATA = gswitchit-plugins.glade \
gswitchit-properties.glade
bin_PROGRAMS = gswitchit-plugins-capplet
gswitchit_plugins_capplet_SOURCES = gswitchit-plugins.c \
gswitchit-plugins-add.c \
gswitchit-plugins.h
gswitchit_plugins_capplet_CFLAGS = $(COMMON_CFLAGS) \
$(GNOME_LIBS2_CFLAGS)
gswitchit_plugins_capplet_LDFLAGS = -export-dynamic
gswitchit_plugins_capplet_LDADD = $(COMMON_LIBS) \
$(GNOME_LIBS2_LIBS) \
$(top_builddir)/libgswitchit/libgswitchit.a
|