ASIO to JACK driver for WINE
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.5KB

  1. #!/usr/bin/make -f
  2. # Makefile for WineASIO Settings GUI #
  3. # ---------------------------------- #
  4. # Created by falkTX
  5. #
  6. PREFIX = /usr
  7. PYUIC ?= pyuic5
  8. PYRCC ?= pyrcc5
  9. # ---------------------------------------------------------------------------------------------------------------------
  10. all:
  11. # ---------------------------------------------------------------------------------------------------------------------
  12. # UI code
  13. regen: ui_settings.py
  14. ui_%.py: %.ui
  15. $(PYUIC) $< -o $@
  16. # ---------------------------------------------------------------------------------------------------------------------
  17. clean:
  18. rm -f *~ *.pyc
  19. destroy: clean
  20. rm -f ui_*.py
  21. # ---------------------------------------------------------------------------------------------------------------------
  22. install:
  23. # Create directories
  24. install -d $(DESTDIR)$(PREFIX)/bin/
  25. install -d $(DESTDIR)$(PREFIX)/share/wineasio/
  26. # Install script files and binaries
  27. install -m 755 \
  28. wineasio-settings \
  29. $(DESTDIR)$(PREFIX)/bin/
  30. # Adjust PREFIX value in script files
  31. sed -i "s?X-PREFIX-X?$(PREFIX)?" \
  32. $(DESTDIR)$(PREFIX)/bin/wineasio-settings
  33. # Install code
  34. install -m 644 *.py $(DESTDIR)$(PREFIX)/share/wineasio/
  35. # ---------------------------------------------------------------------------------------------------------------------
  36. uninstall:
  37. rm -f $(DESTDIR)$(PREFIX)/bin/wineasio-settings
  38. rm -rf $(DESTDIR)$(PREFIX)/share/wineasio/
  39. # ---------------------------------------------------------------------------------------------------------------------