1# $NetBSD: Makefile,v 1.2 2008/10/14 23:37:19 cube Exp $ 2 3.include <bsd.own.mk> 4 5PROG= showrgb 6 7CPPFLAGS+=-DNDBM -DRGB_DB=\"${X11LIBDIR}/rgb\" -DUSE_RGB_TXT 8CPPFLAGS+=-I${X11SRCDIR.rgb}/include 9 10X11EXTRAMANDEFS+= -e 's,__RGB_DB__,${X11LIBDIR}/rgb,g; \ 11 s,__RGB_DB_TYPE__,text,g' 12 13FILES= rgb.txt 14FILESDIR=${X11LIBDIR} 15 16.PATH: ${X11SRCDIR.rgb} ${X11SRCDIR.rgb}/man 17 18.include <bsd.x11.mk> 19.include <bsd.prog.mk> 20