OpenAL-Soft.pro 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2011-05-14T13:58:16
  4. #
  5. #-------------------------------------------------
  6. QT += multimedia
  7. QT -= gui
  8. TARGET = openal_soft
  9. TEMPLATE = lib
  10. DEFINES += _QT
  11. CONFIG(debug, debug|release) {
  12. TARGET_CONFIG = debug
  13. DEFINES += _DEBUG
  14. } else {
  15. TARGET_CONFIG = release
  16. }
  17. win32 {
  18. TARGET_PLATFORM = win32
  19. DEFINES += _WIN32
  20. LIBS += -Wl,-s -lwinmm
  21. }
  22. simulator {
  23. TARGET_PLATFORM = simulator
  24. DEFINES += _SIMULATOR
  25. LIBS += -Wl,-s -lwinmm
  26. }
  27. symbian: {
  28. DEFINES += _SYMBIAN
  29. }
  30. DEFINES += OPENALSOFT_LIBRARY \
  31. AL_BUILD_LIBRARY \
  32. AL_ALEXT_PROTOTYPES \
  33. _QT
  34. SOURCES += \
  35. ../Alc/bs2b.c \
  36. ../Alc/ALu.c \
  37. ../Alc/alcThread.c \
  38. ../Alc/alcRing.c \
  39. ../Alc/alcReverb.c \
  40. ../Alc/alcModulator.c \
  41. ../Alc/alcEcho.c \
  42. ../Alc/alcConfig.c \
  43. ../Alc/ALc.c \
  44. ../OpenAL32/alThunk.c \
  45. ../OpenAL32/alState.c \
  46. ../OpenAL32/alSource.c \
  47. ../OpenAL32/alListener.c \
  48. ../OpenAL32/alFilter.c \
  49. ../OpenAL32/alExtension.c \
  50. ../OpenAL32/alError.c \
  51. ../OpenAL32/alEffect.c \
  52. ../OpenAL32/alDatabuffer.c \
  53. ../OpenAL32/alBuffer.c \
  54. ../OpenAL32/alAuxEffectSlot.c \
  55. ../Alc/null.c \
  56. ../Alc/qt.c \
  57. qAudioOutputWrapper.cpp \
  58. qThreadWrapper.cpp \
  59. qDebugWrapper.cpp \
  60. qAudioOutputEvent.cpp
  61. HEADERS += config.h \
  62. qAudioOutputWrapper.h \
  63. qThreadWrapper.h \
  64. qDebugWrapper.h \
  65. ../OpenAL32/Include/bs2b.h \
  66. ../OpenAL32/Include/alu.h \
  67. ../OpenAL32/Include/alThunk.h \
  68. ../OpenAL32/Include/alState.h \
  69. ../OpenAL32/Include/alSource.h \
  70. ../OpenAL32/Include/alMain.h \
  71. ../OpenAL32/Include/alListener.h \
  72. ../OpenAL32/Include/alFilter.h \
  73. ../OpenAL32/Include/alError.h \
  74. ../OpenAL32/Include/alEffect.h \
  75. ../OpenAL32/Include/alDatabuffer.h \
  76. ../OpenAL32/Include/alBuffer.h \
  77. ../OpenAL32/Include/alAuxEffectSlot.h \
  78. ../include/AL/efx-creative.h \
  79. ../include/AL/efx.h \
  80. ../include/AL/alext.h \
  81. ../include/AL/alc.h \
  82. ../include/AL/al.h \
  83. qAudioOutputEvent.h
  84. INCLUDEPATH += ../include \
  85. ../OpenAL32/Include \
  86. ./ \
  87. QMAKE_CXXFLAGS.GCCE -= -fvisibility-inlines-hidden
  88. symbian {
  89. #Symbian specific definitions
  90. MMP_RULES += EXPORTUNFROZEN
  91. TARGET.UID3 = 0xE99C2071
  92. TARGET.CAPABILITY += NetworkServices
  93. TARGET.EPOCALLOWDLLDATA = 1
  94. addFiles.sources = openal_soft.dll
  95. addFiles.path = !:/sys/bin
  96. DEPLOYMENT += addFiles
  97. }
  98. unix:!symbian {
  99. maemo5 {
  100. target.path = /opt/usr/lib
  101. } else {
  102. target.path = /usr/local/lib
  103. }
  104. INSTALLS += target
  105. }
  106. symbian {
  107. # Symbian libs files can only be copied to epoc32 udeb & urel folder
  108. message(Note: Symbian target files must be manually copied from corresponding udeb folder.)
  109. message(Note: Make sure custom build steps are added to project setting.)
  110. } else {
  111. DESTDIR = $$PWD/../bin/$$TARGET_PLATFORM/$$TARGET_CONFIG/
  112. }