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.

152 lines
3.0KB

  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 = TransposePlugin.h \
  30. TransposePluginGUI.h \
  31. ../SpiralPlugin.h \
  32. ../SpiralPluginGUI.h \
  33. ../../SpiralInfo.h \
  34. ../../ChannelHandler.h \
  35. ../../Sample.h \
  36. ../../../GUI/Widgets/SpiralGUI.H
  37. SOURCES = TransposePlugin.C \
  38. TransposePluginGUI.C \
  39. ../SpiralPlugin.C \
  40. ../SpiralPluginGUI.C \
  41. ../../SpiralInfo.C \
  42. ../../ChannelHandler.C \
  43. ../../Sample.C \
  44. ../../../GUI/Widgets/SpiralGUI.C
  45. OBJECTS = TransposePlugin.o \
  46. TransposePluginGUI.o \
  47. ../SpiralPlugin.o \
  48. ../SpiralPluginGUI.o \
  49. ../../SpiralInfo.o \
  50. ../../ChannelHandler.o \
  51. ../../Sample.o \
  52. ../../../GUI/Widgets/SpiralGUI.o
  53. INTERFACES =
  54. UICDECLS =
  55. UICIMPLS =
  56. SRCMOC =
  57. OBJMOC =
  58. DIST =
  59. TARGET = TransposePlugin.so
  60. ####### Implicit rules
  61. .SUFFIXES: .cpp .cxx .cc .C .c
  62. .cpp.o:
  63. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  64. .cxx.o:
  65. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  66. .cc.o:
  67. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  68. .C.o:
  69. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  70. .c.o:
  71. $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
  72. ####### Build rules
  73. all: $(TARGET)
  74. $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
  75. $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
  76. moc: $(SRCMOC)
  77. dist:
  78. $(TAR) TransposePlugin.tar TransposePlugin.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
  79. $(GZIP) TransposePlugin.tar
  80. clean:
  81. -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
  82. -rm -f *~ core
  83. install:
  84. $(INSTALL) $(TARGET) $(libdir)/SpiralPlugins
  85. ####### Sub-libraries
  86. ###### Combined headers
  87. ####### Compile
  88. ../SpiralPlugin.o: ../SpiralPlugin.C \
  89. ../SpiralPlugin.h \
  90. ../../ChannelHandler.h \
  91. ../../Sample.h
  92. ../SpiralPluginGUI.o: ../SpiralPluginGUI.C \
  93. ../SpiralPluginGUI.h \
  94. ../SpiralPlugin.h \
  95. ../../ChannelHandler.h \
  96. ../../../GUI/Widgets/SpiralGUI.H
  97. ../../../GUI/Widgets/SpiralGUI.o: ../../../GUI/Widgets/SpiralGUI.C \
  98. ../../../GUI/Widgets/SpiralGUI.H
  99. ../../Sample.o: ../../Sample.C \
  100. ../../Sample.h
  101. TransposePlugin.o: TransposePlugin.C \
  102. TransposePlugin.h \
  103. TransposePluginGUI.h \
  104. ../../NoteTable.h \
  105. ../SpiralPlugin.h \
  106. ../SpiralPluginGUI.h \
  107. SpiralIcon.xpm
  108. TransposePluginGUI.o: TransposePluginGUI.C \
  109. TransposePlugin.h \
  110. TransposePluginGUI.h \
  111. ../../SpiralInfo.h \
  112. ../SpiralPlugin.h \
  113. ../SpiralPluginGUI.h \
  114. ../../../GUI/Widgets/SpiralGUI.H
  115. ../../ChannelHandler.o: ../../ChannelHandler.C \
  116. ../../ChannelHandler.h