summaryrefslogtreecommitdiff
path: root/external/mit/xorg/bin/xsetwallpaper/Makefile
blob: a2b61110e1a4eb3a288de472b1cad6c57ac8845f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#	$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>