head	1.7;
access;
symbols
	netbsd-11-0-RC4:1.7
	netbsd-11-0-RC3:1.7
	netbsd-11-0-RC2:1.7
	netbsd-11-0-RC1:1.7
	perseant-exfatfs-base-20250801:1.7
	netbsd-11:1.7.0.14
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.7
	perseant-exfatfs-base-20240630:1.7
	perseant-exfatfs:1.7.0.12
	perseant-exfatfs-base:1.7
	netbsd-8-3-RELEASE:1.4
	netbsd-9-4-RELEASE:1.7
	netbsd-10-0-RELEASE:1.7
	netbsd-10-0-RC6:1.7
	netbsd-10-0-RC5:1.7
	netbsd-10-0-RC4:1.7
	netbsd-10-0-RC3:1.7
	netbsd-10-0-RC2:1.7
	netbsd-10-0-RC1:1.7
	netbsd-10:1.7.0.10
	netbsd-10-base:1.7
	netbsd-9-3-RELEASE:1.7
	cjep_sun2x-base1:1.7
	cjep_sun2x:1.7.0.8
	cjep_sun2x-base:1.7
	cjep_staticlib_x-base1:1.7
	netbsd-9-2-RELEASE:1.7
	cjep_staticlib_x:1.7.0.6
	cjep_staticlib_x-base:1.7
	netbsd-9-1-RELEASE:1.7
	phil-wifi-20200421:1.7
	phil-wifi-20200411:1.7
	is-mlppp:1.7.0.4
	is-mlppp-base:1.7
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.4
	netbsd-9-0-RELEASE:1.7
	netbsd-9-0-RC2:1.7
	netbsd-9-0-RC1:1.7
	phil-wifi-20191119:1.7
	netbsd-9:1.7.0.2
	netbsd-9-base:1.7
	phil-wifi-20190609:1.7
	netbsd-8-1-RELEASE:1.4
	netbsd-8-1-RC1:1.4
	pgoyette-compat-merge-20190127:1.4.26.1
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	netbsd-7-2-RELEASE:1.4
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.4
	phil-wifi:1.5.0.2
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.5
	netbsd-8-0-RC2:1.4
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	netbsd-8-0-RC1:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	netbsd-7-1-2-RELEASE:1.4
	pgoyette-compat:1.4.0.26
	pgoyette-compat-base:1.4
	netbsd-7-1-1-RELEASE:1.4
	matt-nb8-mediatek:1.4.0.24
	matt-nb8-mediatek-base:1.4
	perseant-stdc-iso10646:1.4.0.22
	perseant-stdc-iso10646-base:1.4
	netbsd-8:1.4.0.20
	netbsd-8-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.18
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	pgoyette-localcount-20170320:1.4
	netbsd-7-1:1.4.0.16
	netbsd-7-1-RELEASE:1.4
	netbsd-7-1-RC2:1.4
	netbsd-7-nhusb-base-20170116:1.4
	bouyer-socketcan:1.4.0.14
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	netbsd-7-1-RC1:1.4
	pgoyette-localcount-20161104:1.4
	netbsd-7-0-2-RELEASE:1.4
	localcount-20160914:1.4
	netbsd-7-nhusb:1.4.0.12
	netbsd-7-nhusb-base:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.10
	pgoyette-localcount-base:1.4
	netbsd-7-0-1-RELEASE:1.4
	netbsd-7-0:1.4.0.8
	netbsd-7-0-RELEASE:1.4
	netbsd-7-0-RC3:1.4
	netbsd-7-0-RC2:1.4
	netbsd-7-0-RC1:1.4
	netbsd-7:1.4.0.6
	netbsd-7-base:1.4
	yamt-pagecache:1.4.0.4
	yamt-pagecache-base9:1.4
	tls-earlyentropy:1.4.0.2
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.4
	riastradh-drm2-base:1.3
	tls-maxphys-base:1.4
	tls-maxphys:1.3.0.2;
locks; strict;
comment	@# @;


1.7
date	2019.03.06.12.40.23;	author nakayama;	state Exp;
branches;
next	1.6;
commitid	UWrwdGWZVFViSieB;

1.6
date	2019.03.06.02.44.05;	author christos;	state Exp;
branches;
next	1.5;
commitid	3xms65RmvFJNzfeB;

1.5
date	2018.05.09.08.39.54;	author mrg;	state Exp;
branches
	1.5.2.1;
