Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / bin / rgb / Makefile
blob38ad32542c2754a5d6ea6ff6768ab60ebec7a495
1 # $NetBSD: Makefile,v 1.4 2008/09/02 01:39:19 lukem Exp $
3 NOMAN= 1
5 .include <bsd.own.mk>
7 .PATH: ${X11SRCDIR.xc}/programs/rgb
8 PROG= rgb
9 SRCS= rgb.c
10 RGBSRCDIR= ${X11SRCDIR.xc}/programs/${PROG}
12 CPPFLAGS+=-DNDBM -DRGB_DB=\"${X11LIBDIR}/rgb\"
13 CPPFLAGS+=-I${X11SRCDIR.xc}/programs/Xserver/include
15 FILES= rgb.txt rgb.db
16 FILESDIR=${X11LIBDIR}
18 CLEANFILES+=rgb.db
19 realall: rgb.db
21 rgb.db: ${RGBSRCDIR}/rgb.txt rgb_mkdb.sh
22 ${_MKTARGET_CREATE}
23 rm -f ${.TARGET}
24 TOOL_AWK=${AWK:Q} TOOL_DB=${TOOL_DB:Q} ${HOST_SH} \
25 ${.CURDIR}/rgb_mkdb.sh ${RGBSRCDIR}/rgb.txt ${.TARGET} \
26 || rm -f ${.TARGET}
28 .include <bsd.x11.mk>
29 .include <bsd.prog.mk>