Minor updates and spelling fixes to FAQ, READEME, & compile.win32
[zynaddsubfx-code.git] / src / Makefile.inc
blob52ac90eb113de7f9ef34bced115247068814fd1f
1 CXX=g++
3 #You can set the on what OS is compiling (Linux/Windows)
4 OS_PORT=LINUX
5 #OS_PORT=WINDOWS
7 #The version of the FFTW which is used (2 or 3)
8 #FFTW_VERSION=2
9 FFTW_VERSION=3
11 #Assembler FLOAT to INT conversions
12 ASM_F2I=YES
13 #ASM_F2I=NO
15 #Graphic user interface disable option (ZynAddSubFX will run only in text-mode)
16 #DISABLE_GUI=YES
17 DISABLE_GUI=NO
19 # L I N U X   C O N F I G U R A T I O N
20 #Next line sets the midi input. It can be "ALSA", "OSS" or "NONE".
21 LINUX_MIDIIN=ALSA
22 #LINUX_MIDIIN=OSS
23 #LINUX_MIDIIN=NONE
25 #Next lines sets the audio output (OSS/JACK/PA)
26 #You may use only one at the time
27 #If you use "OSS_AND_JACK",,at runtime, zynaddsubfx will run by the default with jack support and 
28 #it will try OSS if JACK fails. At runtime you can set the OSS by default by command-line
29 #parameters (run 'zynaddsubfx --help' for help) 
31 #LINUX_AUDIOOUT=OSS_AND_JACK
32 LINUX_AUDIOOUT=OSS
33 #LINUX_AUDIOOUT=NONE
34 #LINUX_AUDIOOUT=JACK
35 #LINUX_AUDIOOUT=JACK_RT     JACK_RT support is broken
36 #for PortAudio (PA)
37 #LINUX_AUDIOOUT=PA
40 #Next line sets if the synth is compiled for DSSI plugin (as .so file)
41 #If this setting is "YES", MIDI in and AUDIOOUT are set automatically to DSSI
42 LINUX_DSSI=NO
43 #LINUX_DSSI=YES
45 #Next line sets if the LASH session handler will be used
46 #LINUX_USE_LASH=YES
47 LINUX_USE_LASH=NO
49 # W I N D O W S   C O N F I G U R A T I O N
51 #Next line sets the midi input
52 #WINDOWS_MIDIIN=NONE
53 WINDOWS_MIDIIN=WIN
55 #Next line sets the audio output
56 #WINDOWS_AUDIOOUT=NONE
57 WINDOWS_AUDIOOUT=PA
59 #Next line sets if the synth is compiled for VST (as .dll file)
60 #If this setting is "YES", MIDI in and AUDIOOUT are set automatically to VST
61 WINDOWS_VST=NO
62 #WINDOWS_VST=YES
64 #configuration end 
66 ifeq ($(OS_PORT),LINUX)
67  MIDIIN=$(LINUX_MIDIIN)
68  AUDIOOUT=$(LINUX_AUDIOOUT)
69  WINDOWS_VST=NO
70     ifeq ($(LINUX_DSSI),YES)
71      MIDIIN=DSSI
72      AUDIOOUT=DSSI
73     endif
74 else
75  MIDIIN=$(WINDOWS_MIDIIN)
76  AUDIOOUT=$(WINDOWS_AUDIOOUT)
77  LINUX_DSSI=NO
78     ifeq ($(WINDOWS_VST),YES)
79      MIDIIN=VST
80      AUDIOOUT=VST
81     endif
82 endif