summaryrefslogtreecommitdiff
path: root/plugins/ffap/Makefile.am
blob: 4f6ce038ecb138b32791541bed0c48b498dbf89e (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
if HAVE_FFAP
ffapdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = ffap.la

topsrcdir = @top_srcdir@
YASM=$(topsrcdir)/yasmwrapper.sh
EXTRA_DIST = dsputil_yasm.asm x86inc.asm
SUFFIXES = .asm

if HAVE_YASM
INTEL_SRC=dsputil_yasm.asm
ffap_la_DEPENDENCIES=dsputil_yasm.lo
endif

ffap_la_SOURCES = ffap.c $(INTEL_SRC)

if HAVE_YASM
.asm.lo:
	$(LIBTOOL) --tag=CC --mode=compile $(YASM) $(YASM_FLAGS)  -o $@ $<
endif

ffap_la_LDFLAGS = -module -lm

AM_CFLAGS = $(CFLAGS) -fPIC -std=c99
endif