Home | History | Annotate | Line # | Download | only in xsetwallpaper
Makefile revision 1.6
      1 #	$NetBSD: Makefile,v 1.6 2024/04/18 19:17:14 jakllsch Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      5 PROG=		xsetwallpaper
      6 SRCS=		xsetwallpaper.c
      7 SRCS+=		stb_image.c
      8 
      9 CPPFLAGS+=	-I${NETBSDSRCDIR}/sys -I${NETBSDSRCDIR}/sys/dev/stbi
     10 
     11 SRCPATH=        ${X11SRCDIR.local}/programs/xsetwallpaper
     12 
     13 LDADD+=		-lm -lX11
     14 DPADD+=		${LIBM} ${LIBX11}
     15 
     16 .PATH:		${X11SRCDIR.local}/programs/xsetwallpaper
     17 .PATH:		${NETBSDSRCDIR}/sys/dev/stbi
     18 
     19 WARNS=		4
     20 
     21 CPPFLAGS.stb_image.c+=	-Wno-shadow
     22 CPPFLAGS.stb_image.c+=	-Wno-sign-compare
     23 CPPFLAGS.stb_image.c+=	-Wno-missing-prototypes
     24 CPPFLAGS.stb_image.c+=	-Wno-missing-field-initializers
     25 
     26 CWARNFLAGS.clang+=	-Wno-missing-noreturn -Wno-self-assign
     27 
     28 .include <bsd.x11.mk>
     29 .include <bsd.prog.mk>
     30