head	1.24;
access;
symbols
	netbsd-11-0-RC4:1.23
	netbsd-11-0-RC3:1.23
	netbsd-11-0-RC2:1.23
	netbsd-11-0-RC1:1.23
	perseant-exfatfs-base-20250801:1.23
	netbsd-11:1.23.0.6
	netbsd-11-base:1.23
	netbsd-10-1-RELEASE:1.23
	perseant-exfatfs-base-20240630:1.23
	perseant-exfatfs:1.23.0.4
	perseant-exfatfs-base:1.23
	netbsd-8-3-RELEASE:1.15.8.1
	netbsd-9-4-RELEASE:1.17.4.2
	netbsd-10-0-RELEASE:1.23
	netbsd-10-0-RC6:1.23
	netbsd-10-0-RC5:1.23
	netbsd-10-0-RC4:1.23
	netbsd-10-0-RC3:1.23
	netbsd-10-0-RC2:1.23
	netbsd-10-0-RC1:1.23
	netbsd-10:1.23.0.2
	netbsd-10-base:1.23
	netbsd-9-3-RELEASE:1.17.4.2
	cjep_sun2x-base1:1.22
	cjep_sun2x:1.22.0.4
	cjep_sun2x-base:1.22
	cjep_staticlib_x-base1:1.22
	netbsd-9-2-RELEASE:1.17.4.2
	cjep_staticlib_x:1.22.0.2
	cjep_staticlib_x-base:1.22
	netbsd-9-1-RELEASE:1.17.4.1
	phil-wifi-20200421:1.17
	phil-wifi-20200411:1.17
	is-mlppp:1.17.0.6
	is-mlppp-base:1.17
	phil-wifi-20200406:1.17
	netbsd-8-2-RELEASE:1.15
	netbsd-9-0-RELEASE:1.17
	netbsd-9-0-RC2:1.17
	netbsd-9-0-RC1:1.17
	phil-wifi-20191119:1.17
	netbsd-9:1.17.0.4
	netbsd-9-base:1.17
	phil-wifi-20190609:1.17
	netbsd-8-1-RELEASE:1.15
	netbsd-8-1-RC1:1.15
	pgoyette-compat-merge-20190127:1.15.14.2
	pgoyette-compat-20190127:1.17
	pgoyette-compat-20190118:1.17
	pgoyette-compat-1226:1.17
	pgoyette-compat-1126:1.17
	pgoyette-compat-1020:1.17
	pgoyette-compat-0930:1.17
	pgoyette-compat-0906:1.17
	netbsd-7-2-RELEASE:1.13
	pgoyette-compat-0728:1.17
	netbsd-8-0-RELEASE:1.15
	phil-wifi:1.17.0.2
	phil-wifi-base:1.17
	pgoyette-compat-0625:1.17
	netbsd-8-0-RC2:1.15
	pgoyette-compat-0521:1.17
	pgoyette-compat-0502:1.16
	pgoyette-compat-0422:1.16
	netbsd-8-0-RC1:1.15
	pgoyette-compat-0415:1.16
	pgoyette-compat-0407:1.16
	pgoyette-compat-0330:1.16
	pgoyette-compat-0322:1.16
	pgoyette-compat-0315:1.16
	netbsd-7-1-2-RELEASE:1.13
	pgoyette-compat:1.15.0.14
	pgoyette-compat-base:1.15
	netbsd-7-1-1-RELEASE:1.13
	matt-nb8-mediatek:1.15.0.12
	matt-nb8-mediatek-base:1.15
	perseant-stdc-iso10646:1.15.0.10
	perseant-stdc-iso10646-base:1.15
	netbsd-8:1.15.0.8
	netbsd-8-base:1.15
	prg-localcount2-base3:1.15
	prg-localcount2-base2:1.15
	prg-localcount2-base1:1.15
	prg-localcount2:1.15.0.6
	prg-localcount2-base:1.15
	pgoyette-localcount-20170426:1.15
	bouyer-socketcan-base1:1.15
	pgoyette-localcount-20170320:1.15
	netbsd-7-1:1.13.0.8
	netbsd-7-1-RELEASE:1.13
	netbsd-7-1-RC2:1.13
	netbsd-7-nhusb-base-20170116:1.13
	bouyer-socketcan:1.15.0.4
	bouyer-socketcan-base:1.15
	pgoyette-localcount-20170107:1.15
	netbsd-7-1-RC1:1.13
	pgoyette-localcount-20161104:1.15
	netbsd-7-0-2-RELEASE:1.13
	localcount-20160914:1.15
	netbsd-7-nhusb:1.13.0.6
	netbsd-7-nhusb-base:1.13
	pgoyette-localcount-20160806:1.15
	pgoyette-localcount-20160726:1.15
	pgoyette-localcount:1.15.0.2
	pgoyette-localcount-base:1.15
	netbsd-7-0-1-RELEASE:1.13
	netbsd-7-0:1.13.0.4
	netbsd-7-0-RELEASE:1.13
	netbsd-7-0-RC3:1.13
	netbsd-7-0-RC2:1.13
	netbsd-7-0-RC1:1.13
	netbsd-5-2-3-RELEASE:1.2.4.2
	netbsd-5-1-5-RELEASE:1.2.4.2
	netbsd-6-0-6-RELEASE:1.8
	netbsd-6-1-5-RELEASE:1.8
	netbsd-7:1.13.0.2
	netbsd-7-base:1.13
	yamt-pagecache-base9:1.12
	yamt-pagecache-tag8:1.8.6.1
	netbsd-6-1-4-RELEASE:1.8
	netbsd-6-0-5-RELEASE:1.8
	tls-earlyentropy:1.12.0.2
	tls-earlyentropy-base:1.13
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.12
	riastradh-drm2-base3:1.11
	netbsd-6-1-3-RELEASE:1.8
	netbsd-6-0-4-RELEASE:1.8
	netbsd-5-2-2-RELEASE:1.2.4.2
	netbsd-5-1-4-RELEASE:1.2.4.2
	netbsd-6-1-2-RELEASE:1.8
	netbsd-6-0-3-RELEASE:1.8
	netbsd-5-2-1-RELEASE:1.2.4.2
	netbsd-5-1-3-RELEASE:1.2.4.2
	netbsd-6-1-1-RELEASE:1.8
	riastradh-drm2-base2:1.11
	riastradh-drm2-base1:1.11
	riastradh-drm2:1.11.0.2
	riastradh-drm2-base:1.11
	netbsd-6-1:1.8.0.14
	netbsd-6-0-2-RELEASE:1.8
	netbsd-6-1-RELEASE:1.8
	netbsd-6-1-RC4:1.8
	netbsd-6-1-RC3:1.8
	agc-symver:1.9.0.6
	agc-symver-base:1.9
	netbsd-6-1-RC2:1.8
	netbsd-6-1-RC1:1.8
	yamt-pagecache-base8:1.9
	netbsd-5-2:1.2.4.2.0.6
	netbsd-6-0-1-RELEASE:1.8
	yamt-pagecache-base7:1.9
	netbsd-5-2-RELEASE:1.2.4.2
	netbsd-5-2-RC1:1.2.4.2
	matt-nb6-plus-nbase:1.8
	yamt-pagecache-base6:1.9
	netbsd-6-0:1.8.0.12
	netbsd-6-0-RELEASE:1.8
	netbsd-6-0-RC2:1.8
	tls-maxphys:1.9.0.2
	tls-maxphys-base:1.13
	matt-nb6-plus:1.8.0.10
	matt-nb6-plus-base:1.8
	netbsd-6-0-RC1:1.8
	yamt-pagecache-base5:1.9
	yamt-pagecache-base4:1.9
	netbsd-6:1.8.0.8
	netbsd-6-base:1.8
	netbsd-5-1-2-RELEASE:1.2.4.2
	netbsd-5-1-1-RELEASE:1.2.4.2
	yamt-pagecache-base3:1.8
	yamt-pagecache-base2:1.8
	yamt-pagecache:1.8.0.6
	yamt-pagecache-base:1.8
	cherry-xenmp:1.8.0.4
	cherry-xenmp-base:1.8
	bouyer-quota2-nbase:1.8
	bouyer-quota2:1.8.0.2
	bouyer-quota2-base:1.8
	matt-mips64-premerge-20101231:1.8
	matt-nb5-mips64-premerge-20101231:1.2.4.1.4.1
	matt-nb5-pq3:1.2.4.2.0.4
	matt-nb5-pq3-base:1.2.4.2
	netbsd-5-1:1.2.4.2.0.2
	netbsd-5-1-RELEASE:1.2.4.2
	netbsd-5-1-RC4:1.2.4.2
	matt-nb5-mips64-k15:1.2.4.1.4.1
	netbsd-5-1-RC3:1.2.4.2
	netbsd-5-1-RC2:1.2.4.2
	netbsd-5-1-RC1:1.2.4.2
	netbsd-5-0-2-RELEASE:1.2.4.1
	matt-nb5-mips64-premerge-20091211:1.2.4.1
	matt-premerge-20091211:1.4
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.2.4.1
	matt-nb4-mips64-k7-u2a-k9b:1.2.4.1
	matt-nb5-mips64-u1-k1-k5:1.2.4.1
	matt-nb5-mips64:1.2.4.1.0.4
	netbsd-5-0-1-RELEASE:1.2.4.1
	jym-xensuspend-nbase:1.3
	netbsd-5-0:1.2.4.1.0.2
	netbsd-5-0-RELEASE:1.2.4.1
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.3.0.2
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.2
	haad-dm-base:1.2
	haad-dm-base2:1.2
	haad-nbase2:1.2
	netbsd-5:1.2.0.4
	netbsd-5-base:1.2
	matt-mips64-base2:1.2
	haad-dm:1.2.0.2
	haad-dm-base1:1.2
	wrstuden-revivesa-base-3:1.1.1.1
	wrstuden-revivesa:1.1.1.1.0.2
	wrstuden-revivesa-base-2:1.1.1.1
	oinkoink:1.1.1.1
	mrg-and-rtr:1.1.1;
