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

31 lines
719 B
Makefile

# $NetBSD: Makefile,v 1.2 2012/03/22 23:46:26 joerg 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
CWARNFLAGS.clang+= -Wno-missing-noreturn -Wno-self-assign
.include <bsd.x11.mk>
.include <bsd.prog.mk>