minix/external/mit/xorg/lib/libXdmGreet/Makefile
Lionel Sambuc 971bb1a587 Importing external/mit/xorg support rules
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
2014-11-10 14:43:29 +01:00

40 lines
920 B
Makefile

# $NetBSD: Makefile,v 1.4 2013/09/12 04:42:49 dholland 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
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>