aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-03-30 12:08:42 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-03-30 12:08:42 +0200
commit8c315b4082bd2cc70d3df5a3d34f0aeaee17d386 (patch)
treef88e5756e966317ad891192ff778521e22090a64 /GNUmakefile
parent44e182ddbecc5a0510ecf3326053625041cec619 (diff)
downloadfbida-8c315b4082bd2cc70d3df5a3d34f0aeaee17d386.tar.gz
start fbpdf
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