2008-03-22 06:40:02 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2008/03/22 12:40:02 merdely Exp $
|
2007-04-09 13:11:43 -06:00
|
|
|
|
2007-08-25 13:17:16 -06:00
|
|
|
SUBDIR= icons resize
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
PROG= xterm
|
2008-02-16 02:40:00 -07:00
|
|
|
MAN= xterm.1tbl uxterm.1 koi8rxterm.1
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
BINGRP= utmp
|
|
|
|
BINMODE= 2755
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${.CURDIR} -I${X11BASE}/include \
|
|
|
|
-I${X11BASE}/include/freetype2 \
|
|
|
|
-DHAVE_CONFIG_H -DCSRG_BASED \
|
|
|
|
-DFUNCPROTO=15 -DNARROWPROTO -DXFREE86_FT2 -DUTMP
|
2007-05-11 00:42:50 -06:00
|
|
|
LDADD+= -L${X11BASE}/lib -lXaw -lXpm -lXt -lSM -lICE \
|
2007-04-09 13:11:43 -06:00
|
|
|
-lXmu -lXft -lXrender -lX11 -lXext -lXau -lXdmcp \
|
|
|
|
-lfontconfig -lexpat -lfreetype -lutil -ltermcap -lz
|
|
|
|
|
2007-06-15 13:43:57 -06:00
|
|
|
SRCS= TekPrsTbl.c Tekproc.c VTPrsTbl.c button.c cachedGCs.c \
|
|
|
|
charclass.c xtermcap.c charproc.c charsets.c cursor.c \
|
|
|
|
data.c doublechr.c fontutils.c input.c main.c menu.c \
|
|
|
|
misc.c precompose.c print.c ptydata.c wcwidth.c screen.c \
|
|
|
|
scrollbar.c tabs.c util.c xstrings.c
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
X11BASE?= /usr/X11R6
|
|
|
|
MANDIR= ${X11BASE}/man/cat
|
|
|
|
XETC?= /etc/X11
|
|
|
|
|
2007-07-05 16:09:06 -06:00
|
|
|
xterm.1tbl: xterm.man
|
2007-04-09 13:11:43 -06:00
|
|
|
sed -e 's#__vendorversion__#"X Window System"#g' \
|
2008-01-13 10:22:58 -07:00
|
|
|
-e 's#__mansuffix__#1#g' \
|
2008-03-22 06:40:02 -06:00
|
|
|
-e 's#__miscmansuffix__#7#g' \
|
2008-01-13 10:22:58 -07:00
|
|
|
-e 's#__apploaddir__#${X11ETC}/app-defaults#g' \
|
|
|
|
< ${.CURDIR}/xterm.man > $@
|
2007-04-09 13:11:43 -06:00
|
|
|
|
2008-02-16 02:40:00 -07:00
|
|
|
.SUFFIXES: .man .1
|
|
|
|
|
|
|
|
.man.1:
|
|
|
|
sed -e 's#__vendorversion__#"X Window System"#g' \
|
|
|
|
-e 's#__mansuffix__#1#g' \
|
2008-03-22 06:40:02 -06:00
|
|
|
-e 's#__miscmansuffix__#7#g' \
|
2008-02-16 02:40:00 -07:00
|
|
|
-e 's#__apploaddir__#${X11ETC}/app-defaults#g' \
|
|
|
|
< $< > $@
|
|
|
|
|
|
|
|
CLEANFILES+= ${MAN}
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
afterinstall:
|
|
|
|
${INSTALL} ${INSTALL_COPY} -m 755 ${.CURDIR}/uxterm \
|
|
|
|
${DESTDIR}${BINDIR}
|
|
|
|
${INSTALL} ${INSTALL_COPY} -m 644 ${.CURDIR}/XTerm.ad \
|
|
|
|
${DESTDIR}${XETC}/app-defaults/XTerm
|
|
|
|
${INSTALL} ${INSTALL_COPY} -m 644 ${.CURDIR}/XTerm-col.ad \
|
|
|
|
${DESTDIR}${XETC}/app-defaults/XTerm-color
|
|
|
|
${INSTALL} ${INSTALL_COPY} -m 644 ${.CURDIR}/UXTerm.ad \
|
|
|
|
${DESTDIR}${XETC}/app-defaults/UXTerm
|
2008-02-16 02:40:00 -07:00
|
|
|
${INSTALL} ${INSTALL_COPY} -m 755 ${.CURDIR}/koi8rxterm \
|
|
|
|
${DESTDIR}${BINDIR}
|
|
|
|
${INSTALL} ${INSTALL_COPY} -m 644 ${.CURDIR}/KOI8RXTerm.ad \
|
|
|
|
${DESTDIR}${XETC}/app-defaults/KOI8RXTerm
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
obj: _xenocara_obj
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.include <bsd.xorg.mk>
|