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