Module Name: src Committed By: jmcneill Date: Sat Oct 22 22:06:17 UTC 2011
Added Files: src/external/mit/xorg/bin/xsetwallpaper: Makefile Log Message: add makefile for xsetwallpaper To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/bin/xsetwallpaper/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Added files: Index: src/external/mit/xorg/bin/xsetwallpaper/Makefile diff -u /dev/null src/external/mit/xorg/bin/xsetwallpaper/Makefile:1.1 --- /dev/null Sat Oct 22 22:06:17 2011 +++ src/external/mit/xorg/bin/xsetwallpaper/Makefile Sat Oct 22 22:06:17 2011 @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2011/10/22 22:06:17 jmcneill Exp $ + +NOMAN= # defined + +.include <bsd.own.mk> + +PROG= xsetwallpaper +SRCS= xsetwallpaper.c +SRCS+= stb_image.c + +CPPFLAGS+= -I${NETBSDSRCDIR}/sys -I${NETBSDSRCDIR}/sys/dev/stbi + +SRCPATH= ${X11SRCDIR.local}/programs/xsetwallpaper + +LDADD+= -lm -lX11 +DPADD+= ${LIBM} ${LIBX11} + +.PATH: ${X11SRCDIR.local}/programs/xsetwallpaper +.PATH: ${NETBSDSRCDIR}/sys/dev/stbi + +WARNS= 4 + +CPPFLAGS.stb_image.c+= -Wno-shadow +CPPFLAGS.stb_image.c+= -Wno-sign-compare +CPPFLAGS.stb_image.c+= -Wno-missing-prototypes +CPPFLAGS.stb_image.c+= -Wno-missing-field-initializers + +.include <bsd.x11.mk> +.include <bsd.prog.mk>