xref: /netbsd-src/external/mit/xorg/bin/sessreg/Makefile (revision 4ac76180e904e771b9d522c7e57296d371f06499)
1#	$NetBSD: Makefile,v 1.7 2019/03/11 06:25:55 mrg Exp $
2
3.include <bsd.own.mk>
4
5PROG=	sessreg
6
7.include "../xdm/Makefile.xdm"
8
9CPPFLAGS+=	-I${X11SRCDIR.${PROG}}/../include
10
11X11EXTRAMANDEFS+=	-e 's,__ttys_file__,/etc/ttys,g' \
12			-e 's,__utmp_file__,${XDMPIDDIR}/utmp,g' \
13			-e 's,__wtmp_file__,${XDMLOGDIR}/wtmp,g'
14
15X11EXTRAMANTRANSFORMS+= \
16	__utmp_manpage__	utmpx \
17	__wtmp_manpage__	wtmpx \
18	__lastlog_file__	lastlogx
19
20.include <bsd.x11.mk>
21.include <bsd.prog.mk>
22
23.PATH:		${X11SRCDIR.${PROG}}
24.PATH:		${X11SRCDIR.${PROG}}/man
25