scummvm/graphics/module.mk

160 lines
2.6 KiB
Makefile

MODULE := graphics
MODULE_OBJS := \
big5.o \
blit/blit.o \
blit/blit-alpha.o \
blit/blit-scale.o \
cursorman.o \
font.o \
fontman.o \
fonts/amigafont.o \
fonts/bdf.o \
fonts/consolefont.o \
fonts/dosfont.o \
fonts/freetype.o \
fonts/macfont.o \
fonts/newfont_big.o \
fonts/newfont.o \
fonts/ttf.o \
fonts/winfont.o \
framelimiter.o \
korfont.o \
larryScale.o \
maccursor.o \
macgui/datafiles.o \
macgui/macbutton.o \
macgui/macdialog.o \
macgui/macfontmanager.o \
macgui/macmenu.o \
macgui/macpopupmenu.o \
macgui/mactext.o \
macgui/mactextwindow.o \
macgui/macwidget.o \
macgui/macwindow.o \
macgui/macwindowborder.o \
macgui/macwindowmanager.o \
managed_surface.o \
nine_patch.o \
opengl/context.o \
opengl/debug.o \
opengl/shader.o \
palette.o \
pixelformat.o \
pm5544.o \
primitives.o \
renderer.o \
scalerplugin.o \
scaler/downscaler.o \
scaler/thumbnail_intern.o \
screen.o \
scaler/normal.o \
sjis.o \
surface.o \
svg.o \
transform_struct.o \
transform_tools.o \
transparent_surface.o \
thumbnail.o \
VectorRenderer.o \
VectorRendererSpec.o \
wincursor.o \
yuv_to_rgb.o
ifdef USE_ARM_SCALER_ASM
MODULE_OBJS += \
scaler/downscalerARM.o
endif
ifdef USE_TINYGL
MODULE_OBJS += \
tinygl/api.o \
tinygl/arrays.o \
tinygl/clear.o \
tinygl/clip.o \
tinygl/fog.o \
tinygl/get.o \
tinygl/init.o \
tinygl/light.o \
tinygl/list.o \
tinygl/matrix.o \
tinygl/memory.o \
tinygl/misc.o \
tinygl/pixelbuffer.o \
tinygl/select.o \
tinygl/specbuf.o \
tinygl/texture.o \
tinygl/texelbuffer.o \
tinygl/vertex.o \
tinygl/zbuffer.o \
tinygl/zline.o \
tinygl/zmath.o \
tinygl/ztriangle.o \
tinygl/zblit.o \
tinygl/zdirtyrect.o
endif
ifdef USE_ASPECT
MODULE_OBJS += \
scaler/aspect.o
endif
ifdef USE_SCALERS
MODULE_OBJS += \
scaler/dotmatrix.o \
scaler/sai.o \
scaler/pm.o \
scaler/scale2x.o \
scaler/scale3x.o \
scaler/scalebit.o \
scaler/tv.o
ifdef USE_ARM_SCALER_ASM
MODULE_OBJS += \
scaler/scale2xARM.o \
scaler/Normal2xARM.o
endif
ifdef USE_HQ_SCALERS
MODULE_OBJS += \
scaler/hq.o
ifdef USE_NASM
MODULE_OBJS += \
scaler/hq2x_i386.o \
scaler/hq3x_i386.o
endif
endif
ifdef USE_EDGE_SCALERS
MODULE_OBJS += \
scaler/edge.o
endif
endif
ifdef ATARI
MODULE_OBJS += \
blit-atari.o
endif
ifeq ($(SCUMMVM_NEON),1)
MODULE_OBJS += \
blit/blit-neon.o
$(MODULE)/blit/blit-neon.o: CXXFLAGS += $(NEON_CXXFLAGS)
endif
ifeq ($(SCUMMVM_SSE2),1)
MODULE_OBJS += \
blit/blit-sse2.o
$(MODULE)/blit/blit-sse2.o: CXXFLAGS += -msse2
endif
ifeq ($(SCUMMVM_AVX2),1)
MODULE_OBJS += \
blit/blit-avx2.o
$(MODULE)/blit/blit-avx2.o: CXXFLAGS += -mavx2
endif
# Include common rules
include $(srcdir)/rules.mk