build cross Xmacppc.
This commit is contained in:
parent
9cca1181ca
commit
f526c09c1a
|
@ -0,0 +1,37 @@
|
|||
# $NetBSD: Makefile,v 1.1 2003/12/27 15:16:54 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PROG= Xmacppc
|
||||
BINMODE=4711
|
||||
|
||||
MKMAN= no
|
||||
|
||||
.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/macppc
|
||||
|
||||
.include "../Makefile.Xserver"
|
||||
|
||||
LDADD+= ${LDADD.dix} ${LDADD.mi} ${LDADD.os} -lXau -lXdmcp ${LDADD.hw/netbsd/macppc} \
|
||||
${LDADD.cfb} ${LDADD.mfb} \
|
||||
${LDADD.Xext/exts} ${LDADD.xkb} ${LDADD.xinput} ${LDADD.lbx} \
|
||||
-llbxutil ${LDADD.randr} ${LDADD.render} ${LDADD.dix/xpstubs} \
|
||||
${LDADD.mi} ${LDADD.Xext/exts} ${LDADD.xkb} ${LDADD.xinput} \
|
||||
${LDADD.lbx} -llbxutil ${LDADD.randr} ${LDADD.render} \
|
||||
${LDADD.hw/netbsd/macppc} ${LDADD.Xext/ext} ${LDADD.dbe} ${LDADD.record} \
|
||||
${LDADD.GL/glx} ${LDADD.GL/GLcore} ${LDADD.xtrap} ${LIBCWRAPPER} \
|
||||
-lXfont -lfreetype ${LDADD.dix/xpstubs} \
|
||||
-lXext -lX11 -lz -lm
|
||||
|
||||
DPADD+= ${DPADD.dix} ${DPADD.mi} ${DPADD.os} ${LIBXAU} ${LIBXDMCP} ${DPADD.hw/netbsd/macppc} \
|
||||
${DPADD.cfb} ${DPADD.mfb} \
|
||||
${DPADD.Xext/exts} ${DPADD.xkb} ${DPADD.xinput} ${DPADD.lbx} \
|
||||
${LIBLBXUTIL} ${DPADD.randr} ${DPADD.render} ${DPADD.dix/xpstubs} \
|
||||
${DPADD.mi} ${DPADD.Xext/exts} ${DPADD.xkb} ${DPADD.xinput} \
|
||||
${DPADD.lbx} ${LIBLBXUTIL} ${DPADD.randr} ${DPADD.render} \
|
||||
${DPADD.hw/netbsd/macppc} ${DPADD.Xext/ext} ${DPADD.dbe} ${DPADD.record} \
|
||||
${DPADD.GL/glx} ${DPADD.GL/GLcore} ${DPADD.xtrap} ${LIBCWRAPPER} \
|
||||
${LIBXFONT} ${LIBFREETYPE} ${DPADD.dix/xpstubs} \
|
||||
${LIBXEXT} ${LIBX11} ${LIBZ} ${LIBM}
|
||||
|
||||
.include <bsd.x11.mk>
|
||||
.include <bsd.prog.mk>
|
|
@ -0,0 +1 @@
|
|||
/* $NetBSD: Xmacppc.c,v 1.1 2003/12/27 15:16:54 mrg Exp $ */
|
|
@ -0,0 +1,36 @@
|
|||
# $NetBSD: Makefile,v 1.1 2003/12/27 15:16:54 mrg Exp $
|
||||
|
||||
.include "../../../Makefile.serverlib"
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= macppc
|
||||
|
||||
.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/macppc
|
||||
SRCS= macppcFbs.c macppcIo.c macppcKeyMap.c macppcOFB.c macppc.h \
|
||||
macppcInit.c macppcKbd.c macppcMouse.c macppcInEx.c GetTime.c
|
||||
|
||||
XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
|
||||
|
||||
# trim fonts / extentions / XSERVERINCDIR if possible
|
||||
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/netbsd/macppc \
|
||||
-I${X11SRCDIR.xc}/programs/Xserver \
|
||||
-I${X11SRCDIR.xc}/programs/Xserver/mi \
|
||||
-I${X11SRCDIR.xc}/programs/Xserver/mfb \
|
||||
-I${X11SRCDIR.xc}/programs/Xserver/cfb \
|
||||
-I${X11SRCDIR.xc}/programs/Xserver/include \
|
||||
-I${X11SRCDIR.xc}/programs/Xserver/os \
|
||||
-I${DESTDIR}${X11INCDIR}/X11 \
|
||||
-I${X11SRCDIR.xc}/include/fonts \
|
||||
-I${X11SRCDIR.xc}/include/extensions \
|
||||
-I${XSERVERINCDIR}
|
||||
|
||||
CPPFLAGS+= -UXFree86LOADER -UXF86VIDMODE -UXFreeXDGA -UXF86MISC \
|
||||
-UXF86DRI -UXF86BIGFONT
|
||||
|
||||
CPPFLAGS.macppcKbd.c= -Wno-error
|
||||
|
||||
BUILDSYMLINKS= ../../../mi/miinitext.c macppcInEx.c
|
||||
|
||||
.include <bsd.x11.mk>
|
||||
.include <bsd.lib.mk>
|
Loading…
Reference in New Issue