make, scripts: Integrate pkg-config into build

First attempt on integrating pkg-config in package build process.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-01-23 11:19:43 +00:00
commit e26fbeb0f7
3 changed files with 10 additions and 7 deletions

View file

@ -554,7 +554,7 @@ endif
# -- CRONTAB
ifneq ($(TARGET),mingw)
INSTALLATION_FILE_TYPES += CRONTAB
CRONTAB += $(filter-out $(DONT_INSTALL),$(wildcard *.crontab))
CRONTAB += $(filter-out $(DONT_INSTALL),$(wildcard *.crontab))
BUILD_CRONTABDIR = $(TOPDIR)/cron.d
INSTALLED_CRONTAB = $(addprefix $(INSTALL_CRONTABDIR)/,$(CRONTAB))
endif
@ -562,7 +562,7 @@ endif
# -- PKG_CONFIG
ifneq ($(TARGET),mingw)
INSTALLATION_FILE_TYPES += PKG_CONFIG
PKG_CONFIG += $(filter-out $(DONT_INSTALL),$(wildcard *.pc))
PKG_CONFIG += $(sort $(filter-out $(DONT_INSTALL),$(wildcard *.pc) $(LOCAL_PKG_CONFIG)))
BUILD_PKG_CONFIGDIR = $(MODDIR)/pkgconfig
INSTALLED_PKG_CONFIG = $(addprefix $(INSTALL_PKG_CONFIGDIR)/,$(PKG_CONFIG))
endif