diff options
Diffstat (limited to 'include/xmlsec/Makefile.am')
-rw-r--r-- | include/xmlsec/Makefile.am | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/include/xmlsec/Makefile.am b/include/xmlsec/Makefile.am new file mode 100644 index 00000000..08592e1e --- /dev/null +++ b/include/xmlsec/Makefile.am @@ -0,0 +1,63 @@ +## Process this file with automake to produce Makefile.in +NULL = +SUBDIRS = private $(XMLSEC_CRYPTO_LIST) +EXTRA_DIST = skeleton mscrypto $(XMLSEC_CRYPTO_DISABLED_LIST) + +xmlsecincdir = $(includedir)/xmlsec1/xmlsec + +xmlsecinc_HEADERS = \ + app.h \ + base64.h \ + bn.h \ + buffer.h \ + crypto.h \ + dl.h \ + errors.h \ + exports.h \ + io.h \ + keyinfo.h \ + keysdata.h \ + keys.h \ + keysmngr.h \ + list.h \ + membuf.h \ + nodeset.h \ + parser.h \ + private.h \ + soap.h \ + strings.h \ + templates.h \ + transforms.h \ + version.h \ + x509.h \ + xkms.h \ + xmldsig.h \ + xmlenc.h \ + xmlsec.h \ + xmltree.h \ + $(NULL) + +remove-old-headers: + @if test "x$(DESTDIR)" = "x" && test -d "$(includedir)/xmlsec"; then \ + echo "----------------------------------------------------------------------"; \ + echo; \ + echo "*** WARNING ***:"; \ + echo; \ + echo "You seem to have old xmlsec header files installed in:"; \ + echo; \ + echo " \"$(includedir)/xmlsec\""; \ + echo; \ + echo "The entire directory will be removed now."; \ + echo "To allow parallel installation of different xmlsec library versions,"; \ + echo "the header files are now installed in a version specific subdirectory:"; \ + echo; \ + echo " \"$(xmlsecincdir)\""; \ + echo; \ + echo "----------------------------------------------------------------------"; \ + echo; \ + rm -rf "$(includedir)/xmlsec"; \ + fi + +install-exec-hook: remove-old-headers + $(mkinstalldirs) $(DESTDIR)$(xmlsecincdir) + |