1 | ## Process this file with automake to produce Makefile.in |
---|
2 | |
---|
3 | SUBDIRS = docs |
---|
4 | |
---|
5 | INCLUDES = \ |
---|
6 | -I$(srcdir) \ |
---|
7 | -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ |
---|
8 | -DGTK_ENABLE_BROKEN \ |
---|
9 | $(GNOME_APPLETS_CFLAGS) \ |
---|
10 | $(GNOME_VFS_APPLETS_CFLAGS) |
---|
11 | |
---|
12 | libexec_PROGRAMS = gweather-applet-2 |
---|
13 | |
---|
14 | gweather_applet_2_SOURCES = \ |
---|
15 | gweather.h \ |
---|
16 | main.c \ |
---|
17 | gweather-about.c gweather-about.h \ |
---|
18 | gweather-pref.c gweather-pref.h \ |
---|
19 | gweather-dialog.c gweather-dialog.h \ |
---|
20 | gweather-applet.c gweather-applet.h \ |
---|
21 | weather.c weather.h \ |
---|
22 | gweather-xml.c gweather-xml.h |
---|
23 | |
---|
24 | gweather_applet_2_LDADD = \ |
---|
25 | $(GNOME_APPLETS_LIBS) \ |
---|
26 | $(GNOME_VFS_APPLETS_LIBS) |
---|
27 | |
---|
28 | schemasdir = @GCONF_SCHEMA_FILE_DIR@ |
---|
29 | schemas_in_files = gweather.schemas.in |
---|
30 | schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) |
---|
31 | |
---|
32 | @INTLTOOL_SCHEMAS_RULE@ |
---|
33 | |
---|
34 | uidir = $(datadir)/gnome-2.0/ui |
---|
35 | ui_DATA = GNOME_GWeatherApplet.xml |
---|
36 | |
---|
37 | serverdir = $(libdir)/bonobo/servers |
---|
38 | server_in_files = GNOME_GWeatherApplet_Factory.server.in |
---|
39 | server_DATA = $(server_in_files:.server.in=.server) |
---|
40 | |
---|
41 | $(server_in_files): $(server_in_files:.server.in=.server.in.in) |
---|
42 | sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@ |
---|
43 | |
---|
44 | CLEANFILES = $(server_in_files) $(server_DATA) |
---|
45 | |
---|
46 | gweatherlocationsdir = $(datadir)/gweather |
---|
47 | gweatherlocations_in_files = Locations.xml.in |
---|
48 | gweatherlocations_DATA = $(gweatherlocations_in_files:.xml.in=.xml) |
---|
49 | %.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po-locations/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po-locations/.intltool-merge-cache $(top_srcdir)/po-locations $< $@ |
---|
50 | |
---|
51 | EXTRA_DIST = \ |
---|
52 | GNOME_GWeatherApplet_Factory.server.in.in \ |
---|
53 | $(schemas_in_files) \ |
---|
54 | $(ui_DATA) \ |
---|
55 | Locations.xml |
---|
56 | |
---|
57 | @INTLTOOL_SERVER_RULE@ |
---|
58 | |
---|
59 | if GCONF_SCHEMAS_INSTALL |
---|
60 | install-data-local: |
---|
61 | GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) ; |
---|
62 | endif |
---|