source: trunk/third/gnome-applets/gswitchit/Makefile.am @ 21373

Revision 21373, 2.9 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21372, which included commits to RCS files with non-trunk default branches.
Line 
1SUBDIRS = help
2
3EXTRA_DIST = \
4        $(server_in_in_files) \
5        $(ui_DATA) \
6        $(schemas_in_files) \
7        $(schemas_DATA) \
8        $(pixmap_DATA) \
9        $(glade_DATA)
10
11libexec_PROGRAMS = gnome-keyboard-applet
12noinst_LIBRARIES = libgswitchit-applet.a
13
14gnome_keyboard_applet_SOURCES = switch.c
15
16libgswitchit_applet_a_SOURCES = gswitchit-applet.c \
17                         gswitchit-capplet.c \
18                         gswitchit-applet.h
19
20if ENABLE_FLAGS
21  flags_CFLAGS = -DENABLE_FLAGS=1
22endif
23
24COMMON_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
32COMMON_LIBS = $(LIBXKLAVIER_LIBS) \
33              $(LIBGLADE_LIBS)  \
34              $(X_LIBS)
35
36libgswitchit_applet_a_CFLAGS = $(COMMON_CFLAGS) \
37           $(GNOME_APPLETS_CFLAGS)
38
39gnome_keyboard_applet_CFLAGS = $(COMMON_CFLAGS) \
40           $(GNOME_APPLETS_CFLAGS)
41
42gnome_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
48serverdir       = $(libdir)/bonobo/servers
49server_in_files = GNOME_KeyboardApplet.server.in
50server_in_in_files = $(server_in_files:.server.in=.server.in.in)
51server_DATA     = $(server_in_files:.server.in=.server)
52
53$(server_in_files): $(server_in_in_files)
54        sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@
55
56CLEANFILES = $(server_in_files) $(server_DATA)
57
58@INTLTOOL_SERVER_RULE@
59
60uidir = $(datadir)/gnome-2.0/ui
61ui_DATA = GNOME_GSwitchItApplet.xml
62
63schemasdir       = @GCONF_SCHEMA_FILE_DIR@
64schemas_in_files = gswitchit.schemas.in
65schemas_DATA     = $(schemas_in_files:.schemas.in=.schemas)
66
67@INTLTOOL_SCHEMAS_RULE@
68
69if GCONF_SCHEMAS_INSTALL
70install-data-local:
71        if test -z "$(DESTDIR)" ; then \
72          GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA); \
73        fi
74endif
75
76pixmapdir = $(datadir)/icons/hicolor/48x48/apps
77pixmap_DATA = gswitchit-applet.png gswitchit-properties-capplet.png
78
79gladedir   =  $(datadir)/gswitchit
80glade_DATA = gswitchit-plugins.glade \
81             gswitchit-properties.glade
82
83bin_PROGRAMS = gswitchit-plugins-capplet
84
85gswitchit_plugins_capplet_SOURCES = gswitchit-plugins.c \
86                                    gswitchit-plugins-add.c \
87                                    gswitchit-plugins.h
88
89gswitchit_plugins_capplet_CFLAGS = $(COMMON_CFLAGS) \
90            $(GNOME_LIBS2_CFLAGS)
91
92gswitchit_plugins_capplet_LDFLAGS = -export-dynamic
93
94gswitchit_plugins_capplet_LDADD = $(COMMON_LIBS) \
95            $(GNOME_LIBS2_LIBS) \
96            $(top_builddir)/libgswitchit/libgswitchit.a
97 
Note: See TracBrowser for help on using the repository browser.