2010-10-30 16:14:30 -04:00
|
|
|
SUBDIRS = data
|
|
|
|
|
2011-02-19 16:46:26 +00:00
|
|
|
# This is used in PANEL_CFLAGS
|
2010-10-30 16:14:30 -04:00
|
|
|
cappletname = user-accounts
|
|
|
|
NULL =
|
|
|
|
|
|
|
|
ccpanelsdir = $(PANELS_DIR)
|
|
|
|
ccpanels_LTLIBRARIES = libuser-accounts.la
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DDATADIR=\""$(datadir)"\" \
|
|
|
|
-DUIDIR=\""$(pkgdatadir)/ui/user-accounts"\" \
|
|
|
|
-DLIBLOCALEDIR=\""$(prefix)/lib/locale"\" \
|
|
|
|
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
|
|
|
|
-DUM_PIXMAP_DIR=\""$(pkgdatadir)/pixmaps"\" \
|
2012-05-23 10:43:17 -04:00
|
|
|
-DHAVE_LIBPWQUALITY \
|
2011-01-24 18:09:00 +00:00
|
|
|
-I$(srcdir)/../common/ \
|
2012-02-14 16:56:23 +00:00
|
|
|
-I$(srcdir)/../../shell/ \
|
2010-10-30 16:14:30 -04:00
|
|
|
$(PANEL_CFLAGS) \
|
2012-01-23 14:00:17 +00:00
|
|
|
$(USER_ACCOUNTS_PANEL_CFLAGS)
|
2010-10-30 16:14:30 -04:00
|
|
|
|
2011-03-03 14:12:23 -05:00
|
|
|
if BUILD_CHEESE
|
|
|
|
AM_CPPFLAGS += $(CHEESE_CFLAGS)
|
|
|
|
endif
|
|
|
|
|
2012-06-07 00:58:27 +02:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
um-realm-generated.c \
|
|
|
|
um-realm-generated.h
|
|
|
|
|
2010-10-30 16:14:30 -04:00
|
|
|
libuser_accounts_la_SOURCES = \
|
|
|
|
um-account-type.h \
|
|
|
|
um-account-type.c \
|
|
|
|
um-user.h \
|
|
|
|
um-user.c \
|
|
|
|
um-user-manager.h \
|
|
|
|
um-user-manager.c \
|
|
|
|
um-account-dialog.h \
|
|
|
|
um-account-dialog.c \
|
|
|
|
um-password-dialog.h \
|
|
|
|
um-password-dialog.c \
|
2012-05-23 08:40:56 -04:00
|
|
|
pw-utils.h \
|
|
|
|
pw-utils.c \
|
2010-10-30 16:14:30 -04:00
|
|
|
um-photo-dialog.h \
|
|
|
|
um-photo-dialog.c \
|
|
|
|
um-crop-area.h \
|
|
|
|
um-crop-area.c \
|
|
|
|
um-fingerprint-dialog.h \
|
|
|
|
um-fingerprint-dialog.c \
|
|
|
|
um-utils.h \
|
|
|
|
um-utils.c \
|
|
|
|
fingerprint-strings.h \
|
|
|
|
run-passwd.h \
|
|
|
|
run-passwd.c \
|
|
|
|
um-editable-button.h \
|
|
|
|
um-editable-button.c \
|
|
|
|
um-editable-combo.h \
|
|
|
|
um-editable-combo.c \
|
|
|
|
um-user-panel.h \
|
|
|
|
um-user-panel.c \
|
2012-06-07 00:58:27 +02:00
|
|
|
um-user-module.c \
|
|
|
|
um-realm-manager.c \
|
|
|
|
um-realm-manager.h \
|
|
|
|
$(BUILT_SOURCES)
|
2010-10-30 16:14:30 -04:00
|
|
|
|
|
|
|
libuser_accounts_la_LIBADD = \
|
|
|
|
$(PANEL_LIBS) \
|
2011-02-19 16:46:26 +00:00
|
|
|
$(USER_ACCOUNTS_PANEL_LIBS) \
|
2011-01-24 18:09:00 +00:00
|
|
|
$(top_builddir)/panels/common/liblanguage.la \
|
2012-05-23 10:43:17 -04:00
|
|
|
-lpwquality \
|
2011-01-24 23:42:27 -05:00
|
|
|
-lcrypt \
|
|
|
|
-lm
|
2010-10-30 16:14:30 -04:00
|
|
|
|
2011-03-03 14:12:23 -05:00
|
|
|
if BUILD_CHEESE
|
|
|
|
libuser_accounts_la_LIBADD += $(CHEESE_LIBS)
|
|
|
|
endif
|
|
|
|
|
2010-10-30 16:14:30 -04:00
|
|
|
libuser_accounts_la_LDFLAGS = $(PANEL_LDFLAGS)
|
|
|
|
|
2012-06-07 00:58:27 +02:00
|
|
|
um-realm-generated.c: $(srcdir)/data/org.freedesktop.realmd.xml
|
|
|
|
$(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.realmd. \
|
2012-08-17 16:58:10 +02:00
|
|
|
--generate-c-code um-realm-generated --c-namespace UmRealm \
|
|
|
|
--annotate "org.freedesktop.realmd.Realm" org.gtk.GDBus.C.Name Common \
|
|
|
|
--c-generate-object-manager $<
|
2012-06-07 00:58:27 +02:00
|
|
|
um-realm-generated.h: um-realm-generated.c
|
|
|
|
|
2012-06-06 23:08:22 +02:00
|
|
|
noinst_PROGRAMS = frob-account-dialog
|
|
|
|
|
|
|
|
frob_account_dialog_SOURCES = \
|
|
|
|
frob-account-dialog.c \
|
|
|
|
um-account-dialog.h \
|
|
|
|
um-account-dialog.c \
|
2012-06-07 00:58:27 +02:00
|
|
|
um-realm-manager.c \
|
|
|
|
um-realm-manager.h \
|
2012-06-06 23:08:22 +02:00
|
|
|
um-user.h \
|
|
|
|
um-user.c \
|
|
|
|
um-user-manager.c \
|
|
|
|
um-user-manager.h \
|
|
|
|
um-utils.h \
|
2012-06-07 00:58:27 +02:00
|
|
|
um-utils.c \
|
|
|
|
$(BUILT_SOURCES)
|
2012-06-06 23:08:22 +02:00
|
|
|
|
|
|
|
frob_account_dialog_LDADD = \
|
|
|
|
$(libuser_accounts_la_LIBADD)
|
|
|
|
|
|
|
|
frob_account_dialog_CFLAGS = \
|
|
|
|
$(AM_CFLAGS) \
|
|
|
|
-DUIDIR=\""$(pkgdatadir)/ui/user-accounts"\"
|
|
|
|
|
2012-06-14 14:22:18 +02:00
|
|
|
polkitdir = $(datadir)/polkit-1/actions
|
|
|
|
polkit_in_files = org.gnome.controlcenter.user-accounts.policy.in
|
|
|
|
|
|
|
|
@INTLTOOL_POLICY_RULE@
|
|
|
|
polkit_DATA = $(polkit_in_files:.policy.in=.policy)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(polkit_in_files) \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-30 16:14:30 -04:00
|
|
|
CLEANFILES = \
|
|
|
|
$(BUILT_SOURCES) \
|
2012-06-14 14:22:18 +02:00
|
|
|
$(polkit_DATA) \
|
2010-10-30 16:14:30 -04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
*~ \
|
|
|
|
Makefile.in
|
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|