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.

147 lines
2.7KB

  1. ####### Compiler, tools and options
  2. CC = gcc
  3. CXX = g++
  4. CFLAGS = @CFLAGS@
  5. CXXFLAGS= @CXXFLAGS@
  6. INCPATH = -I/usr/X11R6/include
  7. LINK = g++ -shared
  8. LFLAGS =
  9. LIBS = -L/usr/X11R6/lib @FLTK_LIBS@ -lGL -lXext -lX11 -ldl
  10. MOC = moc
  11. UIC =
  12. TAR = tar -cf
  13. GZIP = gzip -9f
  14. INSTALL = @INSTALL@
  15. ###### Autoconf variables
  16. prefix = @prefix@
  17. exec_prefix = @exec_prefix@
  18. bindir = @bindir@
  19. sbindir = @sbindir@
  20. libexecdir = @libexecdir@
  21. datadir = @datadir@
  22. sysconfdir = @sysconfdir@
  23. sharedstatedir = @sharedstatedir@
  24. localstatedir = @localstatedir@
  25. libdir = @libdir@
  26. infodir = @infodir@
  27. mandir = @mandir@
  28. ####### Files
  29. HEADERS = ../SpiralPlugin.h \
  30. ../SpiralPluginGUI.h \
  31. ../../ChannelHandler.h \
  32. ../Widgets/Fl_DragBar.H \
  33. ../../Sample.h \
  34. TransposePlugin.h \
  35. TransposePluginGUI.h
  36. SOURCES = ../SpiralPlugin.C \
  37. ../SpiralPluginGUI.C \
  38. ../../ChannelHandler.C \
  39. ../Widgets/Fl_DragBar.cxx \
  40. ../../Sample.C \
  41. TransposePlugin.C \
  42. TransposePluginGUI.C
  43. OBJECTS = ../SpiralPlugin.o \
  44. ../SpiralPluginGUI.o \
  45. ../../ChannelHandler.o \
  46. ../Widgets/Fl_DragBar.o \
  47. ../../Sample.o \
  48. TransposePlugin.o \
  49. TransposePluginGUI.o
  50. INTERFACES =
  51. UICDECLS =
  52. UICIMPLS =
  53. SRCMOC =
  54. OBJMOC =
  55. DIST =
  56. TARGET = TransposePlugin.so
  57. ####### Implicit rules
  58. .SUFFIXES: .cpp .cxx .cc .C .c
  59. .cpp.o:
  60. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  61. .cxx.o:
  62. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  63. .cc.o:
  64. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  65. .C.o:
  66. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  67. .c.o:
  68. $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
  69. ####### Build rules
  70. all: $(TARGET)
  71. $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
  72. $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
  73. moc: $(SRCMOC)
  74. dist:
  75. $(TAR) TransposePlugin.tar TransposePlugin.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
  76. $(GZIP) TransposePlugin.tar
  77. clean:
  78. -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
  79. -rm -f *~ core
  80. install:
  81. $(INSTALL) $(TARGET) $(libdir)/SpiralPlugins
  82. ####### Sub-libraries
  83. ###### Combined headers
  84. ####### Compile
  85. ../SpiralPlugin.o: ../SpiralPlugin.C \
  86. ../SpiralPlugin.h \
  87. ../../Sample.h
  88. ../SpiralPluginGUI.o: ../SpiralPluginGUI.C \
  89. ../SpiralPluginGUI.h \
  90. ../Widgets/Fl_DragBar.H \
  91. ../SpiralPlugin.h \
  92. ../../Sample.h
  93. ../Widgets/Fl_DragBar.o: ../Widgets/Fl_DragBar.cxx \
  94. ../Widgets/Fl_DragBar.H
  95. ../../Sample.o: ../../Sample.C \
  96. ../../Sample.h \
  97. ../../SpiralInfo.h
  98. TransposePlugin.o: TransposePlugin.C \
  99. TransposePlugin.h \
  100. TransposePluginGUI.h \
  101. ../../NoteTable.h \
  102. ../SpiralPlugin.h \
  103. ../SpiralPluginGUI.h \
  104. SpiralIcon.xpm
  105. TransposePluginGUI.o: TransposePluginGUI.C \
  106. TransposePlugin.h \
  107. TransposePluginGUI.h \
  108. ../SpiralPlugin.h \
  109. ../SpiralPluginGUI.h
  110. ../../ChannelHandler.o: ../../ChannelHandler.C \
  111. ../../ChannelHandler.h