1 | SUBDIRS = help |
---|
2 | |
---|
3 | EXTRA_DIST = \ |
---|
4 | $(server_in_in_files) \ |
---|
5 | $(ui_DATA) \ |
---|
6 | $(schemas_in_files) \ |
---|
7 | $(schemas_DATA) \ |
---|
8 | $(pixmap_DATA) \ |
---|
9 | $(glade_DATA) |
---|
10 | |
---|
11 | libexec_PROGRAMS = gnome-keyboard-applet |
---|
12 | noinst_LIBRARIES = libgswitchit-applet.a |
---|
13 | |
---|
14 | gnome_keyboard_applet_SOURCES = switch.c |
---|
15 | |
---|
16 | libgswitchit_applet_a_SOURCES = gswitchit-applet.c \ |
---|
17 | gswitchit-capplet.c \ |
---|
18 | gswitchit-applet.h |
---|
19 | |
---|
20 | if ENABLE_FLAGS |
---|
21 | flags_CFLAGS = -DENABLE_FLAGS=1 |
---|
22 | endif |
---|
23 | |
---|
24 | COMMON_CFLAGS = -I$(top_srcdir) -I. -I$(top_srcdir)/intl \ |
---|
25 | -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ |
---|
26 | -DG_LOG_DOMAIN=\"GSwitchIt\" \ |
---|
27 | -DGLADE_DIR=\""$(gladedir)"\" \ |
---|
28 | $(LIBXKLAVIER_CFLAGS) \ |
---|
29 | $(flags_CFLAGS) \ |
---|
30 | $(LIBGLADE_CFLAGS) |
---|
31 | |
---|
32 | COMMON_LIBS = $(LIBXKLAVIER_LIBS) \ |
---|
33 | $(LIBGLADE_LIBS) \ |
---|
34 | $(X_LIBS) |
---|
35 | |
---|
36 | libgswitchit_applet_a_CFLAGS = $(COMMON_CFLAGS) \ |
---|
37 | $(GNOME_APPLETS_CFLAGS) |
---|
38 | |
---|
39 | gnome_keyboard_applet_CFLAGS = $(COMMON_CFLAGS) \ |
---|
40 | $(GNOME_APPLETS_CFLAGS) |
---|
41 | |
---|
42 | gnome_keyboard_applet_LDADD = $(COMMON_LIBS) \ |
---|
43 | $(GNOME_APPLETS_LIBS) \ |
---|
44 | $(top_builddir)/gkb-new/libgkb.a \ |
---|
45 | $(top_builddir)/gswitchit/libgswitchit-applet.a \ |
---|
46 | $(top_builddir)/libgswitchit/libgswitchit.a |
---|
47 | |
---|
48 | serverdir = $(libdir)/bonobo/servers |
---|
49 | server_in_files = GNOME_KeyboardApplet.server.in |
---|
50 | server_in_in_files = $(server_in_files:.server.in=.server.in.in) |
---|
51 | server_DATA = $(server_in_files:.server.in=.server) |
---|
52 | |
---|
53 | $(server_in_files): $(server_in_in_files) |
---|
54 | sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@ |
---|
55 | |
---|
56 | CLEANFILES = $(server_in_files) $(server_DATA) |
---|
57 | |
---|
58 | @INTLTOOL_SERVER_RULE@ |
---|
59 | |
---|
60 | uidir = $(datadir)/gnome-2.0/ui |
---|
61 | ui_DATA = GNOME_GSwitchItApplet.xml |
---|
62 | |
---|
63 | schemasdir = @GCONF_SCHEMA_FILE_DIR@ |
---|
64 | schemas_in_files = gswitchit.schemas.in |
---|
65 | schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) |
---|
66 | |
---|
67 | @INTLTOOL_SCHEMAS_RULE@ |
---|
68 | |
---|
69 | if GCONF_SCHEMAS_INSTALL |
---|
70 | install-data-local: |
---|
71 | if test -z "$(DESTDIR)" ; then \ |
---|
72 | GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA); \ |
---|
73 | fi |
---|
74 | endif |
---|
75 | |
---|
76 | pixmapdir = $(datadir)/icons/hicolor/48x48/apps |
---|
77 | pixmap_DATA = gswitchit-applet.png gswitchit-properties-capplet.png |
---|
78 | |
---|
79 | gladedir = $(datadir)/gswitchit |
---|
80 | glade_DATA = gswitchit-plugins.glade \ |
---|
81 | gswitchit-properties.glade |
---|
82 | |
---|
83 | bin_PROGRAMS = gswitchit-plugins-capplet |
---|
84 | |
---|
85 | gswitchit_plugins_capplet_SOURCES = gswitchit-plugins.c \ |
---|
86 | gswitchit-plugins-add.c \ |
---|
87 | gswitchit-plugins.h |
---|
88 | |
---|
89 | gswitchit_plugins_capplet_CFLAGS = $(COMMON_CFLAGS) \ |
---|
90 | $(GNOME_LIBS2_CFLAGS) |
---|
91 | |
---|
92 | gswitchit_plugins_capplet_LDFLAGS = -export-dynamic |
---|
93 | |
---|
94 | gswitchit_plugins_capplet_LDADD = $(COMMON_LIBS) \ |
---|
95 | $(GNOME_LIBS2_LIBS) \ |
---|
96 | $(top_builddir)/libgswitchit/libgswitchit.a |
---|
97 | |
---|