| 1 | #message( --==( Building libhydrogen )=-- ) |
|---|
| 2 | include(../../features.pri) |
|---|
| 3 | |
|---|
| 4 | TEMPLATE = lib |
|---|
| 5 | CONFIG += qt warn_on thread staticlib precompile_header |
|---|
| 6 | QMAKE_CXXFLAGS_RELEASE += -g -Wall |
|---|
| 7 | QMAKE_CXXFLAGS_DEBUG += -g -Wall |
|---|
| 8 | QMAKE_CXXFLAGS+= -I/usr/include/lash-1.0 |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | DESTDIR = .. |
|---|
| 12 | INCLUDEPATH += ../.. include |
|---|
| 13 | OBJECTS_DIR = objs |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | win32 { |
|---|
| 17 | INCLUDEPATH += ../../win32build/includes |
|---|
| 18 | INCLUDEPATH += ../../win32build/libs/libpthread |
|---|
| 19 | INCLUDEPATH += ../../win32build/libs/libsndfile |
|---|
| 20 | INCLUDEPATH += ../../win32build/libs/flac |
|---|
| 21 | INCLUDEPATH += ../../win32build/libs/portaudio |
|---|
| 22 | INCLUDEPATH += ../../win32build/libs/portmidi |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | macx { |
|---|
| 26 | # enable universal lib creation |
|---|
| 27 | #CONFIG += x86 ppc |
|---|
| 28 | |
|---|
| 29 | INCLUDEPATH += /System/Library/Frameworks/Carbon.framework/Headers |
|---|
| 30 | INCLUDEPATH += /opt/local/include |
|---|
| 31 | QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Frameworks/ |
|---|
| 32 | } |
|---|
| 33 | |
|---|
| 34 | linux-g++ { |
|---|
| 35 | } |
|---|
| 36 | |
|---|
| 37 | PRECOMPILED_HEADER = src/precompiled.h |
|---|
| 38 | |
|---|
| 39 | DEFINES += $$H2DEFINES |
|---|
| 40 | message( H2 defines: $$H2DEFINES ) |
|---|
| 41 | |
|---|
| 42 | HEADERS += \ |
|---|
| 43 | src/precompiled.h \ |
|---|
| 44 | \ |
|---|
| 45 | include/hydrogen/action.h \ |
|---|
| 46 | include/hydrogen/adsr.h \ |
|---|
| 47 | include/hydrogen/audio_engine.h \ |
|---|
| 48 | include/hydrogen/note.h \ |
|---|
| 49 | \ |
|---|
| 50 | include/hydrogen/Object.h \ |
|---|
| 51 | include/hydrogen/hydrogen.h \ |
|---|
| 52 | include/hydrogen/LocalFileMng.h \ |
|---|
| 53 | include/hydrogen/Preferences.h \ |
|---|
| 54 | include/hydrogen/Song.h \ |
|---|
| 55 | include/hydrogen/globals.h \ |
|---|
| 56 | include/hydrogen/instrument.h \ |
|---|
| 57 | include/hydrogen/Pattern.h \ |
|---|
| 58 | include/hydrogen/playlist.h \ |
|---|
| 59 | include/hydrogen/sample.h \ |
|---|
| 60 | include/hydrogen/data_path.h \ |
|---|
| 61 | include/hydrogen/event_queue.h \ |
|---|
| 62 | include/hydrogen/midiMap.h \ |
|---|
| 63 | include/hydrogen/SoundLibrary.h \ |
|---|
| 64 | include/hydrogen/h2_exception.h \ |
|---|
| 65 | include/hydrogen/LashClient.h \ |
|---|
| 66 | \ |
|---|
| 67 | include/hydrogen/fx/Effects.h \ |
|---|
| 68 | include/hydrogen/fx/LadspaFX.h \ |
|---|
| 69 | include/hydrogen/fx/ladspa.h \ |
|---|
| 70 | \ |
|---|
| 71 | include/hydrogen/IO/AudioOutput.h \ |
|---|
| 72 | include/hydrogen/IO/TransportInfo.h \ |
|---|
| 73 | include/hydrogen/IO/MidiInput.h \ |
|---|
| 74 | include/hydrogen/IO/CoreMidiDriver.h \ |
|---|
| 75 | include/hydrogen/IO/JackOutput.h \ |
|---|
| 76 | include/hydrogen/IO/NullDriver.h \ |
|---|
| 77 | \ |
|---|
| 78 | include/hydrogen/sampler/Sampler.h \ |
|---|
| 79 | include/hydrogen/sequencer/Sequencer.h \ |
|---|
| 80 | include/hydrogen/synth/Synth.h \ |
|---|
| 81 | include/hydrogen/smf/SMF.h \ |
|---|
| 82 | include/hydrogen/smf/SMFEvent.h \ |
|---|
| 83 | \ |
|---|
| 84 | \ |
|---|
| 85 | src/xml/tinystr.h \ |
|---|
| 86 | src/xml/tinyxml.h \ |
|---|
| 87 | \ |
|---|
| 88 | src/IO/AlsaMidiDriver.h \ |
|---|
| 89 | src/IO/DiskWriterDriver.h \ |
|---|
| 90 | src/IO/FakeDriver.h \ |
|---|
| 91 | src/IO/OssDriver.h \ |
|---|
| 92 | src/IO/AlsaAudioDriver.h \ |
|---|
| 93 | src/IO/PortMidiDriver.h \ |
|---|
| 94 | src/IO/PortAudioDriver.h \ |
|---|
| 95 | src/IO/CoreAudioDriver.h \ |
|---|
| 96 | src/flac_file.h \ |
|---|
| 97 | |
|---|
| 98 | |
|---|
| 99 | |
|---|
| 100 | |
|---|
| 101 | SOURCES += \ |
|---|
| 102 | src/xml/tinystr.cpp \ |
|---|
| 103 | src/xml/tinyxml.cpp \ |
|---|
| 104 | src/xml/tinyxmlerror.cpp \ |
|---|
| 105 | src/xml/tinyxmlparser.cpp \ |
|---|
| 106 | \ |
|---|
| 107 | src/IO/alsa_midi_driver.cpp \ |
|---|
| 108 | src/IO/disk_writer_driver.cpp \ |
|---|
| 109 | src/IO/fake_driver.cpp \ |
|---|
| 110 | src/IO/jack_output.cpp \ |
|---|
| 111 | src/IO/null_driver.cpp \ |
|---|
| 112 | src/IO/oss_driver.cpp \ |
|---|
| 113 | src/IO/transport_info.cpp \ |
|---|
| 114 | src/IO/alsa_audio_driver.cpp \ |
|---|
| 115 | src/IO/midi_input.cpp \ |
|---|
| 116 | src/IO/portmidi_driver.cpp \ |
|---|
| 117 | src/IO/portaudio_driver.cpp \ |
|---|
| 118 | src/IO/coreaudio_driver.cpp \ |
|---|
| 119 | src/IO/coremidi_driver.cpp \ |
|---|
| 120 | \ |
|---|
| 121 | src/fx/effects.cpp \ |
|---|
| 122 | src/fx/ladspa_fx.cpp \ |
|---|
| 123 | \ |
|---|
| 124 | src/smf/smf.cpp \ |
|---|
| 125 | src/smf/smf_event.cpp \ |
|---|
| 126 | \ |
|---|
| 127 | src/sampler/sampler.cpp \ |
|---|
| 128 | \ |
|---|
| 129 | src/sequencer/sequencer.cpp \ |
|---|
| 130 | \ |
|---|
| 131 | src/synth/synth.cpp \ |
|---|
| 132 | \ |
|---|
| 133 | src/action.cpp \ |
|---|
| 134 | src/adsr.cpp \ |
|---|
| 135 | src/audio_engine.cpp \ |
|---|
| 136 | src/data_path.cpp \ |
|---|
| 137 | src/event_queue.cpp \ |
|---|
| 138 | src/flac_file.cpp \ |
|---|
| 139 | src/hydrogen.cpp \ |
|---|
| 140 | src/instrument.cpp \ |
|---|
| 141 | src/local_file_mgr.cpp \ |
|---|
| 142 | src/midiMap.cpp \ |
|---|
| 143 | src/note.cpp \ |
|---|
| 144 | src/object.cpp \ |
|---|
| 145 | src/pattern.cpp \ |
|---|
| 146 | src/playlist.cpp \ |
|---|
| 147 | src/preferences.cpp \ |
|---|
| 148 | src/sample.cpp \ |
|---|
| 149 | src/song.cpp \ |
|---|
| 150 | src/sound_library.cpp \ |
|---|
| 151 | src/lash/LashClient.cpp \ |
|---|
| 152 | \ |
|---|
| 153 | |
|---|
| 154 | |
|---|
| 155 | |
|---|
| 156 | |
|---|