locks; strict;
comment	@# @;


1.24
date	2025.11.15.06.53.16;	author mrg;	state Exp;
branches;
next	1.23;
commitid	ugDdYeVA0GyUjCiG;

1.23
date	2021.11.16.09.25.51;	author nia;	state Exp;
branches;
next	1.22;
commitid	ZhN9fVPgGjpz60hD;

1.22
date	2021.04.27.02.11.55;	author mrg;	state Exp;
branches
	1.22.4.1;
next	1.21;
commitid	ySvtg9AXlOAgeSQC;

1.21
date	2021.02.17.03.06.07;	author mrg;	state Exp;
branches;
next	1.20;
commitid	KawVpApwRxlcK0IC;

1.20
date	2021.02.11.12.30.08;	author mrg;	state Exp;
branches;
next	1.19;
commitid	cZxVFA7DNEcS3iHC;

1.19
date	2020.12.27.21.13.18;	author reinoud;	state Exp;
branches;
next	1.18;
commitid	6X8sOg6JfsJwqqBC;

1.18
date	2020.10.02.13.08.07;	author nia;	state Exp;
branches;
next	1.17;
commitid	fNvKv1ji6lJCvkqC;

1.17
date	2018.05.09.08.39.55;	author mrg;	state Exp;
branches
	1.17.4.1;
