Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / tools / mkfontscale / Makefile
blobcf49360587c7619c67ee79ecdb7136c1840869fa
1 # $NetBSD: Makefile,v 1.7 2015/07/23 08:03:26 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 ftfntfmt.c \
16 ftglyph.c ftinit.c ftmm.c ftpfr.c ftstroke.c ftsynth.c \
17 ftsystem.c fttype1.c ftwinfnt.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/bzip2
35 #SRCS.freetype+= ftbzip2.c
37 .PATH: ${FREETYPE}/src/lzw
38 SRCS.freetype+= ftlzw.c
40 .PATH: ${FREETYPE}/src/pcf
41 SRCS.freetype+= pcf.c
43 .PATH: ${FREETYPE}/src/pfr
44 SRCS.freetype+= pfr.c
46 .PATH: ${FREETYPE}/src/psaux
47 SRCS.freetype+= psaux.c
49 .PATH: ${FREETYPE}/src/pshinter
50 SRCS.freetype+= pshinter.c
52 .PATH: ${FREETYPE}/src/psnames
53 SRCS.freetype+= psnames.c
55 .PATH: ${FREETYPE}/src/raster
56 SRCS.freetype+= raster.c
58 .PATH: ${FREETYPE}/src/sfnt
59 SRCS.freetype+= sfnt.c
61 .PATH: ${FREETYPE}/src/smooth
62 SRCS.freetype+= smooth.c
64 .PATH: ${FREETYPE}/src/truetype
65 SRCS.freetype+= truetype.c
67 .PATH: ${FREETYPE}/src/type1
68 SRCS.freetype+= type1.c
70 .PATH: ${FREETYPE}/src/type42
71 SRCS.freetype+= type42.c
73 .PATH: ${FREETYPE}/src/winfonts
74 SRCS.freetype+= winfnt.c
76 .PATH: ${X11SRCDIR.fontenc}/src
77 SRCS.fontenc= fontenc.c encparse.c
79 SRCS+= ${SRCS.mkfontscale} ${SRCS.freetype} ${SRCS.fontenc}
81 LDADD= -lz
82 #LDADD+= -lbz2
84 HOST_CPPFLAGS= -DFONTENC_NO_LIBFONT -DXFREE86_FT2 -DFONTENC_NO_LIBFONT \
85 -DFT2_BUILD_LIBRARY -DDARWIN_NO_CARBON \
86 -DFONT_ENCODINGS_DIRECTORY=\"${X11FONTDIR}/encodings/encodings.dir\" \
87 -DPACKAGE_STRING=\"NetBSD\ tools\ version\"
88 HOST_CPPFLAGS+= -DFT_CONFIG_OPTION_DISABLE_BZIP2
89 HOST_CPPFLAGS+= -I${FREETYPE}/include -I${DESTDIR}${X11INCDIR} \
90 -I${DESTDIR}${X11INCDIR}/freetype2
92 .include <bsd.x11.mk>
93 .include <bsd.hostprog.mk>