2006-09-24 11:59:59 +04:00
|
|
|
# $NetBSD: Makefile,v 1.8 2006/09/24 07:59:59 xtraeme Exp $
|
2003-09-12 06:39:49 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= xterm
|
|
|
|
SRCS= button.c charproc.c charsets.c cursor.c data.c doublechr.c \
|
|
|
|
fontutils.c input.c menu.c misc.c print.c ptydata.c screen.c \
|
|
|
|
scrollbar.c tabs.c util.c xstrings.c TekPrsTbl.c Tekproc.c VTPrsTbl.c \
|
|
|
|
main.c charclass.c precompose.c wcwidth.c xutf8.c
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/xterm \
|
2003-09-30 10:41:29 +04:00
|
|
|
-I${DESTDIR}${X11INCDIR}/freetype2 \
|
2006-09-24 11:59:59 +04:00
|
|
|
-DSCROLLBAR_RIGHT -DOPT_WIDE_CHARS -DOPT_LUIT_PROG \
|
2004-04-29 09:18:25 +04:00
|
|
|
-DXRENDERFONT -DXFREE86_FT2 \
|
2003-09-12 06:39:49 +04:00
|
|
|
-DPROJECTROOT=${X11ROOTDIR}
|
|
|
|
|
|
|
|
CPPFLAGS.main.c=-DUTMP -DUSE_TTY_GROUP ${X11FLAGS.VERSION}
|
|
|
|
|
|
|
|
APPDEFS=XTerm.ad XTerm-color.ad
|
|
|
|
|
2004-01-19 03:30:01 +03:00
|
|
|
BUILDSYMLINKS= XTerm-col.ad XTerm-color.ad
|
2003-09-12 06:39:49 +04:00
|
|
|
|
|
|
|
LDADD+= -lXft -lfontconfig -lfreetype -lexpat -lXrender
|
|
|
|
DPADD+= ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER}
|
|
|
|
LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -ltermcap -lutil
|
|
|
|
DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
|
|
|
|
${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBTERMCAP} ${LIBUTIL}
|
|
|
|
|
|
|
|
SUBDIR= resize uxterm
|
|
|
|
|
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/${PROG}
|
|
|
|
|
2003-09-14 00:17:57 +04:00
|
|
|
.include <bsd.x11.mk>
|
2003-09-12 06:39:49 +04:00
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.include <bsd.subdir.mk>
|