prefix = @ac_prefix@ qmake = @ac_qmake@ name = qsynth headers = config.h \ src/qsynthAbout.h \ src/qsynthEngine.h \ src/qsynthChannels.h \ src/qsynthKnob.h \ src/qsynthMeter.h \ src/qsynthSetup.h \ src/qsynthOptions.h \ src/qsynthSystemTray.h \ src/qsynthTabBar.h \ src/qsynthAboutForm.h \ src/qsynthChannelsForm.h \ src/qsynthMainForm.h \ src/qsynthMessagesForm.h \ src/qsynthOptionsForm.h \ src/qsynthPresetForm.h \ src/qsynthSetupForm.h sources = src/main.cpp \ src/qsynthEngine.cpp \ src/qsynthChannels.cpp \ src/qsynthKnob.cpp \ src/qsynthMeter.cpp \ src/qsynthSetup.cpp \ src/qsynthOptions.cpp \ src/qsynthSystemTray.cpp \ src/qsynthTabBar.cpp \ src/qsynthAboutForm.cpp \ src/qsynthChannelsForm.cpp \ src/qsynthMainForm.cpp \ src/qsynthMessagesForm.cpp \ src/qsynthOptionsForm.cpp \ src/qsynthPresetForm.cpp \ src/qsynthSetupForm.cpp forms = \ src/qsynthAboutForm.ui \ src/qsynthChannelsForm.ui \ src/qsynthMainForm.ui \ src/qsynthMessagesForm.ui \ src/qsynthOptionsForm.ui \ src/qsynthPresetForm.ui \ src/qsynthSetupForm.ui all: $(name) $(name).mak: $(name).pro @$(qmake) -o $(name).mak $(name).pro $(name): $(name).mak $(sources) $(headers) $(forms) @make -f $(name).mak install: $(name) icons/$(name).png @install -d -v -m 0755 $(DESTDIR)$(prefix)/bin @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/applications @install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name) @install -v -m 0644 icons/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png @install -v -m 0644 $(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop uninstall: $(DESTDIR)$(prefix)/bin/$(name) @rm -vf $(DESTDIR)$(prefix)/bin/$(name) @rm -vf $(DESTDIR)$(prefix)/share/pixmaps/$(name).png @rm -vf $(DESTDIR)$(prefix)/share/applications/$(name).desktop clean: $(name).mak @make -f $(name).mak clean @rm -f $(name) $(name).mak @rm -rf *.cache *.log *.status