No empty .Rs/.Re
[netbsd-mini2440.git] / external / mit / xorg / tools / mkfontscale / Makefile
blob28cd1d84e643952d2cfec06ccea4154820324b43
1 # $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
3 NOMAN= 1
5 .include <bsd.own.mk>
7 HOSTPROG= mkfontscale
9 FREETYPE= ${X11SRCDIR.freetype}
11 .PATH: ${X11SRCDIR.${HOSTPROG}}
12 SRCS.mkfontscale= mkfontscale.c list.c hash.c ident.c
14 .PATH: ${FREETYPE}/src/base
15 SRCS.freetype+= ftapi.c ftbase.c ftbbox.c ftbdf.c ftdebug.c ftglyph.c \
16 ftinit.c ftmm.c ftpfr.c ftstroke.c ftsynth.c ftsystem.c \
17 fttype1.c ftwinfnt.c ftxf86.c ftbitmap.c
19 .PATH: ${FREETYPE}/src/autofit
20 SRCS.freetype+= autofit.c
22 .PATH: ${FREETYPE}/src/bdf
23 SRCS.freetype+= bdf.c
25 .PATH: ${FREETYPE}/src/cff
26 SRCS.freetype+= cff.c
28 .PATH: ${FREETYPE}/src/cid
29 SRCS.freetype+= type1cid.c
31 .PATH: ${FREETYPE}/src/gzip
32 SRCS.freetype+= ftgzip.c
34 .PATH: ${FREETYPE}/src/lzw
35 SRCS.freetype+= ftlzw.c
37 .PATH: ${FREETYPE}/src/pcf
38 SRCS.freetype+= pcf.c
40 .PATH: ${FREETYPE}/src/pfr
41 SRCS.freetype+= pfr.c
43 .PATH: ${FREETYPE}/src/psaux
44 SRCS.freetype+= psaux.c
46 .PATH: ${FREETYPE}/src/pshinter
47 SRCS.freetype+= pshinter.c
49 .PATH: ${FREETYPE}/src/psnames
50 SRCS.freetype+= psnames.c
52 .PATH: ${FREETYPE}/src/raster
53 SRCS.freetype+= raster.c
55 .PATH: ${FREETYPE}/src/sfnt
56 SRCS.freetype+= sfnt.c
58 .PATH: ${FREETYPE}/src/smooth
59 SRCS.freetype+= smooth.c
61 .PATH: ${FREETYPE}/src/truetype
62 SRCS.freetype+= truetype.c
64 .PATH: ${FREETYPE}/src/type1
65 SRCS.freetype+= type1.c
67 .PATH: ${FREETYPE}/src/type42
68 SRCS.freetype+= type42.c
70 .PATH: ${FREETYPE}/src/winfonts
71 SRCS.freetype+= winfnt.c
73 .PATH: ${X11SRCDIR.fontenc}/src
74 SRCS.fontenc= fontenc.c encparse.c
76 SRCS+= ${SRCS.mkfontscale} ${SRCS.freetype} ${SRCS.fontenc}
78 LDADD= -lz
80 HOST_CPPFLAGS= -DFONTENC_NO_LIBFONT -DXFREE86_FT2 -DFONTENC_NO_LIBFONT \
81 -DFT2_BUILD_LIBRARY -DDARWIN_NO_CARBON \
82 -DFONT_ENCODINGS_DIRECTORY=\"${X11FONTDIR}/encodings/encodings.dir\"
83 HOST_CPPFLAGS+= -I${FREETYPE}/include -I${DESTDIR}${X11INCDIR} \
84 -I${DESTDIR}${X11INCDIR}/freetype2
85 # -I${X11SRCDIR.xc}/include/fonts
87 .include <bsd.x11.mk>
88 .include <bsd.hostprog.mk>