1 #############################################################################
2 # Makefile for building SpiralSynthModular
3 #############################################################################
7 ####### Compiler, tools and options
11 CFLAGS
= @CFLAGS@ @FLTK_CFLAGS@
12 CXXFLAGS
= @CXXFLAGS@ @FLTK_CXXFLAGS@
16 LIBS
= @FLTK_LIBS@
-lm
-ldl
-lpthread
22 ###### Autoconf variables
25 exec_prefix = @
exec_prefix@
29 libexecdir
= @libexecdir@
31 sysconfdir
= @sysconfdir@
32 sharedstatedir
= @sharedstatedir@
33 localstatedir
= @localstatedir@
38 SpiralPlugins
= $(libdir)/SpiralPlugins
42 HEADERS
= SpiralSynthModular.h \
45 SpiralSynthPluginLocation.h \
46 GUI
/Widgets
/SpiralGUI.H \
47 GUI
/Widgets
/Fl_DeviceGUI.h \
48 GUI
/Widgets
/Fl_CommentGUI.h \
49 GUI
/Widgets
/Fl_DragBar.H \
50 GUI
/Widgets
/Fl_Canvas.h \
51 GUI
/Widgets
/PawfalYesNo.h \
52 GUI
/Widgets
/PawfalInput.h \
53 SpiralSound
/SpiralInfo.h \
54 SpiralSound
/Sample.h \
55 SpiralSound
/PluginManager.h \
56 SpiralSound
/ChannelHandler.h \
57 SpiralSound
/Plugins
/SpiralPlugin.h \
58 SpiralSound
/Plugins
/SpiralPluginGUI.h
60 SpiralSynthModular.C \
63 GUI
/Widgets
/SpiralGUI.C \
64 GUI
/Widgets
/Fl_DeviceGUI.C \
65 GUI
/Widgets
/Fl_CommentGUI.C \
66 GUI
/Widgets
/Fl_DragBar.
cxx \
67 GUI
/Widgets
/Fl_Canvas.C \
68 GUI
/Widgets
/PawfalYesNo.C \
69 GUI
/Widgets
/PawfalInput.C \
70 SpiralSound
/SpiralInfo.C \
71 SpiralSound
/Sample.C \
72 SpiralSound
/PluginManager.C \
73 SpiralSound
/ChannelHandler.C \
74 SpiralSound
/Plugins
/SpiralPlugin.C \
75 SpiralSound
/Plugins
/SpiralPluginGUI.C
77 SpiralSynthModular.o \
80 GUI
/Widgets
/SpiralGUI.o \
81 GUI
/Widgets
/Fl_DeviceGUI.o \
82 GUI
/Widgets
/Fl_CommentGUI.o \
83 GUI
/Widgets
/Fl_DragBar.o \
84 GUI
/Widgets
/Fl_Canvas.o \
85 GUI
/Widgets
/PawfalYesNo.o \
86 GUI
/Widgets
/PawfalInput.o \
87 SpiralSound
/SpiralInfo.o \
88 SpiralSound
/Sample.o \
89 SpiralSound
/PluginManager.o \
90 SpiralSound
/ChannelHandler.o \
91 SpiralSound
/Plugins
/SpiralPlugin.o \
92 SpiralSound
/Plugins
/SpiralPluginGUI.o
99 TARGET
= spiralsynthmodular
101 SUBDIRS
= @PLUGINLIST@
103 ####### Implicit rules
105 .SUFFIXES
: .
cpp .
cxx .
cc .C .c
108 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o
$@
$<
111 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o
$@
$<
114 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o
$@
$<
117 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o
$@
$<
120 $(CC
) -c
$(CFLAGS
) $(INCPATH
) -o
$@
$<
127 for subdir in
$$list; do \
128 (cd SpiralSound
/Plugins
/$$subdir ; make
) \
131 $(TARGET
): $(UICDECLS
) $(OBJECTS
) $(OBJMOC
)
132 $(LINK
) $(LFLAGS
) -o
$(TARGET
) $(OBJECTS
) $(OBJMOC
) $(LIBS
)
137 -rm -f
$(OBJECTS
) $(OBJMOC
) $(SRCMOC
) $(UICIMPLS
) $(UICDECLS
) $(TARGET
)
140 for subdir in
$$list; do \
141 (cd SpiralSound
/Plugins
/$$subdir ; make
clean) \
144 install: spiralsynthmodular
145 $(INSTALL
) spiralsynthmodular
$(bindir)
146 $(INSTALL
) -d
$(SpiralPlugins
)
148 for subdir in
$$list; do \
149 (cd SpiralSound
/Plugins
/$$subdir ; make
install) \
153 rm -f
$(bindir)/spiralsynthmodular
154 rm -rf
$(SpiralPlugins
)
156 ####### Sub-libraries
159 ###### Combined headers
167 SpiralSynthModular.o
: SpiralSynthModular.C \
168 SpiralSynthModular.h \
169 SpiralSound
/SpiralInfo.h \
177 GUI
/Widgets
/SpiralGUI.H \
178 GUI
/Widgets
/Fl_DeviceGUI.h \
179 GUI
/Widgets
/Fl_CommentGUI.h \
180 GUI
/Widgets
/Fl_Canvas.h \
181 GUI
/Widgets
/PawfalYesNo.h \
182 GUI
/Widgets
/PawfalInput.h \
183 SpiralSound
/PluginManager.h \
184 SpiralSound
/Plugins
/SpiralPlugin.h
186 GraphSort.o
: GraphSort.C \
189 SpiralSound
/ChannelHandler.o
: SpiralSound
/ChannelHandler.C \
190 SpiralSound
/ChannelHandler.h
192 GUI
/Widgets
/Fl_DeviceGUI.o
: GUI
/Widgets
/Fl_DeviceGUI.C \
193 GUI
/Widgets
/SpiralGUI.H \
194 GUI
/Widgets
/Fl_DeviceGUI.h \
195 GUI
/Widgets
/Fl_DragBar.H \
196 GUI
/Widgets
/Fl_Canvas.h \
198 SpiralSound
/SpiralInfo.h
200 GUI
/Widgets
/Fl_CommentGUI.o
: GUI
/Widgets
/Fl_CommentGUI.C \
201 GUI
/Widgets
/SpiralGUI.H \
202 GUI
/Widgets
/Fl_CommentGUI.h \
203 GUI
/Widgets
/Fl_DeviceGUI.h \
204 GUI
/Widgets
/Fl_DragBar.H \
205 SpiralSound
/SpiralInfo.h
207 GUI
/Widgets
/Fl_DragBar.o
: GUI
/Widgets
/Fl_DragBar.
cxx \
208 GUI
/Widgets
/Fl_DragBar.H
210 GUI
/Widgets
/Fl_Canvas.o
: GUI
/Widgets
/Fl_Canvas.C \
211 GUI
/Widgets
/Fl_Canvas.h \
212 GUI
/Widgets
/SpiralGUI.H \
213 GUI
/Widgets
/Fl_DeviceGUI.h \
214 GUI
/Widgets
/Fl_DragBar.H \
216 SpiralSound
/SpiralInfo.h
218 GUI
/Widgets
/PawfalInput.o
: GUI
/Widgets
/PawfalInput.C \
219 GUI
/Widgets
/PawfalInput.h
221 GUI
/Widgets
/PawfalYesNo.o
: GUI
/Widgets
/PawfalYesNo.C \
222 GUI
/Widgets
/PawfalYesNo.h
224 SpiralSound
/SpiralInfo.o
: SpiralSound
/SpiralInfo.C \
225 SpiralSynthPluginLocation.h \
226 SpiralSound
/SpiralInfo.h \
229 SpiralSound
/Sample.o
: SpiralSound
/Sample.C \
230 SpiralSound
/Sample.h \
231 SpiralSound
/SpiralInfo.h
233 SpiralSound
/Plugins
/SpiralPlugin.o
: SpiralSound
/Plugins
/SpiralPlugin.C \
234 SpiralSound
/Plugins
/SpiralPlugin.h \
235 SpiralSound
/Sample.h \
236 SpiralSound
/SpiralInfo.h \
239 SpiralSound
/Plugins
/SpiralPluginGUI.o
: SpiralSound
/Plugins
/SpiralPluginGUI.C \
240 SpiralSound
/Plugins
/SpiralPluginGUI.h \
241 SpiralSound
/Plugins
/SpiralPlugin.h \
242 SpiralSound
/Sample.h \
243 SpiralSound
/SpiralInfo.h \
246 SpiralSound
/PluginManager.o
: SpiralSound
/PluginManager.C \
247 SpiralSound
/PluginManager.h \
248 SpiralSound
/Sample.h \
249 SpiralSound
/SpiralInfo.h \
250 SpiralSound
/Sample.h \
251 SpiralSound
/Plugins
/SpiralPlugin.h
253 SettingsWindow.o
: SettingsWindow.C \
255 SpiralSynthModular.h \
257 SpiralSound
/SpiralInfo.h \
258 SpiralSound
/Sample.h \
259 SpiralSound
/Plugins
/SpiralPlugin.h \
260 GUI
/Widgets
/SpiralGUI.H \
261 GUI
/Widgets
/Fl_DeviceGUI.h \
262 GUI
/Widgets
/Fl_DragBar.H \
263 GUI
/Widgets
/Fl_CommentGUI.h \
264 GUI
/Widgets
/Fl_Canvas.h \