Commit 3eea13bd authored by Hugh McMaster's avatar Hugh McMaster Committed by Quanah Gibson-Mount
Browse files

ITS#8996 - Generate and install a pkg-config file for the liblber library

parent 4e0f0a31
......@@ -40,7 +40,7 @@ lint5: lint5-local FORCE
clean-common: FORCE
$(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
$(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
*.o *.lo a.out *.exe core version.c .libs/*
*.o *.lo a.out *.exe *.pc core version.c .libs/*
depend-common: FORCE
$(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
......
......@@ -3194,6 +3194,7 @@ AC_CONFIG_FILES([Makefile:build/top.mk:Makefile.in:build/dir.mk]
[include/Makefile:build/top.mk:include/Makefile.in]
[libraries/Makefile:build/top.mk:libraries/Makefile.in:build/dir.mk]
[libraries/liblber/Makefile:build/top.mk:libraries/liblber/Makefile.in:build/lib.mk:build/lib-shared.mk]
[libraries/liblber/lber.pc]
[libraries/libldap/Makefile:build/top.mk:libraries/libldap/Makefile.in:build/lib.mk:build/lib-shared.mk]
[libraries/liblunicode/Makefile:build/top.mk:libraries/liblunicode/Makefile.in:build/lib.mk:build/lib-static.mk]
[libraries/liblutil/Makefile:build/top.mk:libraries/liblutil/Makefile.in:build/lib.mk:build/lib-static.mk]
......
......@@ -20,3 +20,11 @@ SUBDIRS= \
libldap \
librewrite
PKGCONFIG_DIR=$(DESTDIR)$(libdir)/pkgconfig
PKGCONFIG_SRCDIRS=liblber
install-local:
@$(MKDIR) $(PKGCONFIG_DIR)
@for i in $(PKGCONFIG_SRCDIRS); do \
$(INSTALL_DATA) $$i/*.pc $(PKGCONFIG_DIR); \
done
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
libdir=@libdir@
Name: lber (@PACKAGE@)
Description: OpenLDAP Lightweight ASN.1 Basic Encoding Rules library
URL: https://www.openldap.org
Version: @VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -llber
Libs.private: @LIBS@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment