Source-Changes-HG archive

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

[src/trunk]: src/x11/Xserver/afb build afbmodule.c if loadable



details:   https://anonhg.NetBSD.org/src/rev/77f8ca75b7a3
branches:  trunk
changeset: 556640:77f8ca75b7a3
user:      rtr <rtr%NetBSD.org@localhost>
date:      Mon Dec 22 16:20:46 2003 +0000

description:
build afbmodule.c if loadable

diffstat:

 x11/Xserver/afb/Makefile |  26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diffs (41 lines):

diff -r 3f3afe6744aa -r 77f8ca75b7a3 x11/Xserver/afb/Makefile
--- a/x11/Xserver/afb/Makefile  Mon Dec 22 16:18:19 2003 +0000
+++ b/x11/Xserver/afb/Makefile  Mon Dec 22 16:20:46 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2003/12/22 16:08:56 rtr Exp $
+#      $NetBSD: Makefile,v 1.2 2003/12/22 16:20:46 rtr Exp $
 
 XMODULEDIR=    ${X11USRLIBDIR}/modules
 
@@ -6,17 +6,21 @@
 
 .include <bsd.own.mk>
 
-LIB=           afb
-.PATH:         ${X11SRCDIR.xc}/programs/Xserver/${LIB}
+LIB=   afb
+.PATH: ${X11SRCDIR.xc}/programs/Xserver/${LIB}
 
-SRCS=          afbbltC.c afbbltX.c afbbltCI.c afbbltO.c afbbltG.c afbtileC.c \
-               afbtileG.c afbseg.c afbbitblt.c afbblt.c afbbres.c afbbresd.c \
-               afbbstore.c afbclip.c afbcmap.c afbfillarc.c afbfillrct.c \
-               afbfillsp.c afbfont.c afbgc.c afbgetsp.c afbhrzvert.c \
-               afbimage.c afbimggblt.c afbline.c afbmisc.c afbpixmap.c \
-               afbply1rct.c afbplygblt.c afbpntarea.c afbpntwin.c \
-               afbpolypnt.c afbpushpxl.c afbscrinit.c afbsetsp.c afbtegblt.c \
-               afbtile.c afbwindow.c afbzerarc.c
+SRCS=  afbbltC.c afbbltX.c afbbltCI.c afbbltO.c afbbltG.c afbtileC.c \
+       afbtileG.c afbseg.c afbbitblt.c afbblt.c afbbres.c afbbresd.c \
+       afbbstore.c afbclip.c afbcmap.c afbfillarc.c afbfillrct.c \
+       afbfillsp.c afbfont.c afbgc.c afbgetsp.c afbhrzvert.c \
+       afbimage.c afbimggblt.c afbline.c afbmisc.c afbpixmap.c \
+       afbply1rct.c afbplygblt.c afbpntarea.c afbpntwin.c \
+       afbpolypnt.c afbpushpxl.c afbscrinit.c afbsetsp.c afbtegblt.c \
+       afbtile.c afbwindow.c afbzerarc.c
+
+.if defined(X11FLAGS.LOADABLE)
+SRCS+= afbmodule.c
+.endif
 
 XSERVERINCDIR!=        cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
 



Home | Main Index | Thread Index | Old Index