xenocara/app/xdm/Makefile.bsd-wrapper
2007-03-26 12:15:47 +00:00

27 lines
822 B
Makefile

# $OpenBSD: Makefile.bsd-wrapper,v 1.10 2007/03/26 12:15:47 matthieu Exp $
PIXMAPDIR=/etc/X11/xdm/pixmaps
.if ${MACHINE} == i386 || ${MACHINE} == amd64
DEFAULT_VT= --with-default-vt=vt05
.endif
.if ${MACHINE_ARCH} == arm
DEFAULT_VT= --with-default-vt=vt02
.endif
CONFIGURE_ARGS= --enable-privsep \
$(DEFAULT_VT) \
--disable-dynamic-greeter \
--with-xdmlibdir=/etc/X11/xdm \
--with-pixmapdir=$(PIXMAPDIR) \
--with-bw-pixmap=OpenBSD_1bpp.xpm \
--with-color-pixmap=OpenBSD_15bpp.xpm
afterinstall:
$(INSTALL) -c ${.CURDIR}/config/OpenBSD_1bpp.xpm $(DESTDIR)$(PIXMAPDIR)
$(INSTALL) -c ${.CURDIR}/config/OpenBSD_4bpp.xpm $(DESTDIR)$(PIXMAPDIR)
$(INSTALL) -c ${.CURDIR}/config/OpenBSD_8bpp.xpm $(DESTDIR)$(PIXMAPDIR)
$(INSTALL) -c ${.CURDIR}/config/OpenBSD_15bpp.xpm $(DESTDIR)$(PIXMAPDIR)
.include <bsd.xorg.mk>