vte2.91/Makefile.meson

67 lines
1.3 KiB
Makefile
Raw Normal View History

2022-05-14 03:16:03 +08:00
# Copyright © 2019 Christian Persch
#
2024-04-24 17:50:07 +08:00
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
2022-05-14 03:16:03 +08:00
#
2024-04-24 17:50:07 +08:00
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
2022-05-14 03:16:03 +08:00
#
# You should have received a copy of the GNU Lesser General Public License
# along with this library. If not, see <https://www.gnu.org/licenses/>.
srcdir=@srcdir@
builddir=@builddir@
2024-04-24 17:50:07 +08:00
vte_api_version = @vte_api_version@
2022-05-14 03:16:03 +08:00
#
NTHREADS = 1
NJOBS = -j$(NTHREADS)
NINJA = ninja $(NJOBS)
2024-04-24 17:50:07 +08:00
MESON = meson
2022-05-14 03:16:03 +08:00
#
all:
$(NINJA)
2024-04-24 17:50:07 +08:00
gtk3:
$(NINJA) src/app/vte-$(vte_api_version)
gtk4:
$(NINJA) src/app/vte-$(vte_api_version)-gtk4
doc-gtk3:
$(NINJA) doc/reference/vte-$(vte_api_version)
doc-gtk4:
$(NINJA) doc/reference/vte-$(vte_api_version)-gtk4
2022-05-14 03:16:03 +08:00
check:
MESON_TESTTHREADS=$(NTHREADS) $(NINJA) test
clean:
$(NINJA) clean
coverage:
$(NINJA) coverage
2024-04-24 17:50:07 +08:00
doc: doc-gtk3 doc-gtk4
2022-05-14 03:16:03 +08:00
install:
$(NINJA) install
uninstall:
$(NINJA) uninstall
2024-04-24 17:50:07 +08:00
dist:
$(MESON) dist --no-tests
distcheck:
$(MESON) dist