Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / bin / xterm / Makefile
blob300c4e378b422dfb0b1b12cca18978e79cf5a658
1 # $NetBSD: Makefile,v 1.3 2009/01/18 14:44:55 christos 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 linedata.c menu.c misc.c print.c ptydata.c \
8 screen.c scrollback.c scrollbar.c tabs.c util.c xstrings.c \
9 TekPrsTbl.c Tekproc.c VTPrsTbl.c main.c charclass.c precompose.c \
10 wcwidth.c xutf8.c cachedGCs.c xtermcap.c
12 CPPFLAGS+= -I${X11SRCDIR.${PROG}} \
13 -I${DESTDIR}${X11INCDIR}/freetype2 \
14 -DSCROLLBAR_RIGHT -DOPT_WIDE_CHARS \
15 -DXRENDERFONT -DXFREE86_FT2 -DOPT_PASTE64 \
16 -DPROJECTROOT=${X11ROOTDIR}
18 CPPFLAGS.main.c=-DUTMP -DUSE_TTY_GROUP ${X11FLAGS.VERSION}
20 APPDEFS=XTerm.ad XTerm-color.ad
22 BUILDSYMLINKS= XTerm-col.ad XTerm-color.ad
24 LDADD+= -lXft -lfontconfig -lfreetype -lexpat -lXrender
25 DPADD+= ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER}
26 LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -ltermcap -lutil
27 DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
28 ${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBTERMCAP} ${LIBUTIL}
30 SUBDIR= resize uxterm
32 .PATH: ${X11SRCDIR.${PROG}}
34 .include "Makefile.inc"
36 .include <bsd.x11.mk>
37 .include <bsd.prog.mk>
38 .include <bsd.subdir.mk>