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
31 lines
781 B
Makefile
31 lines
781 B
Makefile
# This is used in PANEL_CFLAGS
|
|
cappletname = bluetooth
|
|
|
|
noinst_LTLIBRARIES = libbluetooth.la
|
|
|
|
INCLUDES = \
|
|
$(PANEL_CFLAGS) \
|
|
$(BLUETOOTH_CFLAGS) \
|
|
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
|
|
-DPKGDATADIR="\"$(pkgdatadir)\"" \
|
|
$(NULL)
|
|
|
|
libbluetooth_la_SOURCES = \
|
|
cc-bluetooth-panel.c \
|
|
cc-bluetooth-panel.h
|
|
|
|
libbluetooth_la_LIBADD = $(PANEL_LIBS) $(BLUETOOTH_LIBS)
|
|
|
|
desktopdir = $(datadir)/applications
|
|
desktop_in_in_files = bluetooth-properties.desktop.in.in
|
|
desktop_in_files = bluetooth-properties.desktop.in
|
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
ui_DATA = bluetooth.ui
|
|
uidir = $(pkgdatadir)
|
|
|
|
CLEANFILES = $(desktop_DATA)
|
|
EXTRA_DIST = $(man_MANS) $(desktop_in_in_files) $(ui_DATA)
|
|
|
|
-include $(top_srcdir)/git.mk
|