next	1.16;
commitid	McRhUICBhNRGdBBA;

1.16
date	2018.03.14.06.06.40;	author mrg;	state Exp;
branches;
next	1.15;
commitid	pCMmWwdeSnhHaouA;

1.15
date	2015.07.23.09.37.59;	author mrg;	state Exp;
branches
	1.15.8.1
	1.15.14.1;
next	1.14;
commitid	Vi9PjmnTIu2kmouy;

1.14
date	2015.07.23.05.45.09;	author mrg;	state Exp;
branches;
next	1.13;
commitid	WV8bqPitASru4nuy;

1.13
date	2014.07.11.19.40.52;	author mrg;	state Exp;
branches;
next	1.12;
commitid	Ipx6dT9IR9GuOZHx;

1.12
date	2014.03.20.07.13.53;	author mrg;	state Exp;
branches
	1.12.2.1;
next	1.11;
commitid	pZmC89jx1pWtjptx;

1.11
date	2013.05.31.21.40.29;	author mrg;	state Exp;
branches;
next	1.10;
commitid	TavRiN1CFOCHwPRw;

1.10
date	2013.05.30.23.42.19;	author mrg;	state Exp;
branches;
next	1.9;
commitid	RV6asJanQs06eIRw;

1.9
date	2012.03.22.23.46.26;	author joerg;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2010.10.03.22.06.43;	author christos;	state Exp;
branches
	1.8.6.1;
