initial commit
[gconf-editor] / src / Makefile.am
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644 (file)
index 0000000..6a3d914
--- /dev/null
@@ -0,0 +1,62 @@
+INCLUDES = \
+       -DLOCALEDIR=\""$(datadir)/locale"\" \
+       -DDATADIR=\""$(pkgdatadir)"\"   \
+       -DICONDIR="\"$(pkgdatadir)/icons\"" \
+       $(DISABLE_DEPRECATED_CFLAGS) \
+       $(GCONF_EDITOR_CFLAGS) \
+       $(GCONF_EDITOR_POLKIT_CFLAGS)
+
+bin_PROGRAMS = gconf-editor
+
+gconf_editor_built_headers = gconf-marshal.h
+gconf_editor_built_cfiles = gconf-marshal.c
+
+gconf_editor_SOURCES =                 \
+       gconf-bookmarks.c               \
+       gconf-bookmarks.h               \
+       gconf-bookmarks-dialog.c        \
+       gconf-bookmarks-dialog.h        \
+       gconf-cell-renderer.c           \
+       gconf-cell-renderer.h           \
+       gconf-editor-application.c      \
+       gconf-editor-application.h      \
+       gconf-editor-window.c           \
+       gconf-editor-window.h           \
+       gconf-key-editor.c              \
+       gconf-key-editor.h              \
+       gconf-list-model.c              \
+       gconf-list-model.h              \
+       gconf-policykit.c               \
+       gconf-policykit.h               \
+       gconf-stock-icons.c             \
+       gconf-stock-icons.h             \
+       gconf-tree-model.c              \
+       gconf-tree-model.h              \
+       gconf-util.c                    \
+       gconf-util.h                    \
+       gedit-output-window.c           \
+       gedit-output-window.h           \
+       gconf-search.h                  \
+       gconf-search.c                  \
+       gconf-search-dialog.h           \
+       gconf-search-dialog.c           \
+       main.c                          \
+       $(gconf_editor_built_headers)   \
+       $(gconf_editor_built_cfiles)
+
+## we just punt on built sources, and check them into svn, manually updating
+## when required.
+regenerate-built-sources:
+       echo "Building gconf-marshal.h" \
+       && @GLIB_GENMARSHAL@ --prefix=gconf_marshal gconf-marshal.list --header > gconf-marshal.h \
+       && echo "Building gconf-marshal.c" \
+       && echo "#include <gconf-marshal.h>" > gconf-marshal.c \
+        && @GLIB_GENMARSHAL@ --prefix=gconf_marshal gconf-marshal.list --body >> gconf-marshal.c
+
+
+gconf_editor_LDADD = \
+       $(GCONF_EDITOR_LIBS) \
+       $(GCONF_EDITOR_POLKIT_LIBS)
+
+EXTRA_DIST = \
+       gconf-marshal.list