Graphical package manager for pacman based on pamac 5.x.x
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

130 líneas
3.5KB

  1. ALPM_VALA_FLAGS = --pkg=libalpm \
  2. --pkg=gio-2.0 \
  3. --vapidir=../vapi \
  4. -X -D_FILE_OFFSET_BITS=64
  5. COMMON_VALA_FLAGS = -X -w \
  6. --pkg=posix \
  7. -X -DGETTEXT_PACKAGE="pamac" \
  8. --target-glib=2.38
  9. TRANSACTION_VALA_FLAGS = --pkg=gtk+-3.0 \
  10. --pkg=gdk-3.0 \
  11. --pkg=vte-2.91 \
  12. -X -lm
  13. PAMAC_LIB_FLAGS = -X -I. \
  14. -X -L. \
  15. -X -lpamac \
  16. --vapidir=./ \
  17. --pkg=pamac \
  18. COMMON_SOURCES = common.vala \
  19. pamac_config.vala
  20. TRANSACTION_SOURCES = package.vala \
  21. transaction.vala \
  22. choose_provider_dialog.vala \
  23. transaction_sum_dialog.vala \
  24. transaction_info_dialog.vala \
  25. progress_dialog.vala
  26. PREFERENCES_SOURCES = preferences_dialog.vala \
  27. choose_ignorepkgs_dialog.vala \
  28. mirrors_config.vala
  29. TRANSACTION_GRESOURCE_FILE = ../resources/pamac.transaction.gresource.xml
  30. MANAGER_GRESOURCE_FILE = ../resources/pamac.manager.gresource.xml
  31. UPDATER_GRESOURCE_FILE = ../resources/pamac.updater.gresource.xml
  32. INSTALLER_GRESOURCE_FILE = ../resources/pamac.installer.gresource.xml
  33. binaries: pamac-refresh pamac-daemon pamac-tray pamac-updater pamac-manager pamac-install
  34. clean:
  35. rm -f *.c pamac.h pamac.vapi libpamac.so pamac-refresh pamac-daemon pamac-tray pamac-updater pamac-manager pamac-install
  36. pamac-refresh: pamac_config.vala refresh.vala
  37. valac -o pamac-refresh \
  38. -X -w \
  39. --pkg=gio-2.0 \
  40. --pkg=posix \
  41. pamac_config.vala \
  42. refresh.vala
  43. pamac-tray: $(COMMON_SOURCES) alpm_config.vala tray.vala
  44. valac -o pamac-tray \
  45. $(COMMON_VALA_FLAGS) \
  46. --pkg=gtk+-3.0 \
  47. --pkg=libnotify \
  48. $(COMMON_SOURCES) \
  49. tray.vala
  50. pamac-daemon: ../vapi/libalpm.vapi ../vapi/polkit-gobject-1.vapi ../vapi/libcurl.vapi alpm_config.vala $(COMMON_SOURCES) package.vala aur.vala mirrors_config.vala daemon.vala
  51. valac -o pamac-daemon \
  52. $(COMMON_VALA_FLAGS) \
  53. $(ALPM_VALA_FLAGS) \
  54. --pkg=polkit-gobject-1 \
  55. --pkg=libcurl \
  56. --pkg=json-glib-1.0 \
  57. --pkg=libsoup-2.4 \
  58. --thread \
  59. alpm_config.vala \
  60. $(COMMON_SOURCES) \
  61. package.vala \
  62. aur.vala \
  63. mirrors_config.vala \
  64. daemon.vala
  65. libpamac.so: $(COMMON_SOURCES) $(TRANSACTION_SOURCES) $(PREFERENCES_SOURCES) ../resources/transaction_resources.c
  66. valac -o libpamac.so \
  67. -X -fPIC \
  68. -X --shared \
  69. -H pamac.h \
  70. --vapi=pamac.vapi \
  71. --library=libpamac \
  72. $(COMMON_VALA_FLAGS) \
  73. $(TRANSACTION_VALA_FLAGS) \
  74. --gresources=$(TRANSACTION_GRESOURCE_FILE) \
  75. ../resources/transaction_resources.c \
  76. $(COMMON_SOURCES) \
  77. $(TRANSACTION_SOURCES) \
  78. $(PREFERENCES_SOURCES)
  79. pamac-manager: libpamac.so choose_dep_dialog.vala history_dialog.vala transaction_info_dialog.vala ../resources/manager_resources.c manager_window.vala manager.vala
  80. valac -o pamac-manager \
  81. $(COMMON_VALA_FLAGS) \
  82. $(PAMAC_LIB_FLAGS) \
  83. --pkg=json-glib-1.0 \
  84. --pkg=gtk+-3.0 \
  85. --pkg=gdk-3.0 \
  86. --gresources=$(MANAGER_GRESOURCE_FILE) \
  87. ../resources/manager_resources.c \
  88. choose_dep_dialog.vala \
  89. history_dialog.vala \
  90. manager_window.vala \
  91. manager.vala
  92. pamac-updater: libpamac.so ../resources/updater_resources.c updater_window.vala updater.vala
  93. valac -o pamac-updater \
  94. $(COMMON_VALA_FLAGS) \
  95. $(PAMAC_LIB_FLAGS) \
  96. --pkg=json-glib-1.0 \
  97. --pkg=gtk+-3.0 \
  98. --pkg=gdk-3.0 \
  99. --gresources=$(UPDATER_GRESOURCE_FILE) \
  100. ../resources/updater_resources.c \
  101. updater_window.vala \
  102. updater.vala
  103. pamac-install: libpamac.so installer.vala
  104. valac -o pamac-install \
  105. $(COMMON_VALA_FLAGS) \
  106. $(PAMAC_LIB_FLAGS) \
  107. --pkg=json-glib-1.0 \
  108. --pkg=gtk+-3.0 \
  109. installer.vala