fix .desktop file
[gconf-editor] / src / Makefile.am
1 INCLUDES = \
2         -DLOCALEDIR=\""$(datadir)/locale"\" \
3         -DDATADIR=\""$(pkgdatadir)"\"   \
4         -DICONDIR="\"$(pkgdatadir)/icons\"" \
5         $(DISABLE_DEPRECATED_CFLAGS) \
6         $(GCONF_EDITOR_CFLAGS) \
7         $(GCONF_EDITOR_POLKIT_CFLAGS)
8
9 bin_PROGRAMS = gconf-editor
10
11 gconf_editor_built_headers = gconf-marshal.h
12 gconf_editor_built_cfiles = gconf-marshal.c
13
14 gconf_editor_SOURCES =                  \
15         gconf-bookmarks.c               \
16         gconf-bookmarks.h               \
17         gconf-bookmarks-dialog.c        \
18         gconf-bookmarks-dialog.h        \
19         gconf-cell-renderer.c           \
20         gconf-cell-renderer.h           \
21         gconf-editor-application.c      \
22         gconf-editor-application.h      \
23         gconf-editor-window.c           \
24         gconf-editor-window.h           \
25         gconf-key-editor.c              \
26         gconf-key-editor.h              \
27         gconf-list-model.c              \
28         gconf-list-model.h              \
29         gconf-policykit.c               \
30         gconf-policykit.h               \
31         gconf-stock-icons.c             \
32         gconf-stock-icons.h             \
33         gconf-tree-model.c              \
34         gconf-tree-model.h              \
35         gconf-util.c                    \
36         gconf-util.h                    \
37         gedit-output-window.c           \
38         gedit-output-window.h           \
39         gconf-search.h                  \
40         gconf-search.c                  \
41         gconf-search-dialog.h           \
42         gconf-search-dialog.c           \
43         main.c                          \
44         $(gconf_editor_built_headers)   \
45         $(gconf_editor_built_cfiles)
46
47 ## we just punt on built sources, and check them into svn, manually updating
48 ## when required.
49 regenerate-built-sources:
50         echo "Building gconf-marshal.h" \
51         && @GLIB_GENMARSHAL@ --prefix=gconf_marshal gconf-marshal.list --header > gconf-marshal.h \
52         && echo "Building gconf-marshal.c" \
53         && echo "#include <gconf-marshal.h>" > gconf-marshal.c \
54         && @GLIB_GENMARSHAL@ --prefix=gconf_marshal gconf-marshal.list --body >> gconf-marshal.c
55
56
57 gconf_editor_LDADD = \
58         $(GCONF_EDITOR_LIBS) \
59         $(GCONF_EDITOR_POLKIT_LIBS)
60
61 EXTRA_DIST = \
62         gconf-marshal.list