set -DPCVT_SUPPORT on most hardware

This commit is contained in:
macallan 2013-02-14 16:16:25 +00:00
parent 251aa7b9a5
commit c9c152a0c4

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.33 2012/05/14 08:42:04 abs Exp $
# $NetBSD: Makefile,v 1.34 2013/02/14 16:16:25 macallan Exp $
.include "../../../Makefile.serverlib"
.include "../../../Makefile.servermod"
@ -35,11 +35,8 @@ CPPFLAGS.${_FN}+= -DUSE_I386_IOPL -DPCVT_SUPPORT -DWSCONS_SUPPORT \
.if ${MACHINE} == "macppc" || ${MACHINE} == "prep" || ${MACHINE} == "bebox" || ${MACHINE} == "ofppc"
SRCS.bsd+= ppc_video.c pm_noop.c lnx_agp.c
.for _FN in ${SRCS.bsd}
CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DPCVT_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
.endfor
.if ${MACHINE} == "ofppc"
CPPFLAGS.${_FN}+= -DPCVT_SUPPORT
.endif
.endif
.if ${MACHINE_ARCH} == "alpha"
@ -53,7 +50,7 @@ CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC -DUSE_ALPHA_PIO
SRCS.bsd+= ppc_video.c pm_noop.c agp_noop.c
SRCS.bus+= netbsdSbus.c
.for _FN in ${SRCS.bsd}
CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DPCVT_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
.endfor
.endif
@ -76,10 +73,7 @@ CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
${MACHINE} == "zaurus"
SRCS.bsd+= ppc_video.c pm_noop.c agp_noop.c
.for _FN in ${SRCS.bsd}
CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
.if ${MACHINE} == "cats"
CPPFLAGS.${_FN}+= -DPCVT_SUPPORT
.endif
CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DPCVT_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
.endfor
.endif