diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-31 22:31:39 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-31 22:31:39 +0200 |
commit | d34fadd78b268358c9fb912ab2a2fbc246491e9b (patch) | |
tree | d62139c3fc2c7a735a9868aca15bf480f984575a /GNUmakefile | |
parent | 246d75de4d8fb514c7c9b3042bec03ffdf5ef268 (diff) | |
download | fbida-d34fadd78b268358c9fb912ab2a2fbc246491e9b.tar.gz |
build: throw error on missing deps for fbpdf
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index db46f2e..7b54373 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -195,7 +195,15 @@ PKGS_FBPDF := libdrm poppler-glib gbm epoxy cairo-gl fbpdf : CFLAGS += $(shell $(PKG_CONFIG) --cflags $(PKGS_FBPDF)) fbpdf : LDLIBS += $(shell $(PKG_CONFIG) --libs $(PKGS_FBPDF)) +ifeq ($(shell $(PKG_CONFIG) $(PKGS_FBPDF) && echo ok),ok) fbpdf: $(OBJS_FBPDF) +else +.PHONY: fbpdf +fbpdf: + @echo "Build dependencies missing for fbpdf" + @echo "needed: $(PKGS_FBPDF)" + false +endif ######################################################################## |