Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / bin / xterm / Makefile
blob2281f98c787cdaa06dc00cb8f9ebc93da49b55bd
1 # $NetBSD: Makefile,v 1.8 2006/09/24 07:59:59 xtraeme Exp $
3 .include <bsd.own.mk>
5 PROG= xterm
6 SRCS= button.c charproc.c charsets.c cursor.c data.c doublechr.c \
7 fontutils.c input.c menu.c misc.c print.c ptydata.c screen.c \
8 scrollbar.c tabs.c util.c xstrings.c TekPrsTbl.c Tekproc.c VTPrsTbl.c \
9 main.c charclass.c precompose.c wcwidth.c xutf8.c
11 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/xterm \
12 -I${DESTDIR}${X11INCDIR}/freetype2 \
13 -DSCROLLBAR_RIGHT -DOPT_WIDE_CHARS -DOPT_LUIT_PROG \
14 -DXRENDERFONT -DXFREE86_FT2 -DOPT_PASTE64 \
15 -DPROJECTROOT=${X11ROOTDIR}
17 CPPFLAGS.main.c=-DUTMP -DUSE_TTY_GROUP ${X11FLAGS.VERSION}
19 APPDEFS=XTerm.ad XTerm-color.ad
21 BUILDSYMLINKS= XTerm-col.ad XTerm-color.ad
23 LDADD+= -lXft -lfontconfig -lfreetype -lexpat -lXrender
24 DPADD+= ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER}
25 LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -ltermcap -lutil
26 DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
27 ${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBTERMCAP} ${LIBUTIL}
29 SUBDIR= resize uxterm
31 .PATH: ${X11SRCDIR.xc}/programs/${PROG}
33 .include <bsd.x11.mk>
34 .include <bsd.prog.mk>
35 .include <bsd.subdir.mk>