summaryrefslogtreecommitdiff
path: root/plugins/ffap/Makefile.am
blob: 24cd7909dcf87985a8d4b1d400d034c925585e8d (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
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
if APE_USE_YASM
INTEL_SRC=dsputil_yasm.asm
ffap_la_DEPENDENCIES=dsputil_yasm.lo
endif
endif

ffap_la_SOURCES = ffap.c $(INTEL_SRC)

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

ffap_la_LDFLAGS = -module -lm

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