Project

General

Profile

Feature #942 ยป 0038-Move-SDL3_gfx-out-from-dependencies.patch

Marko Lindqvist, 10/08/2024 11:24 PM

View differences:

client/gui-sdl3/Makefile.am
## Process this file with automake to produce Makefile.in
EXTRA_DIST = \
SDL3_gfx/SDL3_rotozoom.c \
SDL3_gfx/SDL3_rotozoom.h \
action_dialog.c \
canvas.c \
canvas.h \
meson.build
if get_option('clients').contains('sdl3')
sdl3_gfx_dep = []
sdl3_gfx_src = []
sdl3_gfx_inc = []
sdl3_gfx_cargs = []
sdl3_image_dep = []
sdl3_ttf_dep = []
if not emscripten
sdl3_gfx_src = 'dependencies/SDL3_gfx/SDL3_rotozoom.c'
sdl3_gfx_inc = include_directories('dependencies')
sdl3_image_dep = c_compiler.find_library('SDL3_image', dirs: cross_lib_path,
......
'client/gui-sdl3/widget_scrollbar.c',
'client/gui-sdl3/widget_window.c',
'client/gui-sdl3/wldlg.c',
sdl3_gfx_src,
'client/gui-sdl3/SDL3_gfx/SDL3_rotozoom.c',
clienticon,
include_directories: [client_inc, sdl3_gfx_inc ],
dependencies: [sdl3main_dep, audio_dep,
    (1-1/1)