This makes loading faster, with less I/O, avoids unnecessary code duplication (around 1k lines shaved), and ensures that all the panels link and work appropriately. By the same token, it will stop external panels from being created, and loaded. https://bugzilla.gnome.org/show_bug.cgi?id=690036
71 lines
1.5 KiB
Makefile
71 lines
1.5 KiB
Makefile
SUBDIRS = data gvc
|
|
|
|
# This is used in PANEL_CFLAGS
|
|
cappletname = sound
|
|
NULL =
|
|
|
|
noinst_LTLIBRARIES = libsound.la libgvcgtk.la
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(srcdir)/gvc/ \
|
|
$(PANEL_CFLAGS) \
|
|
$(SOUND_PANEL_CFLAGS) \
|
|
-DLOCALE_DIR=\""$(datadir)/locale"\" \
|
|
-DLIBEXECDIR=\"$(libexecdir)\" \
|
|
-DGLADEDIR=\""$(pkgdatadir)"\" \
|
|
-DSOUND_DATA_DIR="\"$(datadir)/sounds\"" \
|
|
-DSOUND_SET_DIR="\"$(pkgdatadir)/sounds\"" \
|
|
-DICON_DATA_DIR="\"$(pkgdatadir)/icons\"" \
|
|
$(NULL)
|
|
|
|
# Needed because Automake complains if
|
|
# the same source file is used in a library
|
|
# and in an executable
|
|
libgvcgtk_la_SOURCES = \
|
|
gvc-channel-bar.h \
|
|
gvc-channel-bar.c \
|
|
$(NULL)
|
|
|
|
libsound_la_LIBADD = \
|
|
-lm \
|
|
gvc/libgvc.la \
|
|
libgvcgtk.la \
|
|
$(PANEL_LIBS) \
|
|
$(SOUND_PANEL_LIBS) \
|
|
$(NULL)
|
|
|
|
libsound_la_LDFLAGS = \
|
|
$(PANEL_LDFLAGS) \
|
|
$(NULL)
|
|
|
|
libsound_la_SOURCES = \
|
|
gvc-balance-bar.h \
|
|
gvc-balance-bar.c \
|
|
gvc-mixer-dialog.h \
|
|
gvc-mixer-dialog.c \
|
|
gvc-level-bar.h \
|
|
gvc-level-bar.c \
|
|
gvc-combo-box.h \
|
|
gvc-combo-box.c \
|
|
gvc-speaker-test.h \
|
|
gvc-speaker-test.c \
|
|
gvc-sound-theme-chooser.c \
|
|
gvc-sound-theme-chooser.h \
|
|
sound-theme-file-utils.c \
|
|
sound-theme-file-utils.h \
|
|
cc-sound-panel.c \
|
|
cc-sound-panel.h \
|
|
$(NULL)
|
|
|
|
BUILT_SOURCES = \
|
|
$(NULL)
|
|
|
|
CLEANFILES = \
|
|
$(BUILT_SOURCES) \
|
|
$(NULL)
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
*~ \
|
|
Makefile.in
|
|
|
|
-include $(top_srcdir)/git.mk
|