aboutsummaryrefslogtreecommitdiff
path: root/gtk/Makefile.am
blob: 0a9a95b610ab4c1d4c19f37a36631118806e43b6 (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
bin_PROGRAMS=fmplayer

LIBOPNA_SRC=../libopna/opnaadpcm.c \
            ../libopna/opnadrum.c \
            ../libopna/opnafm.c \
            ../libopna/opnassg.c \
            ../libopna/opnassg-sinc-c.c \
            ../libopna/opnatimer.c \
            ../libopna/opna.c

FMDRIVER_SRC=../fmdriver/fmdriver_fmp.c \
             ../fmdriver/fmdriver_pmd.c \
             ../fmdriver/fmdriver_common.c \
             ../fmdriver/ppz8.c

FMDSP_SRC=../fmdsp/fmdsp.c \
          ../fmdsp/fmdsp-vramlookup-c.c \
          ../fmdsp/font_rom.c \
          ../fmdsp/font_fmdsp_small.c

if ENABLE_NEON
LIBOPNA_SRC+=../libopna/opnassg-sinc-neon.s
FMDSP_SRC+=../fmdsp/fmdsp-vramlookup-neon.s
fmplayer_CCASFLAGS=-march=armv8-a -mfpu=crypto-neon-fp-armv8
endif

fmplayer_SOURCES=main.c \
                 toneview.c \
                 oscilloview.c \
                 ../tonedata/tonedata.c \
                 ../common/fmplayer_file.c \
                 ../common/fmplayer_file_gio.c \
                 $(LIBOPNA_SRC) \
                 $(FMDRIVER_SRC) \
                 $(FMDSP_SRC)

fmplayer_CPPFLAGS=-Wall -Wextra -pedantic \
                  -I.. \
                  $(GTK3_CFLAGS) $(PORTAUDIO_CFLAGS)
fmplayer_LDADD=$(GTK3_LIBS) $(PORTAUDIO_LIBS)