1# Libraries Makefile for OpenLDAP 2# $OpenLDAP$ 3## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4## 5## Copyright 1998-2021 The OpenLDAP Foundation. 6## All rights reserved. 7## 8## Redistribution and use in source and binary forms, with or without 9## modification, are permitted only as authorized by the OpenLDAP 10## Public License. 11## 12## A copy of this license is available in the file LICENSE in the 13## top-level directory of the distribution or, alternatively, at 14## <http://www.OpenLDAP.org/license.html>. 15 16SUBDIRS= \ 17 liblutil \ 18 liblber \ 19 liblunicode \ 20 libldap \ 21 librewrite 22 23PKGCONFIG_DIR=$(DESTDIR)$(libdir)/pkgconfig 24PKGCONFIG_SRCDIRS=liblber libldap 25 26install-local: 27 @$(MKDIR) $(PKGCONFIG_DIR) 28 @for i in $(PKGCONFIG_SRCDIRS); do \ 29 $(INSTALL_DATA) $$i/*.pc $(PKGCONFIG_DIR); \ 30 done 31