aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 4366677..ba9d15e 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -16,7 +16,7 @@ all: build
# what to build
TARGETS := exiftran thumbnail.cgi
ifeq ($(HAVE_LINUX_FB_H),yes)
- TARGETS += fbi
+ TARGETS += fbi fbpdf
endif
ifeq ($(HAVE_MOTIF),yes)
TARGETS += ida
@@ -188,6 +188,20 @@ fbi: $(OBJS_FBI) $(OBJS_READER)
########################################################################
+# rules for fbpdf
+
+# object files
+OBJS_FBPDF := \
+ fbpdf.o vt.o fbtools.o drmtools.o
+
+# font + drm + jpeg/exif libs
+fbpdf : CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm poppler-glib)
+fbpdf : LDLIBS += $(shell $(PKG_CONFIG) --libs libdrm poppler-glib)
+
+fbpdf: $(OBJS_FBPDF)
+
+
+########################################################################
# general rules
.PHONY: check-libjpeg build install clean distclean realclean