1 include ..
/Makefile.
include
3 ifneq ($(shell test -f
$(NATIVEPREFIX
)/share
/config.site
&& echo
1),1)
4 $(error Error
: $(NATIVEPREFIX
)/share
/config.site is missing. Please reconfigure depends to generate it
)
7 # Keep in alphabetical order
28 perlmodule-parseyapp \
36 ifneq ($(NATIVE_OS
),osx
)
41 ifeq ($(OS
),darwin_embedded
)
42 NATIVE
+= dpkg xz
tar ldid
46 NATIVE
+= expat wayland-scanner pugixml waylandpp-scanner
49 ifeq ($(RENDER_SYSTEM
),gles
)
50 NATIVE
+= MarkupSafe Mako
54 .PHONY
: $(NATIVE
) native
57 @echo
"Dependencies built successfully."
59 # Dependency layout for parallel builds
60 autoconf-archive
: autoconf
63 dpkg
: automake gettext libtool pkg-config
tar
65 JsonSchemaBuilder
: automake
66 libjpeg-turbo
: cmake nasm
70 meson
: python3 setuptools
74 python3
: $(EXPAT
) $(LIBFFI
) pkg-config zlib openssl autoconf-archive
78 TexturePacker
: automake pkg-config libpng liblzo2 giflib libjpeg-turbo
79 wayland-scanner
: expat pkg-config
80 waylandpp-scanner
: cmake pugixml
82 # python installs are not thread safe when using easy_install method.
83 # MarkupSafe doesn't really depend on ninja but we need to make the
87 #liblzo2 has stale packaged automake files that cause borked host/build detection
94 for d in
$(NATIVE
); do
$(MAKE
) -C
$$d clean; done
96 # Debug target, this will DELETE all data in staging!
98 ( for d in
$(NATIVE
); do \
99 rm -rf
$(NATIVEPREFIX
); \
100 mkdir
-p
$(NATIVEPREFIX
)/include $(NATIVEPREFIX
)/share
$(NATIVEPREFIX
)/bin
; \
101 cp
-f config.site
$(NATIVEPREFIX
)/share
/; \
103 $(MAKE
) $$d; done
) && echo
"$@ built successfully"
106 for d in
$(NATIVE
); do
$(MAKE
) -C
$$d distclean; done