--- qsampler/trunk/src/src.pro 2011/06/11 17:53:32 2183 +++ qsampler/trunk/src/src.pro 2011/06/18 21:26:55 2184 @@ -1,111 +1,111 @@ -# qsampler.pro -# -TARGET = qsampler - -TEMPLATE = app -DEPENDPATH += . -INCLUDEPATH += . - -include(src.pri) - -#DEFINES += DEBUG - -HEADERS += config.h \ - qsamplerAbout.h \ - qsamplerOptions.h \ - qsamplerChannel.h \ - qsamplerMessages.h \ - qsamplerInstrument.h \ - qsamplerInstrumentList.h \ - qsamplerDevice.h \ - qsamplerFxSend.h \ - qsamplerFxSendsModel.h \ - qsamplerUtilities.h \ - qsamplerInstrumentForm.h \ - qsamplerInstrumentListForm.h \ - qsamplerDeviceForm.h \ - qsamplerDeviceStatusForm.h \ - qsamplerChannelStrip.h \ - qsamplerChannelForm.h \ - qsamplerChannelFxForm.h \ - qsamplerOptionsForm.h \ - qsamplerMainForm.h - -SOURCES += \ - qsampler.cpp \ - qsamplerOptions.cpp \ - qsamplerChannel.cpp \ - qsamplerMessages.cpp \ - qsamplerInstrument.cpp \ - qsamplerInstrumentList.cpp \ - qsamplerDevice.cpp \ - qsamplerFxSend.cpp \ - qsamplerFxSendsModel.cpp \ - qsamplerUtilities.cpp \ - qsamplerInstrumentForm.cpp \ - qsamplerInstrumentListForm.cpp \ - qsamplerDeviceForm.cpp \ - qsamplerDeviceStatusForm.cpp \ - qsamplerChannelStrip.cpp \ - qsamplerChannelForm.cpp \ - qsamplerChannelFxForm.cpp \ - qsamplerOptionsForm.cpp \ - qsamplerMainForm.cpp - -FORMS += \ - qsamplerInstrumentForm.ui \ - qsamplerInstrumentListForm.ui \ - qsamplerDeviceForm.ui \ - qsamplerChannelStrip.ui \ - qsamplerChannelForm.ui \ - qsamplerChannelFxForm.ui \ - qsamplerOptionsForm.ui \ - qsamplerMainForm.ui - -RESOURCES += \ - qsampler.qrc - -TRANSLATIONS += \ - translations/qsampler_cs.ts \ - translations/qsampler_ru.ts - -unix { - - #VARIABLES - OBJECTS_DIR = .obj - MOC_DIR = .moc - UI_DIR = .ui - - isEmpty(PREFIX) { - PREFIX = /usr/local - } - - BINDIR = $$PREFIX/bin - DATADIR = $$PREFIX/share - - DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\" - - #MAKE INSTALL - INSTALLS += target desktop icon - - target.path = $$BINDIR - - desktop.path = $$DATADIR/applications - desktop.files += $${TARGET}.desktop - - icon.path = $$DATADIR/icons/hicolor/32x32/apps - icon.files += images/$${TARGET}.png -} - -win32 { - - CONFIG(debug, debug|release): CONFIG += console - INSTALLS += target - target.path = $$PREFIX/bin -} - -macx { - - QMAKE_MAC_SDK = $$(SDKROOT) - CONFIG += $$(QMAKE_ARCHS) -} +# qsampler.pro +# +TARGET = qsampler + +TEMPLATE = app +DEPENDPATH += . +INCLUDEPATH += . + +include(src.pri) + +#DEFINES += DEBUG + +HEADERS += config.h \ + qsamplerAbout.h \ + qsamplerOptions.h \ + qsamplerChannel.h \ + qsamplerMessages.h \ + qsamplerInstrument.h \ + qsamplerInstrumentList.h \ + qsamplerDevice.h \ + qsamplerFxSend.h \ + qsamplerFxSendsModel.h \ + qsamplerUtilities.h \ + qsamplerInstrumentForm.h \ + qsamplerInstrumentListForm.h \ + qsamplerDeviceForm.h \ + qsamplerDeviceStatusForm.h \ + qsamplerChannelStrip.h \ + qsamplerChannelForm.h \ + qsamplerChannelFxForm.h \ + qsamplerOptionsForm.h \ + qsamplerMainForm.h + +SOURCES += \ + qsampler.cpp \ + qsamplerOptions.cpp \ + qsamplerChannel.cpp \ + qsamplerMessages.cpp \ + qsamplerInstrument.cpp \ + qsamplerInstrumentList.cpp \ + qsamplerDevice.cpp \ + qsamplerFxSend.cpp \ + qsamplerFxSendsModel.cpp \ + qsamplerUtilities.cpp \ + qsamplerInstrumentForm.cpp \ + qsamplerInstrumentListForm.cpp \ + qsamplerDeviceForm.cpp \ + qsamplerDeviceStatusForm.cpp \ + qsamplerChannelStrip.cpp \ + qsamplerChannelForm.cpp \ + qsamplerChannelFxForm.cpp \ + qsamplerOptionsForm.cpp \ + qsamplerMainForm.cpp + +FORMS += \ + qsamplerInstrumentForm.ui \ + qsamplerInstrumentListForm.ui \ + qsamplerDeviceForm.ui \ + qsamplerChannelStrip.ui \ + qsamplerChannelForm.ui \ + qsamplerChannelFxForm.ui \ + qsamplerOptionsForm.ui \ + qsamplerMainForm.ui + +RESOURCES += \ + qsampler.qrc + +TRANSLATIONS += \ + translations/qsampler_cs.ts \ + translations/qsampler_ru.ts + +unix { + + #VARIABLES + OBJECTS_DIR = .obj + MOC_DIR = .moc + UI_DIR = .ui + + isEmpty(PREFIX) { + PREFIX = /usr/local + } + + BINDIR = $$PREFIX/bin + DATADIR = $$PREFIX/share + + DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\" + + #MAKE INSTALL + INSTALLS += target desktop icon + + target.path = $$BINDIR + + desktop.path = $$DATADIR/applications + desktop.files += $${TARGET}.desktop + + icon.path = $$DATADIR/icons/hicolor/32x32/apps + icon.files += images/$${TARGET}.png +} + +win32 { + + CONFIG(debug, debug|release): CONFIG += console + INSTALLS += target + target.path = $$PREFIX/bin +} + +macx { + + QMAKE_MAC_SDK = $$(SDKROOT) + CONFIG += $$(QMAKE_ARCHS) +}