zpool(8) uses tbl.
[netbsd-mini2440.git] / x11 / Xserver / Makefile.serverlib
blob069644e0cc0aaf1d3a3003fbc2cfaf858ce58b8d
1 #       $NetBSD: Makefile.serverlib,v 1.7 2004/07/14 09:44:26 agc Exp $
3 NOLINT=         1
4 NOPROFILE=      1
6 .if ${MACHINE_ARCH} != "mipseb" && ${MACHINE_ARCH} != "mipsel"
7 NOPIC=          1
8 .endif
10 .include <bsd.own.mk>           # for NETBSDSRCDIR
11 .include <bsd.endian.mk>
13 .if ${XMODULEDIR:U} == ""
14 libinstall::
15 .endif
17 .if ${TARGET_ENDIANNESS} == "1234"
18 X_BYTE_ORDER=X_LITTLE_ENDIAN
19 .elif ${TARGET_ENDIANNESS} == "4321"
20 X_BYTE_ORDER=X_BIG_ENDIAN
21 .else
22 X_BYTE_ORDER=0
23 .endif
25 CPPFLAGS+=      ${X11FLAGS.SERVER} -DX_BYTE_ORDER=${X_BYTE_ORDER}
27 .if !defined(XSERVERINCDIR)
28 XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
29 .MAKEOVERRIDES+=XSERVERINCDIR
30 .endif
32 # Architectures that can't use the XFree86 loader (such as MIPS) can use
33 # dlopen() to load modules.
35 .if defined(XMODULEDIR)
36 CPPFLAGS+=      ${X11FLAGS.LOADABLE}
37 .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
38 SHLIB_MAJOR=    0
39 SHLIB_MINOR=    0
40 MKPICLIB=       yes
41 MKSTATICLIB=    no
42 .endif
43 .else
44 NOPIC=          1
45 .endif