etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / bin / xsetwallpaper / Makefile
bloba2b61110e1a4eb3a288de472b1cad6c57ac8845f
1 # $NetBSD: Makefile,v 1.2 2012/03/22 23:46:26 joerg Exp $
3 NOMAN= # defined
5 .include <bsd.own.mk>
7 PROG= xsetwallpaper
8 SRCS= xsetwallpaper.c
9 SRCS+= stb_image.c
11 CPPFLAGS+= -I${NETBSDSRCDIR}/sys -I${NETBSDSRCDIR}/sys/dev/stbi
13 SRCPATH= ${X11SRCDIR.local}/programs/xsetwallpaper
15 LDADD+= -lm -lX11
16 DPADD+= ${LIBM} ${LIBX11}
18 .PATH: ${X11SRCDIR.local}/programs/xsetwallpaper
19 .PATH: ${NETBSDSRCDIR}/sys/dev/stbi
21 WARNS= 4
23 CPPFLAGS.stb_image.c+= -Wno-shadow
24 CPPFLAGS.stb_image.c+= -Wno-sign-compare
25 CPPFLAGS.stb_image.c+= -Wno-missing-prototypes
26 CPPFLAGS.stb_image.c+= -Wno-missing-field-initializers
28 CWARNFLAGS.clang+= -Wno-missing-noreturn -Wno-self-assign
30 .include <bsd.x11.mk>
31 .include <bsd.prog.mk>