Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/VLC/contrib/src/meson-machinefile/   (VLC Media Plyer ©)  Datei vom 23.9.2026 mit Größe 1 kB image not shown  

Quelle  rules.mak  Sprache: unbekannt

 
Spracherkennung für: .mak vermutete Sprache: SQL {SQL[48] Fortran[40] VHDL[40]} [Methode: maximale Elemente, drei Dimensionen]

# Generate external meson machine file

# This cross or native file is meant to be used to easiy
# use the contribs with VLCs meson build system by using
# either the --cross-file or --native-file option
# respectively.

PKGS += meson-machinefile

ifdef HAVE_CROSS_COMPILE
CROSS_OR_NATIVE := cross
else
CROSS_OR_NATIVE := native
endif

meson-machinefile:
 mkdir -p $@

meson-machinefile/contrib.ini: $(foreach tool,$(filter-out $(PKGS_FOUND),$(PKGS.tools)),.dep-$(tool))
meson-machinefile/contrib.ini: $(SRC)/gen-meson-machinefile.py meson-machinefile
 PREFIX="$(PREFIX)" \
 $(SRC)/gen-meson-machinefile.py \
  --type external-$(CROSS_OR_NATIVE) \
  $(foreach tool,$(filter-out $(PKGS_FOUND),$(PKGS.tools)),--binary $(PKGS.tools.$(tool).config-tool):$(PKGS.tools.$(tool).path)) \
  $@

# Dummy target, there is nothing to check
# as we download nothing.
.sum-meson-machinefile:
 touch $@

.meson-machinefile: meson-machinefile/contrib.ini
 install -d "$(PREFIX)/share/meson/$(CROSS_OR_NATIVE)"
 install meson-machinefile/contrib.ini "$(PREFIX)/share/meson/$(CROSS_OR_NATIVE)"
 touch $@

[Dauer der Verarbeitung: 0.2 Sekunden, vorverarbeitet 2026-10-24]