mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
7aaba96720
While at it, convert the libs:: rule to install targets
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
gcli_commands_internal_FILES = $(wildcard $(srcdir)/commands/*)
|
|
gcli_commands_internal_DEST = $(FINAL_TARGET)/modules/devtools/gcli/commands
|
|
INSTALL_TARGETS += gcli_commands_internal
|
|
|
|
subdirs = \
|
|
commands \
|
|
connectors \
|
|
converters \
|
|
fields \
|
|
languages \
|
|
mozui \
|
|
types \
|
|
ui \
|
|
util \
|
|
$(NULL)
|
|
|
|
define subdir_files
|
|
gcli_$1_FILES = $$(wildcard $$(srcdir)/source/lib/gcli/$1/*)
|
|
gcli_$1_DEST = $$(FINAL_TARGET)/modules/devtools/gcli/$1
|
|
INSTALL_TARGETS += gcli_$1
|
|
endef
|
|
|
|
$(foreach subdir,$(subdirs),$(eval $(call subdir_files,$(subdir))))
|
|
|
|
gcli_root_FILES = $(filter-out $(addprefix $(srcdir)/source/lib/gcli/,$(subdirs)),$(wildcard $(srcdir)/source/lib/gcli/*))
|
|
gcli_root_DEST = $(FINAL_TARGET)/modules/devtools/gcli
|
|
INSTALL_TARGETS += gcli_root
|
|
|
|
gcli_jsm_FILES = $(wildcard $(srcdir)/*.jsm)
|
|
gcli_jsm_DEST = $(FINAL_TARGET)/modules/devtools
|
|
INSTALL_TARGETS += gcli_jsm
|