2007-05-16 13:59:15 -06:00
|
|
|
# $OpenBSD: Makefile.bsd-wrapper,v 1.12 2007/05/16 19:59:15 matthieu Exp $
|
2006-11-28 08:41:12 -07:00
|
|
|
|
|
|
|
PIXMAPDIR=/etc/X11/xdm/pixmaps
|
|
|
|
|
2007-03-04 06:58:18 -07:00
|
|
|
.if ${MACHINE} == i386 || ${MACHINE} == amd64
|
2007-03-05 10:55:55 -07:00
|
|
|
DEFAULT_VT= --with-default-vt=vt05
|
2007-03-04 06:58:18 -07:00
|
|
|
.endif
|
2007-03-26 06:15:47 -06:00
|
|
|
.if ${MACHINE_ARCH} == arm
|
|
|
|
DEFAULT_VT= --with-default-vt=vt02
|
|
|
|
.endif
|
2007-03-04 06:58:18 -07:00
|
|
|
|
2006-11-28 08:41:12 -07:00
|
|
|
CONFIGURE_ARGS= --enable-privsep \
|
2007-04-07 11:58:02 -06:00
|
|
|
--enable-bsdauth \
|
2007-03-04 06:58:18 -07:00
|
|
|
$(DEFAULT_VT) \
|
2006-11-28 13:13:42 -07:00
|
|
|
--disable-dynamic-greeter \
|
2006-11-28 08:41:12 -07:00
|
|
|
--with-xdmlibdir=/etc/X11/xdm \
|
|
|
|
--with-pixmapdir=$(PIXMAPDIR) \
|
|
|
|
--with-bw-pixmap=OpenBSD_1bpp.xpm \
|
|
|
|
--with-color-pixmap=OpenBSD_15bpp.xpm
|
|
|
|
|
2006-12-17 13:41:36 -07:00
|
|
|
afterinstall:
|
2007-05-16 13:59:15 -06:00
|
|
|
$(INSTALL_DATA) ${.CURDIR}/config/OpenBSD_1bpp.xpm $(DESTDIR)$(PIXMAPDIR)
|
|
|
|
$(INSTALL_DATA) ${.CURDIR}/config/OpenBSD_4bpp.xpm $(DESTDIR)$(PIXMAPDIR)
|
|
|
|
$(INSTALL_DATA) ${.CURDIR}/config/OpenBSD_8bpp.xpm $(DESTDIR)$(PIXMAPDIR)
|
|
|
|
$(INSTALL_DATA) ${.CURDIR}/config/OpenBSD_15bpp.xpm $(DESTDIR)$(PIXMAPDIR)
|
2006-11-26 07:03:40 -07:00
|
|
|
|
|
|
|
.include <bsd.xorg.mk>
|