NetBSD/external/mit/xorg/tools/bdftopcf/Makefile
mrg 2980e352a1 initial import of the crossbuild framework for modular Xorg. this
is heavily based upon the work rtr@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated.  there are 192 of them so it may take some time
before that is completed.
2008-07-29 05:01:21 +00:00

36 lines
920 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:23 mrg Exp $
NOMAN= 1
.include <bsd.own.mk>
HOSTPROG= bdftopcf
.PATH: ${X11SRCDIR.bdftopcf}
FREETYPE= ${X11SRCDIR.freetype}
SRCS= bdftopcf.c
HOST_CPPFLAGS+= -I${DESTDIR}${X11INCDIR} \
-I${DESTDIR}${X11INCDIR} \
-I${DESTDIR}${X11INCDIR}/X11/fonts \
-I${DESTDIR}${X11INCDIR}/freetype2 \
-I${X11SRCDIR.Xfont}/src/stubs \
-DBDFFORMAT -DPCFFORMAT -DSNFFORMAT -DX_GZIP_FONT_COMPRESSION \
-DFONT_ENCODINGS_DIRECTORY=\"${X11FONTDIR}/encodings/encodings.dir\"
.PATH: ${X11SRCDIR.Xfont}/src/bitmap
SRCS+= bdfread.c bdfutils.c bitmap.c bitmaputil.c fontink.c \
pcfread.c pcfwrite.c
.PATH: ${X11SRCDIR.Xfont}/src/fontfile
SRCS+= bufio.c decompress.c defaults.c fileio.c filewr.c gunzip.c
.PATH: ${X11SRCDIR.Xfont}/src/util
SRCS+= atom.c fontaccel.c miscutil.c private.c utilbitmap.c
LDADD+= -lz
.include <bsd.x11.mk>
.include <bsd.hostprog.mk>