Makefile.am revision bfbf5cb0f00c60c0f000f56c282377b13b9a89ab
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny ChevalierDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier# Some old versions of automake don't define builddir
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny ChevalierDOXYGEN = @DOXYGEN@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny ChevalierDISTSETUPOPTS =
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierif HAVE_DEBIAN
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny ChevalierDISTSETUPOPTS += --install-layout=deb
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevaliersssdlibexecdir = $(libexecdir)/sssd
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevaliersssdlibdir = $(libdir)/sssd
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierldblibdir = @ldblibdir@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierif BUILD_KRB5_LOCATOR_PLUGIN
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierkrb5plugindir = @krb5pluginpath@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevaliersssdconfdir = $(sysconfdir)/sssd
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevaliersssdapiplugindir = $(sssdconfdir)/sssd.api.d
cf0fbc49e67b55f8d346fc94de28c90113505297Thomas Hindoe Paaboel Andersendbusintrospectdir = $(datarootdir)/sssd/introspect
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierlocaledir = @localedir@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevaliernsslibdir = @nsslibdir@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierpamlibdir = @pammoddir@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierdbpath = @dbpath@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierpluginpath = @pluginpath@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierpidpath = @pidpath@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierpipepath = @pipepath@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierinitdir = @initdir@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevaliersystemdunitdir = @systemdunitdir@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierlogpath = @logpath@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierpubconfpath = @pubconfpath@
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalierif WANT_AUX_INFO
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier AM_CFLAGS += -aux-info $@.X
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier -Wcast-qual -Wcast-align -Wwrite-strings \
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier -Werror-implicit-function-declaration
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny ChevalierACLOCAL_AMFLAGS = -I m4 -I .
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevaliersbin_PROGRAMS = \
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier sss_useradd \
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier sss_userdel \
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier sss_groupadd \
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier sss_groupdel \
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier sss_usermod \
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier sss_groupmod \
2b89a960604d44ea1483c0d99bfb567dab9c3aa1Ronny Chevalier sss_groupshow \
PYTHON_TESTS += $(srcdir)/src/config/SSSDConfigTest.py
SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_sha512crypt.c \
SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_sha512crypt.c \
-I$(srcdir)/src/sss_client \
-DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
EXTRA_DIST = build/config.rpath
dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
-Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
ldb_mod_test_dir: memberof.la
cp $(builddir)/.libs/memberof.so $(builddir)/ldb_mod_test_dir
pam_test_client_SOURCES = src/sss_client/pam_test_client.c
nsslib_LTLIBRARIES = libnss_sss.la
-Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
pamlib_LTLIBRARIES = pam_sss.la
-Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
$(MAKE) -C src/man update-po
$(DOXYGEN) src/doxy.config
cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --record=$(abs_builddir)/src/config/.files; \
cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --root=$(DESTDIR) --record=$(abs_builddir)/src/config/.files; \
rm $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 \
$(DESTDIR)/$(nsslibdir)/libnss_sss.so
if [ -f $(abs_builddir)/src/config/.files ]; then \
cat $(abs_builddir)/src/config/.files | xargs -iq rm -f $(DESTDIR)/q; \
rm $(abs_builddir)/src/config/.files ; \
cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config clean --all
cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec
sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
-bs SPECS/sssd.spec
sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4