1 include ..
/..
/Makefile.
include WAYLANDPP-SCANNER-VERSION ..
/..
/download-files.
include
3 PLATFORM
=$(NATIVEPLATFORM
)
4 DEPS
=..
/..
/Makefile.
include Makefile WAYLANDPP-SCANNER-VERSION ..
/..
/download-files.
include 001-fix-gcc13-build.patch
6 CMAKE_OPTIONS
:= -DBUILD_DOCUMENTATION
=OFF \
7 -DBUILD_LIBRARIES
=OFF \
10 -DCMAKE_INSTALL_LIBDIR
=lib \
11 -DCMAKE_INSTALL_PREFIX
=$(NATIVEPREFIX
) \
14 BUILDDIR
= $(PLATFORM
)/build
16 all: .installed-
$(PLATFORM
)
19 $(PLATFORM
): $(DEPS
) |
$(TARBALLS_LOCATION
)/$(ARCHIVE
).
$(HASH_TYPE
)
20 rm -rf
$(PLATFORM
)/*; mkdir
-p
$(PLATFORM
)
21 cd
$(PLATFORM
); $(ARCHIVE_TOOL
) $(ARCHIVE_TOOL_FLAGS
) $(TARBALLS_LOCATION
)/$(ARCHIVE
)
22 cd
$(PLATFORM
); patch
-p1
-i ..
/001-fix-gcc13-build.patch
24 cd
$(BUILDDIR
); $(NATIVEPREFIX
)/bin
/cmake
$(CMAKE_OPTIONS
) ..
26 .installed-
$(PLATFORM
): $(PLATFORM
)
27 $(MAKE
) -C
$(BUILDDIR
)
28 $(MAKE
) -C
$(BUILDDIR
) install
32 $(MAKE
) -C
$(BUILDDIR
) clean
33 rm -f .installed-
$(PLATFORM
)
36 rm -rf
$(PLATFORM
) .installed-
$(PLATFORM
)