summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/vmware/core/Makefile
blob: ff8f01b32227cc4df7dd5c63226e214948bc0e91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
TOP = ../../../../../..
include $(TOP)/configs/current

LIBNAME = svgadrm

C_SOURCES = \
        vmw_buffer.c \
        vmw_context.c  \
        vmw_fence.c  \
        vmw_screen.c  \
        vmw_screen_dri.c  \
        vmw_screen_ioctl.c  \
        vmw_screen_pools.c  \
        vmw_screen_svga.c  \
        vmw_surface.c

LIBRARY_INCLUDES = \
       -I$(TOP)/src/gallium/drivers/svga \
       -I$(TOP)/src/gallium/drivers/svga/include \
       -I$(GALLIUM)/src/mesa/drivers/dri/common \
       -I$(GALLIUM)/include \
       -I$(GALLIUM)/include/GL/internal \
       -I$(GALLIUM)/src/mesa \
       -I$(GALLIUM)/src/mesa/main \
       -I$(GALLIUM)/src/mesa/glapi \
       -I$(GALLIUM)/src/egl/main \
       -I$(GALLIUM)/src/egl/drivers/dri \
       $(shell pkg-config libdrm --cflags-only-I)

LIBRARY_DEFINES = \
       -DHAVE_STDINT_H -D_FILE_OFFSET_BITS=64 \
       $(shell pkg-config libdrm --cflags-only-other)

CC = gcc -fvisibility=hidden -msse -msse2

# Set the gnu99 standard to enable anonymous structs in vmware headers.
#
CFLAGS = -Wall -Wmissing-prototypes -std=gnu99 -ffast-math \
       $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)

include ../../../../Makefile.template


symlinks:


include depend