From b86fba5354cf91f189249f0959d0f34a2e2fb8a8 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 12 Nov 2002 17:11:43 +0000 Subject: optional linking with fonts --- util/fbrun/Makefile.am | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/util/fbrun/Makefile.am b/util/fbrun/Makefile.am index ba211d6..a30108e 100644 --- a/util/fbrun/Makefile.am +++ b/util/fbrun/Makefile.am @@ -2,6 +2,16 @@ FLUXBOX_SRC_DIR=../../src/ INCLUDES = -I${FLUXBOX_SRC_DIR} bin_PROGRAMS = fbrun fbrun_SOURCES = FbRun.hh FbRun.cc main.cc -fbrun_LDADD = ${FLUXBOX_SRC_DIR}Font.o ${FLUXBOX_SRC_DIR}StringUtil.o -fbrun.o: ${FLUXBOX_SRC_DIR}/Font.hh +if XFT +xft_OBJ = ${FLUXBOX_SRC_DIR}/XftFontImp.o +endif +if MULTIBYTE +xmb_OBJ = ${FLUXBOX_SRC_DIR}/XmbFontImp.o +endif + +fbrun_LDADD = ${FLUXBOX_SRC_DIR}Font.o ${FLUXBOX_SRC_DIR}StringUtil.o ${FLUXBOX_SRC_DIR}/Timer.o \ + ${FLUXBOX_SRC_DIR}/BaseDisplay.o ${FLUXBOX_SRC_DIR}/i18n.o \ + ${xft_OBJ} ${xmb_OBJ} ${FLUXBOX_SRC_DIR}/XFontImp.o + +fbrun.o: ${FLUXBOX_SRC_DIR}/Font.hh ${FLUXBOX_SRC_DIR}/BaseDisplay.hh -- cgit v0.11.2