diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/build-data/makefile/unix.in | 8 | ||||
-rw-r--r-- | src/build-data/makefile/unix_shr.in | 10 |
2 files changed, 13 insertions, 5 deletions
diff --git a/src/build-data/makefile/unix.in b/src/build-data/makefile/unix.in index e0e49017f..1355b7449 100644 --- a/src/build-data/makefile/unix.in +++ b/src/build-data/makefile/unix.in @@ -27,8 +27,10 @@ BINDIR = $(DESTDIR)/bin LIBDIR = $(DESTDIR)/@{var:libdir} HEADERDIR = $(DESTDIR)/@{var:includedir}/botan DOCDIR = $(DESTDIR)/@{var:docdir}/Botan-$(VERSION) +PKGCONF_DIR = $(LIBDIR)/pkgconfig CONFIG_SCRIPT = @{var:botan-config} +PKGCONFIG = botan.pc ################################################## # Aliases for Common Programs # @@ -111,11 +113,13 @@ install: $(LIBRARIES) $(MKDIR_INSTALL) $(HEADERDIR) $(MKDIR_INSTALL) $(LIBDIR) $(MKDIR_INSTALL) $(BINDIR) + $(MKDIR_INSTALL) $(PKGCONF_DIR) @for i in $(DOCS); do \ $(INSTALL_CMD_DATA) $$i $(DOCDIR); \ done @for i in $(HEADERS); do \ $(INSTALL_CMD_DATA) $$i $(HEADERDIR); \ done - @$(INSTALL_CMD_DATA) $(STATIC_LIB) $(LIBDIR) - @$(INSTALL_CMD_EXEC) $(CONFIG_SCRIPT) $(BINDIR) + $(INSTALL_CMD_DATA) $(STATIC_LIB) $(LIBDIR) + $(INSTALL_CMD_EXEC) $(CONFIG_SCRIPT) $(BINDIR) + $(INSTALL_CMD_DATA) $(PKGCONFIG) $(PKGCONF_DIR)
\ No newline at end of file diff --git a/src/build-data/makefile/unix_shr.in b/src/build-data/makefile/unix_shr.in index d13594ff0..1a70fef99 100644 --- a/src/build-data/makefile/unix_shr.in +++ b/src/build-data/makefile/unix_shr.in @@ -29,8 +29,10 @@ BINDIR = $(DESTDIR)/bin LIBDIR = $(DESTDIR)/@{var:libdir} HEADERDIR = $(DESTDIR)/@{var:includedir}/botan DOCDIR = $(DESTDIR)/@{var:docdir}/Botan-$(VERSION) +PKGCONF_DIR = $(LIBDIR)/pkgconfig CONFIG_SCRIPT = @{var:botan-config} +PKGCONFIG = botan.pc ################################################## # Aliases for Common Programs # @@ -124,13 +126,15 @@ install: $(LIBRARIES) $(MKDIR_INSTALL) $(HEADERDIR) $(MKDIR_INSTALL) $(LIBDIR) $(MKDIR_INSTALL) $(BINDIR) + $(MKDIR_INSTALL) $(PKGCONF_DIR) @for i in $(DOCS); do \ $(INSTALL_CMD_DATA) $$i $(DOCDIR); \ done @for i in $(HEADERS); do \ $(INSTALL_CMD_DATA) $$i $(HEADERDIR); \ done - @$(INSTALL_CMD_DATA) $(STATIC_LIB) $(LIBDIR) - @$(INSTALL_CMD_EXEC) $(CONFIG_SCRIPT) $(BINDIR) - @$(INSTALL_CMD_EXEC) $(SHARED_LIB) $(LIBDIR) + $(INSTALL_CMD_DATA) $(STATIC_LIB) $(LIBDIR) + $(INSTALL_CMD_EXEC) $(CONFIG_SCRIPT) $(BINDIR) + $(INSTALL_CMD_EXEC) $(SHARED_LIB) $(LIBDIR) + $(INSTALL_CMD_DATA) $(PKGCONFIG) $(PKGCONF_DIR) $(CD) $(LIBDIR); $(LN) $(SHARED_LIB) $(SYMLINK) |