Makefile.am revision 69aaef8719c5cf33ed1c4090fa313ba281bf8a02
54fc3a2380517665b4cfe6234c85081bacec6150mturkDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb
54fc3a2380517665b4cfe6234c85081bacec6150mturkSUBDIRS = po
54fc3a2380517665b4cfe6234c85081bacec6150mturk# Some old versions of automake don't define builddir
54fc3a2380517665b4cfe6234c85081bacec6150mturkbuilddir ?= .
54fc3a2380517665b4cfe6234c85081bacec6150mturkDOXYGEN = @DOXYGEN@
54fc3a2380517665b4cfe6234c85081bacec6150mturkDISTSETUPOPTS =
beae3b927f4a40ba2f0b84d90cacfa1f0d528babwroweif HAVE_DEBIAN
54fc3a2380517665b4cfe6234c85081bacec6150mturkDISTSETUPOPTS += --install-layout=deb
sssdapiplugindir = $(sssdconfdir)/sssd.api.d
dbusintrospectdir = $(datarootdir)/sssd/introspect
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 \
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
$(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`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`git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4