Home | History | Annotate | Download | only in vega
      1 # src/gallium/state_trackers/vega/Makefile
      2 
      3 TOP = ../../../..
      4 include $(TOP)/configs/current
      5 
      6 LIBNAME = vega
      7 
      8 LIBRARY_INCLUDES = \
      9 	-I$(TOP)/include \
     10 	-I$(TOP)/src/mapi
     11 
     12 LIBRARY_DEFINES = \
     13 	-DVEGA_VERSION_STRING=\"$(MESA_VERSION)\"
     14 
     15 C_SOURCES = \
     16            api.c           \
     17            api_context.c   \
     18            api_filters.c   \
     19            api_images.c    \
     20            api_masks.c     \
     21            api_misc.c      \
     22            api_paint.c     \
     23            api_params.c    \
     24            api_path.c      \
     25            api_text.c      \
     26            api_transform.c \
     27            arc.c \
     28            bezier.c \
     29            handle.c \
     30            image.c \
     31            mask.c \
     32            paint.c \
     33            path.c \
     34            polygon.c \
     35            renderer.c \
     36            shader.c \
     37            shaders_cache.c \
     38            stroker.c \
     39            text.c \
     40            vg_context.c \
     41            vg_manager.c \
     42            vg_state.c \
     43            vg_translate.c \
     44            vgu.c
     45 
     46 
     47 GENERATED_SOURCES := api_tmp.h
     48 
     49 include ../../Makefile.template
     50 
     51 MAPI := $(TOP)/src/mapi
     52 api_tmp.h: $(MAPI)/mapi/mapi_abi.py $(MAPI)/vgapi/vgapi.csv
     53 	$(PYTHON2) $< --printer vgapi --mode app $(MAPI)/vgapi/vgapi.csv > $@
     54