mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
45 lines
965 B
Makefile
45 lines
965 B
Makefile
# -*- 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/.
|
|
#
|
|
|
|
export STANDALONE_MAKEFILE=1
|
|
PYTHON ?= python
|
|
PYTEST = $(PYTHON) -E
|
|
|
|
# python -B not supported by older interpreters
|
|
export PYTHONDONTWRITEBYTECODE=1
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
include $(topsrcdir)/config/config.mk
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
autotgt_tests = .deps/autotargets.mk.ts
|
|
|
|
tgts =\
|
|
.deps/.mkdir.done\
|
|
$(autotgt_tests)
|
|
$(NULL)
|
|
|
|
export MAKE
|
|
export .PYMAKE
|
|
|
|
##------------------_##
|
|
##---] TARGETS [---##
|
|
##------------------_##
|
|
all::
|
|
|
|
check:: $(tgts)
|
|
|
|
# Only run unit test when autotargets.mk is modified
|
|
$(autotgt_tests): $(topsrcdir)/config/makefiles/autotargets.mk
|
|
$(PYTEST) $(srcdir)/check_mkdir.tpy
|
|
@$(TOUCH) $@
|