forked from blinkseb/libass
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile.am
42 lines (36 loc) · 1.15 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -I$(top_srcdir)/libass
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
EXTRA_DIST = libass.pc.in Changelog MAINTAINERS ltnasm.sh
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libass.pc
lib_LTLIBRARIES =
noinst_PROGRAMS =
include libass/Makefile_library.am
include Makefile_util.am
# Tests
if ENABLE_FUZZ
check: check-art-fuzz
.PHONY: check-art-fuzz
check-art-fuzz: fuzz/fuzz
@if [ -z '$(ART_SAMPLES)' ] ; then \
echo "ART_SAMPLES location not set; cannot run regression tests!"; \
else \
cd '$(ART_SAMPLES)'/crash/ ; \
./run-all.sh '$(abs_top_builddir)'/fuzz/fuzz ; \
fi
endif
if ENABLE_COMPARE
check: check-art-compare
.PHONY: check-art-compare
check-art-compare: compare/compare
@if [ -z '$(ART_SAMPLES)' ] ; then \
echo "ART_SAMPLES location not set; cannot run regression tests!"; \
else \
cd '$(ART_SAMPLES)'/regression/ ; \
./run-all.sh '$(abs_top_builddir)'/compare/compare ; \
fi
endif