We're including config.h everywhere, so we should pass compatible compiler options.
[calfbox.git] / Makefile.am
blob87bfe9d6351a911780c8bfd96c6385741f6b2925
1 AM_CPPFLAGS = -I$(srcdir) -Wall -D_GNU_SOURCE
3 bin_PROGRAMS = calfbox
5 calfbox_SOURCES = \
6     app.c \
7     appmenu.c \
8     auxbus.c \
9     blob.c \
10     chorus.c \
11     cmd.c \
12     compressor.c \
13     config-api.c \
14     delay.c \
15     distortion.c \
16     dom.c \
17     engine.c \
18     eq.c \
19     errors.c \
20     fbr.c \
21     fifo.c \
22     fluid.c \
23     fuzz.c \
24     fxchain.c \
25     gate.c \
26     hwcfg.c \
27     instr.c \
28     io.c \
29     jackinput.c \
30     jackio.c \
31     layer.c \
32     main.c \
33     master.c \
34     menu.c \
35     menuitem.c \
36     meter.c \
37     midi.c \
38     mididest.c \
39     module.c \
40     pattern.c \
41     pattern-maker.c \
42     phaser.c \
43     prefetch_pipe.c \
44     recsrc.c \
45     reverb.c \
46     rt.c \
47     sampler.c \
48     sampler_channel.c \
49     sampler_gen.c \
50     sampler_layer.c \
51     sampler_prg.c \
52     sampler_voice.c \
53     scene.c \
54     scripting.c \
55     seq.c \
56     sfzloader.c \
57     sfzparser.c \
58     song.c \
59     streamplay.c \
60     streamrec.c \
61     tonectl.c \
62     tonewheel.c \
63     track.c \
64     ui.c \
65     usbaudio.c \
66     usbio.c \
67     usbmidi.c \
68     usbprobe.c \
69     wavebank.c
71 calfbox_LDADD = $(JACK_DEPS_LIBS) $(GLIB_DEPS_LIBS) $(FLUIDSYNTH_DEPS_LIBS) $(PYTHON_DEPS_LIBS) $(LIBSMF_DEPS_LIBS) $(LIBSNDFILE_DEPS_LIBS) $(LIBUSB_DEPS_LIBS) -lncurses -lpthread -luuid -lm -lrt
73 if USE_SSE
74 ARCH_OPT_CFLAGS=-msse -ffast-math
75 else
76 if USE_NEON
77 ARCH_OPT_CFLAGS=-mfloat-abi=softfp -mfpu=neon -ffast-math
78 endif
79 endif
81 AM_CFLAGS = $(JACK_DEPS_CFLAGS) $(GLIB_DEPS_CFLAGS) $(FLUIDSYNTH_DEPS_CFLAGS) $(PYTHON_DEPS_CFLAGS) $(LIBSMF_DEPS_CFLAGS) $(LIBSNDFILE_DEPS_CFLAGS) $(LIBUSB_DEPS_CFLAGS) $(ARCH_OPT_CFLAGS)
83 noinst_HEADERS = \
84     app.h \
85     auxbus.h \
86     biquad-float.h \
87     blob.h \
88     cmd.h \
89     config-api.h \
90     dom.h \
91     dspmath.h \
92     envelope.h \
93     engine.h \
94     eq.h \
95     errors.h \
96     fifo.h \
97     hwcfg.h \
98     instr.h \
99     io.h \
100     ioenv.h \
101     layer.h \
102     master.h \
103     menu.h \
104     menuitem.h \
105     meter.h \
106     midi.h \
107     mididest.h \
108     module.h \
109     onepole-int.h \
110     onepole-float.h \
111     pattern.h \
112     pattern-maker.h \
113     prefetch_pipe.h \
114     recsrc.h \
115     rt.h \
116     sampler.h \
117     sampler_impl.h \
118     sampler_layer.h \
119     sampler_prg.h \
120     scene.h \
121     scripting.h \
122     seq.h \
123     sfzloader.h \
124     sfzparser.h \
125     song.h \
126     stm.h \
127     track.h \
128     ui.h \
129     usbio_impl.h \
130     wavebank.h
132 EXTRA_DIST = cboxrc-example