next	1.4;
commitid	McRhUICBhNRGdBBA;

1.4
date	2013.09.12.04.42.49;	author dholland;	state Exp;
branches
	1.4.4.1
	1.4.26.1;
next	1.3;
commitid	W2sqQZfFdpxjy65x;

1.3
date	2013.06.06.09.13.41;	author mrg;	state Exp;
branches
	1.3.2.1;
next	1.2;
commitid	mOMuAHRFWi6fcxSw;

1.2
date	2013.06.05.00.01.16;	author mrg;	state Exp;
branches;
next	1.1;
commitid	eGrDjRCbzj6qamSw;

1.1
date	2013.06.03.23.25.43;	author mrg;	state Exp;
branches;
next	;
commitid	1WQf9rXCHJEH0eSw;

1.5.2.1
date	2019.06.10.22.02.40;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.4.4.1
date	2013.09.12.04.42.49;	author yamt;	state dead;
branches;
next	1.4.4.2;
commitid	FFQX08bYGKywAxBx;

1.4.4.2
date	2014.05.22.14.09.41;	author yamt;	state Exp;
branches;
next	;
commitid	FFQX08bYGKywAxBx;

1.4.26.1
date	2018.05.21.04.35.54;	author pgoyette;	state Exp;
branches;
next	;
commitid	X5L8kSrBWQcDt7DA;

1.3.2.1
date	2013.06.06.09.13.41;	author tls;	state dead;
branches;
next	1.3.2.2;
commitid	OnlO1cBgtQRcIHUw;

1.3.2.2
date	2013.06.23.06.28.44;	author tls;	state Exp;
branches;
next	1.3.2.3;
commitid	OnlO1cBgtQRcIHUw;

1.3.2.3
date	2014.08.20.00.00.12;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;


desc
@@


1.7
log
@Centralize pam definitions and tabify.
@
text
@#	$NetBSD: Makefile,v 1.6 2019/03/06 02:44:05 christos Exp $

.include <bsd.own.mk>

LIB=	XdmGreet
.PATH:	${X11SRCDIR.xdm}/greeter

SRCS=	\
	Login.c \
	greet.c \
	verify.c

CPPFLAGS+=	-I${X11SRCDIR.xdm}/include -DRETSIGTYPE=void
# XXX: Enabling this, which should allow --export-dynamic to
# be elided, causes xdm to fail to accept password input and
# then crash at login "failure".
#CPPFLAGS+=	-DGREET_LIB
CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/freetype2/freetype

LIBDPLIBS=\
	Xext	${.CURDIR}/../libXext \
	Xt	${.CURDIR}/../libXt \
	Xdmcp	${.CURDIR}/../libXdmcp \
	Xinerama	${.CURDIR}/../libXinerama \
	Xft	${.CURDIR}/../libXft \
	Xpm	${.CURDIR}/../libXpm \
	X11	${.CURDIR}/../libX11/dynamic

.if ${USE_PAM} != "no"
LIBDPLIBS+=\
	pam	${.CURDIR}/../../../../../lib/libpam/libpam
.endif

LIBDPLIBS+=\
	crypt	${.CURDIR}/../../../../../lib/libcrypt \
	util	${.CURDIR}/../../../../../lib/libutil

.include "../../bin/xdm/Makefile.xdm"

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.6
log
@more pam fixes
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2018/05/09 08:39:54 mrg Exp $
a13 1
CPPFLAGS+=	-DHAVE_SECURITY_PAM_TYPES_H -DHAVE_SECURITY_PAM_APPL_H
@


1.5
log
@add freetype2/freetype to the include path.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2013/09/12 04:42:49 dholland Exp $
d14 1
@


1.5.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2019/03/06 12:40:23 nakayama Exp $
@


1.4
log
@Fix MKPAM=no build.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2013/06/06 09:13:41 mrg Exp $
d18 1
@


1.4.26.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2018/05/09 08:39:54 mrg Exp $
a17 1
CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/freetype2/freetype
@


1.4.4.1
log
@file Makefile was added on branch yamt-pagecache on 2014-05-22 14:09:41 +0000
@
text
@d1 40
@


1.4.4.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
@a0 40
#	$NetBSD$

.include <bsd.own.mk>

LIB=	XdmGreet
.PATH:	${X11SRCDIR.xdm}/greeter

