1 # $NetBSD: Makefile,v 1.8 2022/10/18 07:41:29 mrg Exp $ 2 # 3 # When upgrading, re-assemble the files base, base.lst, evdev and 4 # evdev.lst by running ./configure && make in the dist directory, 5 # and copy the resulting files back here. 6 # 7 # % env PKG_CONFIG_PATH=/usr/X11R7/lib/pkgconfig meson --prefix=/usr/X11R7 build 8 # % env PKG_CONFIG_PATH=/usr/X11R7/lib/pkgconfig meson compile -C build 9 # % cp build/xkeyboard-config.7 src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man 10 # % cp build/rules/{base,evdev}{,.lst} src/external/mit/xorg/lib/xkeyboard-config/rules 11 # 12 # XXX and for now, this one too: 13 # 14 # % cp build/meson-private/xkeyboard-config.pc src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.pc.in 15 16 .include <bsd.own.mk> 17 18 XKBNAME= rules 19 GENFILES= base.extras.xml base.xml 20 FILES= README base base.lst evdev evdev.lst xfree98 xkb.dtd 21 FILES+= ${GENFILES} 22 CLEAN+= ${GENFILES} 23 24 .for i in ${GENFILES} 25 FILESBUILD_${i}= yes 26 .endfor 27 28 SYMLINKS= base ${FILESDIR}/xorg \ 29 base.lst ${FILESDIR}/xorg.lst \ 30 base.xml ${FILESDIR}/xorg.xml 31 32 .include "../Makefile.xkbdata" 33 34 .include <bsd.x11.mk> 35 .include <bsd.prog.mk> 36