Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/bin/xsetwallpaper add makefile for xsetwal...



details:   https://anonhg.NetBSD.org/src/rev/a1f2e8a57ada
branches:  trunk
changeset: 770557:a1f2e8a57ada
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Oct 22 22:06:17 2011 +0000

description:
add makefile for xsetwallpaper

diffstat:

 external/mit/xorg/bin/xsetwallpaper/Makefile |  29 ++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diffs (33 lines):

diff -r 9bc329eb783c -r a1f2e8a57ada external/mit/xorg/bin/xsetwallpaper/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/bin/xsetwallpaper/Makefile      Sat Oct 22 22:06:17 2011 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index