blob: 465ecd08926d944c7e83d0d6ec84ffd2e862375d (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
|
AM_CFLAGS = -std=gnu99 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter \
-Werror-implicit-function-declaration -Wstrict-prototypes \
-Wpointer-arith -Wredundant-decls -Wno-missing-field-initializers\
-D_GNU_SOURCE
LIBASS_LT_CURRENT = 10
LIBASS_LT_REVISION = 3
LIBASS_LT_AGE = 1
nasm_verbose = $(nasm_verbose_$(V))
nasm_verbose_ = $(nasm_verbose_$(AM_DEFAULT_VERBOSITY))
nasm_verbose_0 = @echo " NASM " $@;
.asm.lo:
$(nasm_verbose)$(LIBTOOL) $(AM_V_lt) --tag=CC --mode=compile $(top_srcdir)/ltnasm.sh $(AS) $(ASFLAGS) -I$(srcdir)/ -Dprivate_prefix=ass -o $@ $<
SRC_X86 = x86/rasterizer.asm x86/blend_bitmaps.asm x86/be_blur.asm x86/blur.asm x86/cpuid.asm \
x86/cpuid.h
SRC_FONTCONFIG = ass_fontconfig.c ass_fontconfig.h
SRC_DIRECTWRITE = ass_directwrite.c ass_directwrite.h ass_directwrite_info_template.h dwrite_c.h
SRC_CORETEXT = ass_coretext.c ass_coretext.h
lib_LTLIBRARIES = libass.la
libass_la_SOURCES = ass.h ass.c ass_types.h ass_utils.h ass_utils.c \
ass_compat.h ass_string.h ass_string.c ass_strtod.c \
ass_filesystem.h ass_filesystem.c ass_library.h ass_library.c \
ass_cache.h ass_cache.c ass_cache_template.h \
ass_font.h ass_font.c ass_fontselect.h ass_fontselect.c \
ass_render.h ass_render.c ass_render_api.c \
ass_parse.h ass_parse.c ass_priv.h ass_shaper.h ass_shaper.c \
ass_outline.h ass_outline.c ass_drawing.h ass_drawing.c \
ass_rasterizer.h ass_rasterizer.c ass_rasterizer_c.c \
ass_bitmap.h ass_bitmap.c ass_blur.c ass_func_template.h wyhash.h
libass_la_LDFLAGS = -no-undefined -version-info $(LIBASS_LT_CURRENT):$(LIBASS_LT_REVISION):$(LIBASS_LT_AGE)
libass_la_LDFLAGS += -export-symbols $(srcdir)/libass.sym
if FONTCONFIG
libass_la_SOURCES += $(SRC_FONTCONFIG)
endif
if DIRECTWRITE
libass_la_SOURCES += $(SRC_DIRECTWRITE)
endif
if CORETEXT
libass_la_SOURCES += $(SRC_CORETEXT)
endif
if ASM
if X86
libass_la_SOURCES += $(SRC_X86)
endif
endif
assheadersdir = $(includedir)/ass
dist_assheaders_HEADERS = ass.h ass_types.h
EXTRA_DIST = libass.sym x86/x86inc.asm x86/utils.asm
|