You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

266 lines
6.3KB

  1. #############################################################################
  2. # Makefile for building SpiralSynthModular
  3. #############################################################################
  4. SHELL = @SHELL@
  5. ####### Compiler, tools and options
  6. CC = gcc
  7. CXX = g++
  8. CFLAGS = @CFLAGS@ @FLTK_CFLAGS@
  9. CXXFLAGS= @CXXFLAGS@ @FLTK_CXXFLAGS@
  10. INCPATH =
  11. LINK = g++
  12. LFLAGS =
  13. LIBS = @FLTK_LIBS@ -lm -ldl -lpthread
  14. MOC = moc
  15. UIC =
  16. INSTALL = @INSTALL@
  17. ###### Autoconf variables
  18. prefix = @prefix@
  19. exec_prefix = @exec_prefix@
  20. bindir = @bindir@
  21. sbindir = @sbindir@
  22. libexecdir = @libexecdir@
  23. datadir = @datadir@
  24. sysconfdir = @sysconfdir@
  25. sharedstatedir = @sharedstatedir@
  26. localstatedir = @localstatedir@
  27. libdir = @libdir@
  28. infodir = @infodir@
  29. mandir = @mandir@
  30. SpiralPlugins = $(libdir)/SpiralPlugins
  31. ####### Files
  32. HEADERS = SpiralSynthModular.h \
  33. GraphSort.h \
  34. SettingsWindow.h \
  35. SpiralSynthPluginLocation.h \
  36. GUI/Widgets/SpiralGUI.H \
  37. GUI/Widgets/Fl_DeviceGUI.h \
  38. GUI/Widgets/Fl_CommentGUI.h \
  39. GUI/Widgets/Fl_DragBar.H \
  40. GUI/Widgets/Fl_Canvas.h \
  41. GUI/Widgets/PawfalYesNo.h \
  42. GUI/Widgets/PawfalInput.h \
  43. SpiralSound/SpiralInfo.h \
  44. SpiralSound/Sample.h \
  45. SpiralSound/PluginManager.h \
  46. SpiralSound/ChannelHandler.h \
  47. SpiralSound/Plugins/SpiralPlugin.h \
  48. SpiralSound/Plugins/SpiralPluginGUI.h
  49. SOURCES = main.cpp \
  50. SpiralSynthModular.C \
  51. GraphSort.C \
  52. SettingsWindow.C \
  53. GUI/Widgets/SpiralGUI.C \
  54. GUI/Widgets/Fl_DeviceGUI.C \
  55. GUI/Widgets/Fl_CommentGUI.C \
  56. GUI/Widgets/Fl_DragBar.cxx \
  57. GUI/Widgets/Fl_Canvas.C \
  58. GUI/Widgets/PawfalYesNo.C \
  59. GUI/Widgets/PawfalInput.C \
  60. SpiralSound/SpiralInfo.C \
  61. SpiralSound/Sample.C \
  62. SpiralSound/PluginManager.C \
  63. SpiralSound/ChannelHandler.C \
  64. SpiralSound/Plugins/SpiralPlugin.C \
  65. SpiralSound/Plugins/SpiralPluginGUI.C
  66. OBJECTS = main.o \
  67. SpiralSynthModular.o \
  68. GraphSort.o \
  69. SettingsWindow.o \
  70. GUI/Widgets/SpiralGUI.o \
  71. GUI/Widgets/Fl_DeviceGUI.o \
  72. GUI/Widgets/Fl_CommentGUI.o \
  73. GUI/Widgets/Fl_DragBar.o \
  74. GUI/Widgets/Fl_Canvas.o \
  75. GUI/Widgets/PawfalYesNo.o \
  76. GUI/Widgets/PawfalInput.o \
  77. SpiralSound/SpiralInfo.o \
  78. SpiralSound/Sample.o \
  79. SpiralSound/PluginManager.o \
  80. SpiralSound/ChannelHandler.o \
  81. SpiralSound/Plugins/SpiralPlugin.o \
  82. SpiralSound/Plugins/SpiralPluginGUI.o
  83. INTERFACES =
  84. UICDECLS =
  85. UICIMPLS =
  86. SRCMOC =
  87. OBJMOC =
  88. DIST =
  89. TARGET = spiralsynthmodular
  90. SUBDIRS = @PLUGINLIST@
  91. ####### Implicit rules
  92. .SUFFIXES: .cpp .cxx .cc .C .c
  93. .cpp.o:
  94. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  95. .cxx.o:
  96. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  97. .cc.o:
  98. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  99. .C.o:
  100. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  101. .c.o:
  102. $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
  103. ####### Build rules
  104. all: $(TARGET)
  105. list='$(SUBDIRS)'; \
  106. for subdir in $$list; do \
  107. (cd SpiralSound/Plugins/$$subdir ; make) \
  108. done;
  109. $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
  110. $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
  111. moc: $(SRCMOC)
  112. clean:
  113. -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
  114. -rm -f *~ core
  115. list='$(SUBDIRS)'; \
  116. for subdir in $$list; do \
  117. (cd SpiralSound/Plugins/$$subdir ; make clean) \
  118. done;
  119. install: spiralsynthmodular
  120. $(INSTALL) spiralsynthmodular $(bindir)
  121. $(INSTALL) -d $(SpiralPlugins)
  122. list='$(SUBDIRS)'; \
  123. for subdir in $$list; do \
  124. (cd SpiralSound/Plugins/$$subdir ; make install) \
  125. done;
  126. uninstall:
  127. rm -f $(bindir)/spiralsynthmodular
  128. rm -rf $(SpiralPlugins)
  129. ####### Sub-libraries
  130. ###### Combined headers
  131. ####### Compile
  132. main.o : main.cpp \
  133. SpiralSynthModular.h
  134. SpiralSynthModular.o: SpiralSynthModular.C \
  135. SpiralSynthModular.h \
  136. SpiralSound/SpiralInfo.h \
  137. SettingsWindow.h \
  138. GUI/SSM.xpm \
  139. GUI/load.xpm \
  140. GUI/save.xpm \
  141. GUI/new.xpm \
  142. GUI/options.xpm \
  143. GUI/comment.xpm \
  144. GUI/Widgets/SpiralGUI.H \
  145. GUI/Widgets/Fl_DeviceGUI.h \
  146. GUI/Widgets/Fl_CommentGUI.h \
  147. GUI/Widgets/Fl_Canvas.h \
  148. GUI/Widgets/PawfalYesNo.h \
  149. GUI/Widgets/PawfalInput.h \
  150. SpiralSound/PluginManager.h \
  151. SpiralSound/Plugins/SpiralPlugin.h
  152. GraphSort.o: GraphSort.C \
  153. GraphSort.h
  154. SpiralSound/ChannelHandler.o: SpiralSound/ChannelHandler.C \
  155. SpiralSound/ChannelHandler.h
  156. GUI/Widgets/Fl_DeviceGUI.o: GUI/Widgets/Fl_DeviceGUI.C \
  157. GUI/Widgets/SpiralGUI.H \
  158. GUI/Widgets/Fl_DeviceGUI.h \
  159. GUI/Widgets/Fl_DragBar.H \
  160. GUI/Widgets/Fl_Canvas.h \
  161. GraphSort.h \
  162. SpiralSound/SpiralInfo.h
  163. GUI/Widgets/Fl_CommentGUI.o: GUI/Widgets/Fl_CommentGUI.C \
  164. GUI/Widgets/SpiralGUI.H \
  165. GUI/Widgets/Fl_CommentGUI.h \
  166. GUI/Widgets/Fl_DeviceGUI.h \
  167. GUI/Widgets/Fl_DragBar.H \
  168. SpiralSound/SpiralInfo.h
  169. GUI/Widgets/Fl_DragBar.o: GUI/Widgets/Fl_DragBar.cxx \
  170. GUI/Widgets/Fl_DragBar.H
  171. GUI/Widgets/Fl_Canvas.o: GUI/Widgets/Fl_Canvas.C \
  172. GUI/Widgets/Fl_Canvas.h \
  173. GUI/Widgets/SpiralGUI.H \
  174. GUI/Widgets/Fl_DeviceGUI.h \
  175. GUI/Widgets/Fl_DragBar.H \
  176. GraphSort.h \
  177. SpiralSound/SpiralInfo.h
  178. GUI/Widgets/PawfalInput.o: GUI/Widgets/PawfalInput.C \
  179. GUI/Widgets/PawfalInput.h
  180. GUI/Widgets/PawfalYesNo.o: GUI/Widgets/PawfalYesNo.C \
  181. GUI/Widgets/PawfalYesNo.h
  182. SpiralSound/SpiralInfo.o: SpiralSound/SpiralInfo.C \
  183. SpiralSynthPluginLocation.h \
  184. SpiralSound/SpiralInfo.h \
  185. SpiralSound/Sample.h
  186. SpiralSound/Sample.o: SpiralSound/Sample.C \
  187. SpiralSound/Sample.h \
  188. SpiralSound/SpiralInfo.h
  189. SpiralSound/Plugins/SpiralPlugin.o: SpiralSound/Plugins/SpiralPlugin.C \
  190. SpiralSound/Plugins/SpiralPlugin.h \
  191. SpiralSound/Sample.h \
  192. SpiralSound/SpiralInfo.h \
  193. SpiralSound/Sample.h
  194. SpiralSound/Plugins/SpiralPluginGUI.o: SpiralSound/Plugins/SpiralPluginGUI.C \
  195. SpiralSound/Plugins/SpiralPluginGUI.h \
  196. SpiralSound/Plugins/SpiralPlugin.h \
  197. SpiralSound/Sample.h \
  198. SpiralSound/SpiralInfo.h \
  199. SpiralSound/Sample.h
  200. SpiralSound/PluginManager.o: SpiralSound/PluginManager.C \
  201. SpiralSound/PluginManager.h \
  202. SpiralSound/Sample.h \
  203. SpiralSound/SpiralInfo.h \
  204. SpiralSound/Sample.h \
  205. SpiralSound/Plugins/SpiralPlugin.h
  206. SettingsWindow.o: SettingsWindow.C \
  207. SettingsWindow.h \
  208. SpiralSynthModular.h \
  209. GraphSort.h \
  210. SpiralSound/SpiralInfo.h \
  211. SpiralSound/Sample.h \
  212. SpiralSound/Plugins/SpiralPlugin.h \
  213. GUI/Widgets/SpiralGUI.H \
  214. GUI/Widgets/Fl_DeviceGUI.h \
  215. GUI/Widgets/Fl_DragBar.H \
  216. GUI/Widgets/Fl_CommentGUI.h \
  217. GUI/Widgets/Fl_Canvas.h \
  218. GUI/options.xpm