next	1.7;

1.7
date	2010.06.30.04.58.42;	author mrg;	state Exp;
branches;
next	1.6;

1.6
date	2010.02.04.13.22.34;	author tron;	state Exp;
branches;
next	1.5;

1.5
date	2010.02.03.15.34.38;	author roy;	state Exp;
branches;
next	1.4;

1.4
date	2009.09.19.04.54.04;	author snj;	state Exp;
branches;
next	1.3;

1.3
date	2009.01.18.14.44.55;	author christos;	state Exp;
branches;
next	1.2;

1.2
date	2008.10.14.23.37.19;	author cube;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

1.1
date	2008.07.29.05.01.22;	author mrg;	state Exp;
branches
	1.1.1.1;
next	;

1.22.4.1
date	2021.06.06.20.30.47;	author cjep;	state Exp;
branches;
next	;
commitid	XNEGuB48YPLw17WC;

1.17.4.1
date	2020.10.08.15.40.52;	author martin;	state Exp;
branches;
next	1.17.4.2;
commitid	DnvWYGxPokEqa7rC;

1.17.4.2
date	2021.02.17.09.50.20;	author martin;	state Exp;
branches;
next	;
commitid	xiE4F9ckKhi7Z2IC;

1.15.8.1
date	2021.02.17.09.55.20;	author martin;	state Exp;
branches;
next	;
commitid	mvzHbekCjymP03IC;

1.15.14.1
date	2018.03.15.09.11.56;	author pgoyette;	state Exp;
branches;
next	1.15.14.2;
commitid	lb7w3QtkrVH4axuA;

1.15.14.2
date	2018.05.21.04.35.53;	author pgoyette;	state Exp;
branches;
next	;
commitid	X5L8kSrBWQcDt7DA;

1.12.2.1
date	2014.08.10.06.50.55;	author tls;	state Exp;
branches;
next	;
commitid	DgL6ai6yRo4DAMLx;

1.9.2.1
date	2013.06.23.06.28.42;	author tls;	state Exp;
branches;
next	1.9.2.2;
commitid	OnlO1cBgtQRcIHUw;

1.9.2.2
date	2014.08.20.00.00.09;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.8.6.1
date	2012.04.17.00.04.47;	author yamt;	state Exp;
branches;
next	1.8.6.2;

1.8.6.2
date	2014.05.22.14.09.39;	author yamt;	state Exp;
branches;
next	;
commitid	FFQX08bYGKywAxBx;

1.2.2.1
date	2008.10.14.23.37.19;	author haad;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2008.10.19.22.41.03;	author haad;	state Exp;
branches;
next	;

1.2.4.1
date	2009.04.20.23.20.57;	author snj;	state Exp;
branches
	1.2.4.1.4.1;
next	1.2.4.2;

1.2.4.2
date	2009.09.28.02.02.50;	author snj;	state Exp;
branches;
next	;

1.2.4.1.4.1
date	2010.04.21.05.24.33;	author matt;	state Exp;
branches;
next	;

1.1.1.1
date	2008.07.29.05.01.22;	author mrg;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	2008.07.29.05.01.22;	author wrstuden;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2008.09.18.05.18.32;	author wrstuden;	state Exp;
branches;
next	;


desc
@@


