| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.6 2008/09/07 14:52:48 lukem Exp $ | | 1 | # $NetBSD: Makefile,v 1.7 2008/12/03 23:17:56 hubertf Exp $ |
2 | | | 2 | |
3 | .include <bsd.sys.mk> # for HOST_SH | | 3 | .include <bsd.sys.mk> # for HOST_SH |
4 | | | 4 | |
5 | .include "../../../Makefile.serverlib" | | 5 | .include "../../../Makefile.serverlib" |
6 | .include "../../../Makefile.servermod" | | 6 | .include "../../../Makefile.servermod" |
7 | | | 7 | |
8 | LIB= common | | 8 | LIB= common |
9 | | | 9 | |
10 | .PATH: ${X11SRCDIR.xorg-server}/hw/xfree86/common | | 10 | .PATH: ${X11SRCDIR.xorg-server}/hw/xfree86/common |
11 | SRCS.xv= xf86xv.c xf86xvmc.c | | 11 | SRCS.xv= xf86xv.c xf86xvmc.c |
12 | | | 12 | |
13 | SRCS.bus= xf86isaBus.c xf86pciBus.c xf86fbBus.c xf86noBus.c | | 13 | SRCS.bus= xf86isaBus.c xf86pciBus.c xf86fbBus.c xf86noBus.c |
14 | | | 14 | |
| @@ -40,27 +40,27 @@ xf86Build.h: .PHONY | | | @@ -40,27 +40,27 @@ xf86Build.h: .PHONY |
40 | echo "#define BUILD_DATE `date +%Y%m%d`" > ${.TARGET} | | 40 | echo "#define BUILD_DATE `date +%Y%m%d`" > ${.TARGET} |
41 | | | 41 | |
42 | # We don't use DPSRCS+=xf86Build.h because we don't want the entire | | 42 | # We don't use DPSRCS+=xf86Build.h because we don't want the entire |
43 | # library to be rebuilt each time | | 43 | # library to be rebuilt each time |
44 | # | | 44 | # |
45 | xf86Init.c xf86Init.o: xf86Build.h | | 45 | xf86Init.c xf86Init.o: xf86Build.h |
46 | | | 46 | |
47 | CLEANFILES+= xf86DefModeSet.c | | 47 | CLEANFILES+= xf86DefModeSet.c |
48 | xf86DefModeSet.c: | | 48 | xf86DefModeSet.c: |
49 | ${_MKTARGET_CREATE} | | 49 | ${_MKTARGET_CREATE} |
50 | cat \ | | 50 | cat \ |
51 | ${X11SRCDIR.xorg-server}/hw/xfree86/common/vesamodes \ | | 51 | ${X11SRCDIR.xorg-server}/hw/xfree86/common/vesamodes \ |
52 | ${X11SRCDIR.xorg-server}/hw/xfree86/common/extramodes | \ | | 52 | ${X11SRCDIR.xorg-server}/hw/xfree86/common/extramodes | \ |
53 | awk -f ${.CURDIR}/modeline2c.awk > ${.TARGET} | | 53 | ${TOOL_AWK} -f ${.CURDIR}/modeline2c.awk > ${.TARGET} |
54 | | | 54 | |
55 | CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xfree86/common \ | | 55 | CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xfree86/common \ |
56 | -I${X11SRCDIR.xorg-server}/hw/xfree86/os-support \ | | 56 | -I${X11SRCDIR.xorg-server}/hw/xfree86/os-support \ |
57 | -I${X11SRCDIR.xorg-server}/hw/xfree86/os-support/bus \ | | 57 | -I${X11SRCDIR.xorg-server}/hw/xfree86/os-support/bus \ |
58 | -I${X11SRCDIR.xorg-server}/mfb \ | | 58 | -I${X11SRCDIR.xorg-server}/mfb \ |
59 | -I${X11SRCDIR.xorg-server}/mi \ | | 59 | -I${X11SRCDIR.xorg-server}/mi \ |
60 | -I${X11SRCDIR.xorg-server}/include \ | | 60 | -I${X11SRCDIR.xorg-server}/include \ |
61 | -I${X11SRCDIR.xorg-server}/os \ | | 61 | -I${X11SRCDIR.xorg-server}/os \ |
62 | -I${X11SRCDIR.xorg-server}/Xext \ | | 62 | -I${X11SRCDIR.xorg-server}/Xext \ |
63 | -I${DESTDIR}${X11INCDIR}/X11 \ | | 63 | -I${DESTDIR}${X11INCDIR}/X11 \ |
64 | -I${DESTDIR}${X11INCDIR}/X11/extensions \ | | 64 | -I${DESTDIR}${X11INCDIR}/X11/extensions \ |
65 | -I${DESTDIR}${X11INCDIR}/pixman-1 \ | | 65 | -I${DESTDIR}${X11INCDIR}/pixman-1 \ |
66 | -I${DESTDIR}${X11INCDIR}/xorg \ | | 66 | -I${DESTDIR}${X11INCDIR}/xorg \ |