shell: Merge libgnome-control-center into main binary

This fixes problems with the CcEditableEntry type not being
registered and causing the printers and user-accounts panels not to
work. As we do not need to work on Windows, we do not need to split
out the library.
This commit is contained in:
Bastien Nocera 2011-11-07 17:51:54 +00:00
parent acd1d3c6df
commit 27c45abda3
11 changed files with 9 additions and 37 deletions

View file

@ -1,7 +1,7 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = po libgnome-control-center shell panels help SUBDIRS = po shell panels help
DIST_SUBDIRS = po help shell panels libgnome-control-center DIST_SUBDIRS = po help shell panels
DISTCLEANFILES = \ DISTCLEANFILES = \
gnome-doc-utils.make gnome-doc-utils.make

View file

@ -307,7 +307,6 @@ fi
AC_CONFIG_FILES([ AC_CONFIG_FILES([
Makefile Makefile
help/Makefile help/Makefile
libgnome-control-center/Makefile
panels/Makefile panels/Makefile
panels/common/Makefile panels/common/Makefile
panels/background/Makefile panels/background/Makefile

View file

@ -1,31 +0,0 @@
NULL =
uidir = $(pkgdatadir)/ui
AM_CPPFLAGS = \
$(LIBGNOME_CONTROL_CENTER_CFLAGS) \
-DGNOMELOCALEDIR="\"$(datadir)/locale\""\
-DUIDIR="\"$(uidir)\"" \
-DMENUDIR="\"$(menudir)\"" \
$(NULL)
noinst_LTLIBRARIES = libgnome-control-center.la
libgnome_control_center_la_SOURCES = \
cc-panel.c \
cc-panel.h \
cc-shell.c \
cc-shell.h \
cc-editable-entry.c \
cc-editable-entry.h \
$(NULL)
libgnome_control_center_la_LDFLAGS = \
-no-undefined \
$(NULL)
libgnome_control_center_la_LIBADD = \
$(LIBGNOME_CONTROL_CENTER_LIBS) \
$(NULL)
-include $(top_srcdir)/git.mk

View file

@ -1,6 +1,5 @@
INCLUDES = \ INCLUDES = \
-I$(top_srcdir) \ -I$(top_srcdir) \
-I$(top_srcdir)/libgnome-control-center \
$(SHELL_CFLAGS) $(SHELL_CFLAGS)
bin_PROGRAMS = gnome-control-center bin_PROGRAMS = gnome-control-center
@ -28,10 +27,15 @@ gnome_control_center_SOURCES = \
cc-shell-item-view.h \ cc-shell-item-view.h \
cc-shell-model.c \ cc-shell-model.c \
cc-shell-model.h \ cc-shell-model.h \
cc-editable-entry.c \
cc-editable-entry.h \
cc-panel.c \
cc-panel.h \
cc-shell.c \
cc-shell.h \
$(MARSHAL_FILES) $(MARSHAL_FILES)
gnome_control_center_LDADD = \ gnome_control_center_LDADD = \
$(top_builddir)/libgnome-control-center/libgnome-control-center.la \
$(SHELL_LIBS) $(SHELL_LIBS)
gnome_control_center_LDFLAGS = -export-dynamic gnome_control_center_LDFLAGS = -export-dynamic

View file

@ -22,7 +22,7 @@
#define _GNOME_CONTROL_CENTER_H #define _GNOME_CONTROL_CENTER_H
#include <glib-object.h> #include <glib-object.h>
#include <libgnome-control-center/cc-shell.h> #include "cc-shell.h"
G_BEGIN_DECLS G_BEGIN_DECLS