pamac-classic/src/Makefile

105 lines
3.1 KiB
Makefile
Raw Normal View History

2014-11-17 17:56:15 -03:00
COMMON_VALA_FLAGS = --fatal-warnings \
--pkg=libalpm \
2014-10-22 13:44:02 -03:00
--pkg=gio-2.0 \
--pkg=posix \
--pkg=json-glib-1.0 \
--pkg=libsoup-2.4 \
--vapidir=../vapi \
--Xcc=-I../util \
-X -D_FILE_OFFSET_BITS=64 \
2014-10-30 10:44:09 -03:00
-X -DGETTEXT_PACKAGE="pamac" \
2014-10-22 13:44:02 -03:00
--target-glib=2.38
COMMON_SOURCES = ../util/alpm-util.c \
alpm_config.vala \
pamac_config.vala \
aur.vala \
common.vala
MANAGER_GRESOURCE_FILE = ../resources/pamac.manager.gresource.xml
UPDATER_GRESOURCE_FILE = ../resources/pamac.updater.gresource.xml
INSTALLER_GRESOURCE_FILE = ../resources/pamac.installer.gresource.xml
DIALOGS_FILES = choose_provider_dialog.vala \
transaction_sum_dialog.vala \
transaction_info_dialog.vala \
preferences_dialog.vala \
2014-10-30 10:44:09 -03:00
progress_dialog.vala
2014-10-22 13:44:02 -03:00
2014-11-30 12:51:33 -03:00
pamac-refresh: refresh.vala
valac -o pamac-refresh \
--pkg=gio-2.0 \
refresh.vala
pamac-daemon: ../vapi/libalpm.vapi ../vapi/polkit-gobject-1.vapi $(COMMON_SOURCES) mirrors_config.vala daemon.vala
2014-10-22 13:44:02 -03:00
valac -o pamac-daemon \
$(COMMON_VALA_FLAGS) \
--pkg=polkit-gobject-1 \
--thread \
$(COMMON_SOURCES) \
mirrors_config.vala \
2014-10-22 13:44:02 -03:00
daemon.vala
2014-10-30 10:44:09 -03:00
pamac-tray: ../vapi/libalpm.vapi $(COMMON_SOURCES) tray.vala
2014-10-22 13:44:02 -03:00
valac -o pamac-tray \
$(COMMON_VALA_FLAGS) \
--pkg=gtk+-3.0 \
--pkg=libnotify \
$(COMMON_SOURCES) \
tray.vala
pamac-manager: ../vapi/libalpm.vapi $(COMMON_SOURCES) $(DIALOGS_FILES) choose_dep_dialog.vala history_dialog.vala packages_chooser_dialog.vala ../resources/manager_resources.c package.vala mirrors_config.vala transaction.vala packages_model.vala manager_window.vala manager.vala
2014-10-22 13:44:02 -03:00
valac -o pamac-manager \
$(COMMON_VALA_FLAGS) \
--pkg=gtk+-3.0 \
--pkg=gmodule-2.0 \
--pkg=gdk-3.0 \
--pkg=vte-2.91 \
--gresources=$(MANAGER_GRESOURCE_FILE) \
$(COMMON_SOURCES) \
$(DIALOGS_FILES) \
choose_dep_dialog.vala \
2014-10-22 13:44:02 -03:00
history_dialog.vala \
packages_chooser_dialog.vala \
2014-11-17 17:56:15 -03:00
../resources/manager_resources.c \
2014-10-22 13:44:02 -03:00
package.vala \
mirrors_config.vala \
2014-10-22 13:44:02 -03:00
transaction.vala \
packages_model.vala \
manager_window.vala \
manager.vala
pamac-updater: ../vapi/libalpm.vapi $(COMMON_SOURCES) $(DIALOGS_FILES) ../resources/updater_resources.c mirrors_config.vala transaction.vala updater_window.vala updater.vala
2014-10-22 13:44:02 -03:00
valac -o pamac-updater \
$(COMMON_VALA_FLAGS) \
--pkg=gtk+-3.0 \
--pkg=gmodule-2.0 \
--pkg=vte-2.91 \
--gresources=$(UPDATER_GRESOURCE_FILE) \
$(COMMON_SOURCES) \
$(DIALOGS_FILES) \
2014-11-17 17:56:15 -03:00
../resources/updater_resources.c \
mirrors_config.vala \
2014-10-22 13:44:02 -03:00
transaction.vala \
updater_window.vala \
updater.vala
pamac-install: ../vapi/libalpm.vapi $(COMMON_SOURCES) $(DIALOGS_FILES) ../resources/installer_resources.c mirrors_config.vala transaction.vala installer.vala
2014-10-22 13:44:02 -03:00
valac -o pamac-install \
$(COMMON_VALA_FLAGS) \
--pkg=gtk+-3.0 \
--pkg=gmodule-2.0 \
--pkg=vte-2.91 \
--gresources=$(INSTALLER_GRESOURCE_FILE) \
$(COMMON_SOURCES) \
$(DIALOGS_FILES) \
2014-11-17 17:56:15 -03:00
../resources/installer_resources.c \
mirrors_config.vala \
2014-10-22 13:44:02 -03:00
transaction.vala \
installer.vala
2014-11-30 12:51:33 -03:00
binaries: pamac-refresh pamac-daemon pamac-tray pamac-updater pamac-manager pamac-install