Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / server / xorg-server / hw / xfree86 / loader / Makefile
blobbebe698e3939369662dcb3bc90e839dbe99cfe09
1 # $NetBSD: Makefile,v 1.13 2014/03/23 20:39:40 tron Exp $
3 .include "../../../Makefile.serverlib"
4 .include "../../../Makefile.servermod"
6 LIB= loader
7 LOADERDIR= ${X11SRCDIR.xorg-server}/hw/xfree86/${LIB}
8 .PATH: ${LOADERDIR}
10 SRCS= loader.c loadext.c loadmod.c os.c sdksyms.c
12 .if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
13 #SRCS+= SparcMulDiv.S
14 .endif
16 CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xfree86/${LIB} \
17 -I${X11SRCDIR.xorg-server}/hw/xfree86/parser \
18 -I${X11SRCDIR.xorg-server}/hw/xfree86/dixmods/extmod \
19 -I${X11SRCDIR.xorg-server}/hw/xfree86/vbe \
20 -I${X11SRCDIR.xorg-server}/miext/cw \
21 -I${X11SRCDIR.xorg-server}/miext/sync \
22 -I${X11SRCDIR.xorg-server}/hw/xfree86/int10 \
23 -I${X11SRCDIR.xorg-server}/hw/xfree86/ddc \
24 -I${X11SRCDIR.xorg-server}/hw/xfree86/i2c \
25 -I${X11SRCDIR.xorg-server}/hw/xfree86/modes \
26 -I${X11SRCDIR.xorg-server}/hw/xfree86/ramdac \
27 -I${X11SRCDIR.xorg-server}/hw/xfree86/common \
28 -I${X11SRCDIR.xorg-server}/hw/xfree86/os-support/bus \
29 -I${X11SRCDIR.xorg-server}/os \
30 -I${X11SRCDIR.xorg-server}/Xext \
31 -I${X11SRCDIR.xorg-server}/mi \
32 -I${X11SRCDIR.xorg-server}/xfixes \
33 -I${DESTDIR}${X11INCDIR}/X11 \
34 -I${DESTDIR}${X11INCDIR}/pixman-1 \
35 -I${DESTDIR}${X11INCDIR}/xorg
37 CPPFLAGS+= ${X11FLAGS.OS_DEFINES} -DDLOPEN_SUPPORT -DHAS_SHM \
38 -DIN_LOADER \
39 ${x11FLAGS.DIX}
41 .if ${MACHINE_ARCH} == "x86_64"
42 CPPFLAGS+= -DUseMMAP
43 .endif
45 CPPFLAGS.loadmod.c= ${X11FLAGS.EXTENSION} -DDEFAULT_MODULE_PATH=\"${X11USRLIBDIR}/modules\"
46 CPPFLAGS.sdksyms.c= ${X11FLAGS.EXTENSION}
48 #COPTS.sdksyms.c= -Wno-error
49 COPTS.loadmod.c= -Wno-error
51 sdksyms.c: sdksyms.sh
52 CPP=${CPP:Q} AWK=${TOOL_AWK:Q} ${HOST_SH} $(LOADERDIR)/sdksyms.sh $(X11SRCDIR.xorg-server) ${CFLAGS} ${CPPFLAGS}
53 sdksyms.d: sdksyms.c
54 CLEANFILES+= sdksyms.c sdksyms.dep
56 .include <bsd.x11.mk>
57 .include <bsd.lib.mk>