libcm is a C development framework with an emphasis on audio signal processing applications.
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.

Makefile.am 6.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. cmHDR =
  2. cmSRC =
  3. cmHDR += src/cmErr.h src/cmCtx.h src/cmRpt.h src/cmRptFile.h src/cmGlobal.h src/cmComplexTypes.h src/cmFloatTypes.h src/cmPrefix.h
  4. cmSRC += src/cmErr.c src/cmCtx.c src/cmRpt.c src/cmRptFile.c src/cmGlobal.c src/cmComplexTypes.c
  5. cmHDR += src/cmSerialize.h src/cmSymTbl.h src/cmHashTbl.h src/cmFileSys.h src/cmFile.h
  6. cmSRC += src/cmSerialize.c src/cmSymTbl.c src/cmHashTbl.c src/cmFileSys.c src/cmFile.c
  7. cmHDR += src/cmMem.h src/cmTime.h src/cmExec.h src/cmPgmOpts.h
  8. cmSRC += src/cmMem.c src/cmTime.c src/cmExec.c src/cmPgmOpts.c
  9. cmHDR += src/cmData.h src/cmLib.h src/cmText.h src/cmTextTemplate.h
  10. cmSRC += src/cmData.c src/cmLib.c src/cmText.c src/cmTextTemplate.c
  11. cmHDR += src/cmMath.h src/cmGnuPlot.h src/cmKeyboard.h src/cmStrStream.h
  12. cmSRC += src/cmMath.c src/cmGnuPlot.c src/cmKeyboard.c src/cmStrStream.c
  13. cmHDR += src/cmLinkedHeap.h src/cmMallocDebug.h src/cmLex.h src/cmJson.h src/cmXml.h
  14. cmSRC += src/cmLinkedHeap.c src/cmMallocDebug.c src/cmLex.c src/cmJson.c src/cmXml.c
  15. cmHDR += src/cmPrefs.h src/cmStack.h src/cmArray.h src/cmSvgWriter.h
  16. cmSRC += src/cmPrefs.c src/cmStack.c src/cmArray.c src/cmSvgWriter.c
  17. cmHDR += src/cmUdpPort.h src/cmUdpNet.h src/cmVirtNet.h
  18. cmSRC += src/cmUdpPort.c src/cmUdpNet.c src/cmVirtNet.c
  19. cmHDR += src/cmAudioPort.h src/cmApBuf.h src/cmAudioAggDev.h src/cmAudioNrtDev.h src/cmThread.h
  20. cmSRC += src/cmAudioPort.c src/cmApBuf.c src/cmAudioAggDev.c src/cmAudioNrtDev.c src/cmThread.c
  21. cmHDR += src/cmMidiFilePlay.h src/cmMidiPort.h src/cmMidiFile.h src/cmMidi.h
  22. cmSRC += src/cmMidiFilePlay.c src/cmMidiPort.c src/cmMidiFile.c src/cmMidi.c
  23. cmHDR += src/cmSerialPort.h
  24. cmSRC += src/cmSerialPort.c
  25. cmHDR += src/cmAudioFile.h src/cmAudioFileMgr.h src/cmMsgProtocol.h src/cmAudioSys.h src/cmAudioSysMsg.h src/cmAudioPortFile.h src/cmAudioFileDev.h
  26. cmSRC += src/cmAudioFile.c src/cmAudioFileMgr.c src/cmMsgProtocol.c src/cmAudioSys.c src/cmAudioPortFile.c src/cmAudioFileDev.c
  27. cmHDR += src/cmRtSys.h src/cmRtNet.h src/cmUiRtSysMstr.h src/cmRtSysMsg.h
  28. cmSRC += src/cmRtSys.c src/cmRtNet.c src/cmUiRtSysMstr.c
  29. cmHDR += src/cmDevCfg.h src/cmUi.h src/cmUiDrvr.h
  30. cmSRC += src/cmDevCfg.c src/cmUi.c src/cmUiDrvr.c
  31. cmHDR += src/cmFrameFile.h src/cmFeatFile.h src/cmCsv.h src/cmAudLabelFile.h src/cmTagFile.h
  32. cmSRC += src/cmFrameFile.c src/cmFeatFile.c src/cmCsv.c src/cmAudLabelFile.c src/cmTagFile.c
  33. cmSRC += src/cmGr.c src/cmGrDevCtx.c src/cmGrPage.c src/cmGrPlot.c src/cmGrPlotAudio.c
  34. cmHDR += src/cmGr.h src/cmGrDevCtx.h src/cmGrPage.h src/cmGrPlot.h src/cmGrPlotAudio.h
  35. cmHDR += src/dsp/cmDspSys.h src/dsp/cmDspClass.h src/dsp/cmDspValue.h src/dsp/cmDspUi.h src/dsp/cmDspPreset.h src/dsp/cmDspNet.h
  36. cmSRC += src/dsp/cmDspSys.c src/dsp/cmDspClass.c src/dsp/cmDspValue.c src/dsp/cmDspUi.c src/dsp/cmDspPreset.c src/dsp/cmDspNet.c
  37. cmHDR += src/dsp/cmDspStore.h src/dsp/cmDspBuiltIn.h src/dsp/cmDspFx.h
  38. cmSRC += src/dsp/cmDspStore.c src/dsp/cmDspBuiltIn.c src/dsp/cmDspFx.c
  39. cmHDR += src/dsp/cmDspPgm.h src/dsp/cmDspPgmPP.h src/dsp/cmDspPgmPPMain.h
  40. cmSRC += src/dsp/cmDspPgm.c src/dsp/cmDspPgmPP.c src/dsp/cmDspPgmPPMain.c
  41. cmHDR += src/dsp/cmDspKr.h src/dsp/cmDspPgmKr.h src/dsp/cmDspPgmKrChain.h
  42. cmSRC += src/dsp/cmDspKr.c src/dsp/cmDspPgmKr.c src/dsp/cmDspPgmKrChain2.c src/dsp/cmDspPgmKrTksb.c src/dsp/cmDspPgmKrTimeLineLite.c src/dsp/cmDspPgmKrTimeLineLiteAf.c
  43. cmHDR += src/cmAudDsp.h src/cmAudDspIF.h src/cmAudDspLocal.h
  44. cmSRC += src/cmAudDsp.c src/cmAudDspIF.c src/cmAudDspLocal.c
  45. cmHDR += src/vop/cmVectOpsTemplateUndef.h src/vop/cmVectOpsTemplateHdr.h src/vop/cmVectOpsTemplateCode.h src/vop/cmVectOpsTemplateMain.h
  46. cmHDR += src/vop/cmVectOpsRIHdr.h src/vop/cmVectOpsRICode.h
  47. cmHDR += src/vop/cmProcTemplateUndef.h src/vop/cmProcTemplateHdr.h src/vop/cmProcTemplateCode.h src/vop/cmProcTemplateMain.h
  48. cmHDR += src/vop/cmVectOps.h src/vop/cmProcTemplate.h
  49. cmSRC += src/vop/cmVectOps.c src/vop/cmProcTemplate.c
  50. cmSRC += src/cmDList.c
  51. cmHDR += src/cmDList.h src/cmDListTpl.h
  52. cmHDR += src/cmProcObj.h src/cmProc.h src/cmProc2.h src/cmProc3.h src/cmProc4.h src/cmProc5.h src/cmProcTest.h
  53. cmSRC += src/cmProcObj.c src/cmProc.c src/cmProc2.c src/cmProc3.c src/cmProc4.c src/cmProc5.c src/cmProcTest.c
  54. cmHDR += src/app/cmOnset.h src/app/cmTimeLine.h src/app/cmScore.h src/app/cmScoreProc.h src/app/cmXScore.h src/app/cmScoreMatchGraphic.h
  55. cmSRC += src/app/cmOnset.c src/app/cmTimeLine.c src/app/cmScore.c src/app/cmScoreProc.c src/app/cmXScore.c src/app/cmScoreMatchGraphic.c
  56. cmHDR += src/app/cmMidiScoreFollow.h
  57. cmSRC += src/app/cmMidiScoreFollow.c
  58. cmHDR += src/app/cmSdb.h src/app/cmTakeSeqBldr.h src/app/cmDspPgmJsonToDot.h
  59. cmSRC += src/app/cmSdb.c src/app/cmTakeSeqBldr.c src/app/cmDspPgmJsonToDot.c
  60. cmHDR += src/app/cmPickup.h src/cmRbm.h src/cmTaskMgr.h src/cmSyncRecd.h
  61. cmSRC += src/app/cmPickup.c src/cmRbm.c src/cmTaskMgr.c src/cmSyncRecd.c
  62. cmHDR += src/sa/cmSaProc.h
  63. cmSRC += src/sa/cmSaProc.c
  64. if INC_SONICART
  65. cmSRC += src/sa/ss0/surroundstereo.c src/sa/ss1/surroundstereo_1.c
  66. endif
  67. if OS_LINUX
  68. cmSRC += src/linux/cmFileSysLinux.c src/linux/cmAudioPortAlsa.c src/linux/cmMidiAlsa.c
  69. cmHDR += src/linux/cmFileSysLinux.h src/linux/cmAudioPortAlsa.h
  70. endif
  71. if OS_OSX
  72. cmSRC += src/osx/cmMidiOsx.c src/osx/cmAudioPortOsx.c src/osx/cmFileSysOsx.c
  73. endif
  74. lib_LTLIBRARIES=
  75. include_HEADERS=
  76. AM_CPPFLAGS = -D _GNU_SOURCE -I.. -I$(srcdir)/src -I$(srcdir)/src/dsp -I$(srcdir)/src/vop -I$(srcdir)/src/app
  77. AM_CFLAGS = -Wno-multichar
  78. AM_CXXFLAGS =
  79. # debug/release switches
  80. if DEBUG
  81. AM_CFLAGS += -g
  82. AM_CXXFLAGS += -g
  83. else
  84. AM_CFLAGS += -O3
  85. AM_CXXFLAGS += -O3
  86. endif
  87. # Linux specific compiler flags
  88. if OS_LINUX
  89. if OS_64
  90. AM_CFLAGS += -m64
  91. endif
  92. endif
  93. # OSX specific compiler flags
  94. if OS_OSX
  95. AM_CPPFLAGS += -I/opt/local/include # Search macports directory for fftw headers
  96. endif
  97. # include src/Makefile.am
  98. src_libcm_la_SOURCES = $(cmSRC) $(cmHDR)
  99. include_HEADERS += $(cmHDR)
  100. lib_LTLIBRARIES += src/libcm.la
  101. # distclean-local sets the source tree back to it's minimal, pre-configure, state.
  102. distclean-local:
  103. rm -rf ${exec_prefix}/src
  104. rm -rf ${srcdir}/autom4te.cache
  105. rm -rf ${srcdir}/build-aux
  106. rm -f ${srcdir}/m4/libtool.m4 ${srcdir}/m4/lt~obsolete.m4 ${srcdir}/m4/ltsugar.m4
  107. rm -f ${srcdir}/m4/ltversion.m4 ${srcdir}/m4/ltoptions.m4
  108. rm -f ${srcdir}/aclocal.m4 ${srcdir}/config.h.in ${srcdir}/config.h.in~
  109. rm -f ${srcdir}/Makefile.in ${srcdir}/configure