prefix = @ac_prefix@ name = qsampler target = src/$(name) headers = \ src/config.h \ src/qsampler.h \ src/qsamplerAbout.h \ src/qsamplerOptions.h \ src/qsamplerChannel.h \ src/qsamplerMessages.h \ src/qsamplerInstrument.h \ src/qsamplerInstrumentList.h \ src/qsamplerDevice.h \ src/qsamplerFxSend.h \ src/qsamplerFxSendsModel.h \ src/qsamplerUtilities.h \ src/qsamplerInstrumentForm.h \ src/qsamplerInstrumentListForm.h \ src/qsamplerDeviceForm.h \ src/qsamplerDeviceStatusForm.h \ src/qsamplerChannelStrip.h \ src/qsamplerChannelForm.h \ src/qsamplerChannelFxForm.h \ src/qsamplerOptionsForm.h \ src/qsamplerPaletteForm.h \ src/qsamplerMainForm.h sources = \ src/qsampler.cpp \ src/qsamplerOptions.cpp \ src/qsamplerChannel.cpp \ src/qsamplerMessages.cpp \ src/qsamplerInstrument.cpp \ src/qsamplerInstrumentList.cpp \ src/qsamplerDevice.cpp \ src/qsamplerFxSend.cpp \ src/qsamplerFxSendsModel.cpp \ src/qsamplerUtilities.cpp \ src/qsamplerInstrumentForm.cpp \ src/qsamplerInstrumentListForm.cpp \ src/qsamplerDeviceForm.cpp \ src/qsamplerDeviceStatusForm.cpp \ src/qsamplerChannelStrip.cpp \ src/qsamplerChannelForm.cpp \ src/qsamplerChannelFxForm.cpp \ src/qsamplerOptionsForm.cpp \ src/qsamplerPaletteForm.cpp \ src/qsamplerMainForm.cpp forms = \ src/qsamplerInstrumentForm.ui \ src/qsamplerInstrumentListForm.ui \ src/qsamplerDeviceForm.ui \ src/qsamplerChannelStrip.ui \ src/qsamplerChannelForm.ui \ src/qsamplerChannelFxForm.ui \ src/qsamplerOptionsForm.ui \ src/qsamplerPaletteForm.ui \ src/qsamplerMainForm.ui resources = \ src/qsampler.qrc translations_sources = \ src/translations/qsampler_cs.ts \ src/translations/qsampler_fr.ts \ src/translations/qsampler_ru.ts translations_targets = \ src/translations/qsampler_cs.qm \ src/translations/qsampler_fr.qm \ src/translations/qsampler_ru.qm export datadir = @ac_datadir@ export mandir = @ac_mandir@ translations_dir = $(datadir)/$(name)/translations export QMAKE = @ac_qmake@ export LUPDATE = @ac_lupdate@ export LRELEASE = @ac_lrelease@ all: $(target) $(target): $(name).mak $(resources) ${forms} $(sources) $(headers) @$(MAKE) -f $(name).mak $(name).mak: $(name).pro @$(QMAKE) -o $(name).mak $(name).pro translations_lupdate: $(translations_sources) @$(LUPDATE) -verbose -no-obsolete -recursive src -ts $(translations_sources) translations_lrelease: translations_lupdate $(translations_targets) %.qm: %.ts @$(LRELEASE) -verbose $< -qm $@ install: $(target) translations_lrelease $(name).1 @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak install @install -d -v -m 0755 $(DESTDIR)$(translations_dir) @install -d -v -m 0755 $(DESTDIR)$(mandir)/man1 @install -v -m 0644 $(translations_targets) $(DESTDIR)$(translations_dir) @install -v -m 0644 $(name)*.1 $(DESTDIR)$(mandir)/man1 @gzip -nvf $(DESTDIR)$(mandir)/man1/$(name)*.1 uninstall: $(DESTDIR)$(prefix)/bin/$(name) @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall @rm -rvf $(DESTDIR)$(translations_dir) @rm -vf $(DESTDIR)$(mandir)/man1/$(name)*.1.gz clean: $(name).mak @$(MAKE) -f $(name).mak distclean || true @rm -f $(target) $(target).mak $(name).mak @rm -rf *.cache *.log *.status $(translations_targets)