1# $NetBSD: Makefile,v 1.3 2020/11/05 16:06:41 tsutsui Exp $ 2 3.include <bsd.own.mk> 4 5PROG= X68k 6BINMODE= 4711 7 8SYMLINKS= ${X11BINDIR}/X68k ${X11BINDIR}/X 9 10FILES= X68kConfig 11FILESDIR= ${X11ETCDIR} 12 13.include "../../../Makefile.serverlib" 14.include "../../../Makefile.servermod" 15 16WARNS?= 2 17 18.PATH: ${X11SRCDIR.xorg-server}/hw/netbsd/x68k 19SRCS= x68kInit.c x68kConfig.c x68kIo.c x68kMouse.c x68kKbd.c x68kKeyMap.c \ 20 x68kFb.c x68kGraph.c x68kText.c 21 22.PATH: ${X11SRCDIR.xorg-server}/Xext 23SRCS+= dpmsstubs.c 24 25.PATH: ${X11SRCDIR.xorg-server}/Xi 26SRCS+= stubs.c 27 28.PATH: ${X11SRCDIR.xorg-server}/mi 29SRCS+= miinitext.c 30 31.PATH: ${X11SRCDIR.xorg-server}/fb 32SRCS+= fbcmap_mi.c 33 34CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/netbsd/x68k \ 35 ${X11INCS.DIX} 36 37CPPFLAGS+= -UXFree86LOADER -UXF86VIDMODE -UXFreeXDGA -UXF86MISC \ 38 -UXF86DRI -UXF86BIGFONT 39 40CPPFLAGS+= -UHAVE_XORG_CONFIG_H 41 42CPPFLAGS.x68kConfig.c= -DX11_LIBDIR=\"${X11ETCDIR}\" 43 44.include "../../../Makefile.Xserver" 45 46LDADD+= ${LDADD.dix} \ 47 ${LDADD.fb} \ 48 ${LDADD.mi} \ 49 ${LDADD.xkb} \ 50 ${LDADD.xkbstubs} \ 51 ${LDADD.randr} \ 52 ${LDADD.Xext} \ 53 ${LDADD.composite} \ 54 ${LDADD.render} \ 55 ${LDADD.os} \ 56 ${LDADD.xfixes} \ 57 ${LDADD.damageext} \ 58 ${LDADD.miext/damage} \ 59 ${LDADD.miext/sync} \ 60 ${LDADD.Xi} \ 61 -lXfont \ 62 -lpixman-1 \ 63 -lXext \ 64 -lX11 \ 65 -lz \ 66 -lm 67 68DPADD+= ${LDADD.dix} \ 69 ${DPADD.fb} \ 70 ${DPADD.mi} \ 71 ${DPADD.xkb} \ 72 ${DPADD.randr} \ 73 ${DPADD.Xext} \ 74 ${DPADD.composite} \ 75 ${DPADD.render} \ 76 ${DPADD.os} \ 77 ${DPADD.xfixes} \ 78 ${DPADD.damageext} \ 79 ${DPADD.miext/damage} \ 80 ${DPADD.miext/sync} \ 81 ${DPADD.Xi} \ 82 ${LIBXFONT} \ 83 ${LIBPIXMAN-1} \ 84 ${LIBXEXT} \ 85 ${LIBX11} \ 86 ${LIBZ} \ 87 ${LIBM} 88 89.include <bsd.x11.mk> 90.include <bsd.prog.mk> 91