1.24
log
@fix some m68k warnings

for xterm's charset.c, use -fno-jump-tables to avoid warnings.
for gallium, the format_utils.c and glsl_lexer.cpp parts for GCC 14 are
also needed here (-Os / -O1 -fno-jump-tables).  (glsl_parser.cpp does
not need -Os like GCC 14 does.)

tested with both GCC 12 and 14.
@
text
@#	$NetBSD: Makefile,v 1.23 2021/11/16 09:25:51 nia Exp $

USE_FORT?=	yes # data-driven bugs?

.include <bsd.own.mk>

PROG=	xterm
SRCS=	button.c charproc.c charsets.c cursor.c data.c doublechr.c \
	graphics.c graphics_sixel.c fontutils.c input.c linedata.c menu.c \
	misc.c print.c ptydata.c screen.c scrollback.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 cachedGCs.c xtermcap.c \
	svg.c html.c version.c

# XXX
# xterm.appdata.xml

CPPFLAGS+=	-I. \
		-I${X11SRCDIR.${PROG}} \
		-I${X11SRCDIR.${PROG}}/../include \
		-I${DESTDIR}${X11INCDIR}/freetype2 \
		-I${DESTDIR}${X11INCDIR}/freetype2/freetype \
		-DPROJECTROOT=${X11ROOTDIR} \
		-DHAVE_CONFIG_H \
		-D_REENTRANT \
		${X11FLAGS.VERSION}

CWARNFLAGS.clang+=	-Wno-empty-body
CWARNFLAGS.gcc+=	-Wno-error=attributes

APPDEFS=XTerm.ad XTerm-color.ad

BUILDSYMLINKS=	XTerm-col.ad XTerm-color.ad

#CPPFLAGS+=-DOPT_TRACE
#SRCS+=trace.c

LDADD+=	-lXft -lfontconfig -lfreetype -lexpat -lXrender
DPADD+=	${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER}
LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXinerama
DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXINERAMA}
LDADD+=	-lXpm -lXext -lX11 -lcurses -lterminfo -lutil
DPADD+=	${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBCURSES} ${LIBTERMINFO} ${LIBUTIL}

SUBDIR=	uxterm

.PATH:	${X11SRCDIR.${PROG}}

COPTS.input.c+=	-Wno-error	# uses XKeycodeToKeysym

# XXXMRG should probably build builtin_icons.h

.SUFFIXES: .def .hin
.def.hin:
	${TOOL_AWK} '/^CASE_/{printf "#define %s %d\n", $$1, n++}' < $< >$@@
DPSRCS+= Tekparse.hin VTparse.hin
CLEANFILES+= Tekparse.hin VTparse.hin

.if ${MACHINE_CPU} == "m68k" && ${HAVE_GCC:U0} == 12
CPUFLAGS.charsets.c+=   -fno-jump-tables
.endif

.include "Makefile.inc"

.include <bsd.x11.mk>
.include <bsd.prog.mk>
.include <bsd.subdir.mk>
@


1.23
log
@xorg: sprinkle a little bit of USE_FORT around
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2021/04/27 02:11:55 mrg Exp $
d59 4
@


1.22
log
@disable attribute warnings.  new libXt triggers them for now..
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.21 2021/02/17 03:06:07 mrg Exp $
@


1.22.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2021/04/27 02:11:55 mrg Exp $
d36 6
a41 6
LDADD+=	${XLIBLDADD_XFT} ${XLIBLDADD_XAW}
DPADD+=	${XLIBDPADD_XFT} ${XLIBDPADD_XAW} 
LDADD+=	-lXinerama
DPADD+=	${LIBXINERAMA}
LDADD+=	${XLIBLDADD_XPM} -lcurses -lterminfo -lutil
DPADD+=	${XLIBDPADD_XPM} ${LIBCURSES} ${LIBTERMINFO} ${LIBUTIL}
@


1.21
log
@remove -DOPT_* from here (now in xtermcfg.h).

restore comment lost in rev 1.18.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2021/02/11 12:30:08 mrg Exp $
d27 1
@


