mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
36 lines
1015 B
Makefile
36 lines
1015 B
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/.
|
|
|
|
DEPTH = ../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
# Paths here are topsrcdir-relative, and
|
|
# must be in dependency-order.
|
|
setuptools_packages := \
|
|
other-licenses/simplejson-2.1.1 \
|
|
testing/mozbase/manifestdestiny \
|
|
testing/mozbase/mozinfo \
|
|
testing/mozbase/mozinstall \
|
|
testing/mozbase/mozlog \
|
|
testing/mozbase/mozprocess \
|
|
testing/mozbase/mozprofile \
|
|
testing/mozbase/mozrunner \
|
|
build/pylib/blessings \
|
|
$(NULL)
|
|
|
|
|
|
define install_setuptools_package
|
|
cd $(topsrcdir)/$(1)/; CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" CXXFLAGS="$(HOST_CXXFLAGS)" $(PYTHON) setup.py develop
|
|
|
|
endef
|
|
|
|
default::
|
|
$(foreach package,$(setuptools_packages),$(call install_setuptools_package,$(package)))
|
|
|
|
include $(topsrcdir)/config/rules.mk
|