SRCS=	\
	Login.c \
	greet.c \
	verify.c

CPPFLAGS+=	-I${X11SRCDIR.xdm}/include -DRETSIGTYPE=void
# XXX: Enabling this, which should allow --export-dynamic to
# be elided, causes xdm to fail to accept password input and
# then crash at login "failure".
#CPPFLAGS+=	-DGREET_LIB

LIBDPLIBS=\
	Xext	${.CURDIR}/../libXext \
	Xt	${.CURDIR}/../libXt \
	Xdmcp	${.CURDIR}/../libXdmcp \
	Xinerama	${.CURDIR}/../libXinerama \
	Xft	${.CURDIR}/../libXft \
	Xpm	${.CURDIR}/../libXpm \
	X11	${.CURDIR}/../libX11/dynamic

.if ${USE_PAM} != "no"
LIBDPLIBS+=\
	pam	${.CURDIR}/../../../../../lib/libpam/libpam
.endif

LIBDPLIBS+=\
	crypt	${.CURDIR}/../../../../../lib/libcrypt \
	util	${.CURDIR}/../../../../../lib/libutil

.include "../../bin/xdm/Makefile.xdm"

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.3
log
@don't build greeter lib with GREET_LIB.  it triggers some
sort of problem i haven't yet figured out, and our linker
doesn't need these hacks with --export-dynamic anyway.

if !MKPIC, built the greeter into xdm statically.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2013/06/05 00:01:16 mrg Exp $
d26 8
a33 2
	X11	${.CURDIR}/../libX11/dynamic \
	pam	${.CURDIR}/../../../../../lib/libpam/libpam \
@


1.3.2.1
log
@file Makefile was added on branch tls-maxphys on 2013-06-23 06:28:44 +0000
@
text
@d1 34
@


1.3.2.2
log
@resync from head
@
text
@a0 34
#	$NetBSD$

.include <bsd.own.mk>

LIB=	XdmGreet
.PATH:	${X11SRCDIR.xdm}/greeter

SRCS=	\
	Login.c \
	greet.c \
	verify.c

CPPFLAGS+=	-I${X11SRCDIR.xdm}/include -DRETSIGTYPE=void
# XXX: Enabling this, which should allow --export-dynamic to
# be elided, causes xdm to fail to accept password input and
# then crash at login "failure".
#CPPFLAGS+=	-DGREET_LIB

LIBDPLIBS=\
	Xext	${.CURDIR}/../libXext \
	Xt	${.CURDIR}/../libXt \
	Xdmcp	${.CURDIR}/../libXdmcp \
	Xinerama	${.CURDIR}/../libXinerama \
	Xft	${.CURDIR}/../libXft \
	Xpm	${.CURDIR}/../libXpm \
	X11	${.CURDIR}/../libX11/dynamic \
	pam	${.CURDIR}/../../../../../lib/libpam/libpam \
	crypt	${.CURDIR}/../../../../../lib/libcrypt \
	util	${.CURDIR}/../../../../../lib/libutil

.include "../../bin/xdm/Makefile.xdm"

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.3.2.3
log
@Rebase to HEAD as of a few days ago.
@
text
@d26 2
a27 8
	X11	${.CURDIR}/../libX11/dynamic

.if ${USE_PAM} != "no"
LIBDPLIBS+=\
	pam	${.CURDIR}/../../../../../lib/libpam/libpam
.endif

LIBDPLIBS+=\
@


1.2
log
@update properly for xdm 1.1.11:
- link libXdmGreet against the same libs that modular does
- copy all the config.h defines we need (could do the copy config.h
  thing here, but we use a bunch of non-standard paths)
- support ipv6 properly
- move freetype include to Makefile.xdm so the greeter can find it
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2013/06/03 23:25:43 mrg Exp $
d14 4
a17 1
CPPFLAGS+=	-DGREET_LIB
@


1.1
log
@install libXdmGreet.so so xdm works again.
requires linking xdm with --export-dynamic.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2013/06/02 03:15:49 christos Exp $
d14 1
d16 13
a28 7
.if 0
CPPFLAGS+=	${X11FLAGS.THREADLIB} \
		-DHAVE_XEXTPROTO_71 \
		-DXSERVER_LIBPCIACCESS \
		-DTRUE=1 -DFALSE=0 \
		-I${DESTDIR}${X11INCDIR}/xorg 
.endif
@