1.20
log
@add new files for xterm 366.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2020/12/27 21:13:18 reinoud Exp $
d13 3
a22 2
		-DOPT_GRAPHICS \
		-DOPT_SIXEL_GRAPHICS \
@


1.19
log
@Import Xterm's resize(1) for querying (x)terminal sizes in base for headless
clients
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2020/10/02 13:08:07 nia Exp $
d11 1
a11 1
	version.c
@


1.18
log
@xterm: Enable SIXEL graphics support.

could also enable REGIS, it will require -lm and i suppose isn't
a default upstream yet(?)

test with "-ti vt340".
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2018/05/09 08:39:55 mrg Exp $
d41 1
a41 1
SUBDIR=	resize uxterm
@


1.17
log
@add freetype2/freetype to the include path.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2018/03/14 06:06:40 mrg Exp $
d7 5
a11 7
	fontutils.c input.c linedata.c menu.c misc.c print.c ptydata.c \
	screen.c scrollback.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 cachedGCs.c xtermcap.c version.c

# graphics_regis.c graphics_sixel.c
# xterm.appdata.xml
d20 2
@


1.17.4.1
log
@Pull up following revision(s) (requested by nia in ticket #1097):

	external/mit/xorg/bin/xterm/Makefile: revision 1.18

xterm: Enable SIXEL graphics support.

could also enable REGIS, it will require -lm and i suppose isn't
a default upstream yet(?)

test with "-ti vt340".
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2018/05/09 08:39:55 mrg Exp $
d7 7
a13 5
	graphics.c graphics_sixel.c fontutils.c input.c linedata.c menu.c \
	misc.c print.c ptydata.c screen.c scrollback.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 cachedGCs.c xtermcap.c \
	version.c
a21 2
		-DOPT_GRAPHICS \
		-DOPT_SIXEL_GRAPHICS \
@


1.17.4.2
log
@Pull up following revision(s) (requested by mrg in ticket #1207):

	external/mit/xorg/bin/xterm/Makefile: revision 1.20

add new files for xterm 366.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17.4.1 2020/10/08 15:40:52 martin Exp $
d11 1
a11 1
	svg.c html.c version.c
@


1.16
log
@build Tekparse.hin VTparse.hin normally.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2015/07/23 09:37:59 mrg Exp $
d19 1
@


1.15
log
@remove some duplication; pointed out by pgoyette.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2015/07/23 05:45:09 mrg Exp $
d15 2
a16 1
CPPFLAGS+=	-I${X11SRCDIR.${PROG}} \
d48 6
@


1.15.8.1
log
@Pull up following revision(s) (requested by mrg in ticket #1656):

	external/mit/xorg/bin/xterm/Makefile: revision 1.20 (patch)

add new files for xterm 366.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2015/07/23 09:37:59 mrg Exp $
d7 4
a10 5
	graphics.c graphics_sixel.c fontutils.c input.c linedata.c menu.c \
	misc.c print.c ptydata.c screen.c scrollback.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 cachedGCs.c xtermcap.c \
	svg.c html.c version.c
d15 1
a15 2
CPPFLAGS+=	-I. \
		-I${X11SRCDIR.${PROG}} \
a46 6
.SUFFIXES: .def .hin
.def.hin:
	${TOOL_AWK} '/^CASE_/{printf "#define %s %d\n", $$1, n++}' < $< >$@@
DPSRCS+= Tekparse.hin VTparse.hin
CLEANFILES+= Tekparse.hin VTparse.hin

@


1.15.14.1
log
@Synch with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2018/03/14 06:06:40 mrg Exp $
d15 1
a15 2
CPPFLAGS+=	-I. \
		-I${X11SRCDIR.${PROG}} \
a46 6
.SUFFIXES: .def .hin
.def.hin:
	${TOOL_AWK} '/^CASE_/{printf "#define %s %d\n", $$1, n++}' < $< >$@@
DPSRCS+= Tekparse.hin VTparse.hin
CLEANFILES+= Tekparse.hin VTparse.hin

@


1.15.14.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2018/05/09 08:39:55 mrg Exp $
a18 1
		-I${DESTDIR}${X11INCDIR}/freetype2/freetype \
@


1.14
log
@link against Xinerama now that xterm 318 would prefer to.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2014/07/11 19:40:52 mrg Exp $
d34 1
a34 1
LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXinerama -lXpm -lXext -lX11 -lcurses -lterminfo -lutil
@


1.13
log
@add comments for un-done stuff.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2014/03/20 07:13:53 mrg Exp $
d34 4
a37 3
LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lcurses -lterminfo -lutil
DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
	${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBCURSES} ${LIBTERMINFO} ${LIBUTIL}
@


1.12
log
@add a note about builtin_icons.h.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2013/05/31 21:40:29 mrg Exp $
d12 3
@


1.12.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2014/07/11 19:40:52 mrg Exp $
a11 3
# graphics_regis.c graphics_sixel.c
# xterm.appdata.xml

@


1.11
log
@add new version.c for xterm 293.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2013/05/30 23:42:19 mrg Exp $
d41 2
@


1.10
log
@updates for libX11 1.5.99.902:

- remove ja.S90 and ja.U90 locales
- use -Wno-error for files that use (now deprecated) XKeycodeToKeysym()
- add -I${X11SRCDIR.X11}/src for xicmp
- add stub for _XGetRequest()
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2012/03/22 23:46:26 joerg Exp $
d10 1
a10 1
	wcwidth.c xutf8.c cachedGCs.c xtermcap.c
@


1.9
log
@Disable a bunch of additional warnings for now for the clang build.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2010/10/03 22:06:43 christos Exp $
d39 2
@


1.9.2.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
d10 1
a10 1
	wcwidth.c xutf8.c cachedGCs.c xtermcap.c version.c
a38 2
COPTS.input.c+=	-Wno-error	# uses XKeycodeToKeysym

@


1.9.2.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a11 3
# graphics_regis.c graphics_sixel.c
# xterm.appdata.xml

a40 2
# XXXMRG should probably build builtin_icons.h

@


1.8
log
@added commented out trace build.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2010/06/30 04:58:42 mrg Exp $
d20 2
@


1.8.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2010/10/03 22:06:43 christos Exp $
a19 2
CWARNFLAGS.clang+=	-Wno-empty-body

@


1.8.6.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8.6.1 2012/04/17 00:04:47 yamt Exp $
d10 1
a10 1
	wcwidth.c xutf8.c cachedGCs.c xtermcap.c version.c
a38 4
COPTS.input.c+=	-Wno-error	# uses XKeycodeToKeysym

# XXXMRG should probably build builtin_icons.h

@


1.7
log
@build updates for xterm-261.  resize also uses terminfo now.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2010/02/04 13:22:34 tron Exp $
d24 3
@


1.6
log
@Define "HAVE_TERMCAP_H" to fix build with the new terminfo library.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2010/02/03 15:34:38 roy Exp $
d13 1
d15 4
a18 5
		-DSCROLLBAR_RIGHT -DOPT_WIDE_CHARS \
		-DXRENDERFONT -DXFREE86_FT2 -DOPT_PASTE64 \
		-DPROJECTROOT=${X11ROOTDIR} -DHAVE_TERMCAP_H

CPPFLAGS.main.c=-DUTMP -DUSE_TTY_GROUP ${X11FLAGS.VERSION}
d26 1
a26 1
LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lterminfo -lutil
d28 1
a28 1
	${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBTERMINFO} ${LIBUTIL}
@


1.5
log
@Userland now builds and uses terminfo instead of termcap.

OK: core@@, jdc@@
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2009/09/19 04:54:04 snj Exp $
d16 1
a16 1
		-DPROJECTROOT=${X11ROOTDIR}
@


1.4
log
@Update for new xterm.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2009/01/18 14:44:55 christos Exp $
d26 1
a26 1
LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -ltermcap -lutil
d28 1
a28 1
	${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBTERMCAP} ${LIBUTIL}
@


1.3
log
@turn on PASTE64 to handle large cut-n-paste buffers like the old xterm did.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/10/14 23:37:19 cube Exp $
d7 4
a10 4
	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 cachedGCs.c \
	xtermcap.c
@


1.2
log
@- Adapt to changes on bsd.x11.mk
- Remove unnecessary targets that handled .man.pre files
- Add transformations for package-specific patterns in man page templates.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
d15 1
a15 1
		-DXRENDERFONT -DXFREE86_FT2 \
@


1.2.4.1
log
@Pull up following revision(s) (requested by agc in ticket #711):
	external/mit/xorg/bin/xterm/Makefile: revision 1.3
turn on PASTE64 to handle large cut-n-paste buffers like the old xterm did.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/10/14 23:37:19 cube Exp $
d15 1
a15 1
		-DXRENDERFONT -DXFREE86_FT2 -DOPT_PASTE64 \
@


1.2.4.1.4.1
log
@sync to netbsd-5
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.4.2 2009/09/28 02:02:50 snj Exp $
d7 4
a10 4
	fontutils.c input.c linedata.c menu.c misc.c print.c ptydata.c \
	screen.c scrollback.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 cachedGCs.c xtermcap.c
@


1.2.4.2
log
@Pull up following revision(s) (requested by mrg in ticket #1034):
	external/mit/xorg/bin/xterm/Makefile: revision 1.4
Update for new xterm.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.4.1 2009/04/20 23:20:57 snj Exp $
d7 4
a10 4
	fontutils.c input.c linedata.c menu.c misc.c print.c ptydata.c \
	screen.c scrollback.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 cachedGCs.c xtermcap.c
@


1.2.2.1
log
@file Makefile was added on branch haad-dm on 2008-10-19 22:41:03 +0000
@
text
@d1 38
@


1.2.2.2
log
@Sync with HEAD.
@
text
@a0 38
#	$NetBSD: Makefile,v 1.2 2008/10/14 23:37:19 cube Exp $

.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 cachedGCs.c \
	xtermcap.c

CPPFLAGS+=	-I${X11SRCDIR.${PROG}} \
		-I${DESTDIR}${X11INCDIR}/freetype2 \
		-DSCROLLBAR_RIGHT -DOPT_WIDE_CHARS \
		-DXRENDERFONT -DXFREE86_FT2 \
		-DPROJECTROOT=${X11ROOTDIR}

CPPFLAGS.main.c=-DUTMP -DUSE_TTY_GROUP ${X11FLAGS.VERSION}

APPDEFS=XTerm.ad XTerm-color.ad

BUILDSYMLINKS=	XTerm-col.ad XTerm-color.ad

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.${PROG}}

.include "Makefile.inc"

.include <bsd.x11.mk>
.include <bsd.prog.mk>
.include <bsd.subdir.mk>
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2004/06/09 20:37:41 christos Exp $
d34 2
@


1.1.1.1
log
@initial import of the crossbuild framework for modular Xorg.  this
is heavily based upon the work rtr@@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated.  there are 192 of them so it may take some time
before that is completed.
@
text
@@


1.1.1.1.2.1
log
@file Makefile was added on branch wrstuden-revivesa on 2008-09-18 05:18:32 +0000
@
text
@d1 36
@


1.1.1.1.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 36
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $

.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 cachedGCs.c \
	xtermcap.c

CPPFLAGS+=	-I${X11SRCDIR.${PROG}} \
		-I${DESTDIR}${X11INCDIR}/freetype2 \
		-DSCROLLBAR_RIGHT -DOPT_WIDE_CHARS \
		-DXRENDERFONT -DXFREE86_FT2 \
		-DPROJECTROOT=${X11ROOTDIR}

CPPFLAGS.main.c=-DUTMP -DUSE_TTY_GROUP ${X11FLAGS.VERSION}

APPDEFS=XTerm.ad XTerm-color.ad

BUILDSYMLINKS=	XTerm-col.ad XTerm-color.ad

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.${PROG}}

.include <bsd.x11.mk>
.include <bsd.prog.mk>
.include <bsd.subdir.mk>
@
