minix/external/mit/xorg/bin/imake/Makefile
Lionel Sambuc 971bb1a587 Importing external/mit/xorg support rules
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
2014-11-10 14:43:29 +01:00

19 lines
406 B
Makefile

# $NetBSD: Makefile,v 1.4 2013/05/31 05:41:26 mrg Exp $
.include <bsd.own.mk>
PROG= imake
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
CPPFLAGS+= -I${X11SRCDIR.${PROG}}/../include
CPP_PROGRAM= cpp
CPPFLAGS+= -DCPP_PROGRAM=\"$(CPP_PROGRAM)\"
X11EXTRAMANDEFS=-e 's,__cpp__,$(CPP_PROGRAM),g'
.PATH: ${X11SRCDIR.${PROG}}
COPTS.imake.c+= -Wno-error # const issues
.include <bsd.x11.mk>
.include <bsd.prog.mk>