1 include ..
/..
/Makefile.
include
3 PLATFORM
=$(NATIVEPLATFORM
)
4 DEPS
=..
/..
/Makefile.
include Makefile ..
/..
/download-files.
include
6 APPNAME
=wayland-scanner
9 SOURCE
=$(PROJECTNAME
)-$(VERSION
)
10 ARCHIVE
=$(SOURCE
).
tar.xz
11 SHA512
=c5051aab5ff078b368c196ecfedb33ccd961265bb914845d7ed81de361bb86ae18299575baa6c4eceb0d82cf8b495e8293f31b51d1cbc05d84af0a199ab3f946
12 include ..
/..
/download-files.
include
14 # configuration settings
15 CONFIGURE
=.
/configure
--prefix=$(PREFIX
) --disable-libraries
--disable-documentation
--disable-dtd-validation
17 APP
=$(PLATFORM
)/wayland-scanner
19 all: .installed-
$(PLATFORM
)
22 $(PLATFORM
): $(TARBALLS_LOCATION
)/$(ARCHIVE
).
$(HASH_TYPE
) $(DEPS
)
23 rm -rf
$(PLATFORM
)/*; mkdir
-p
$(PLATFORM
)
24 cd
$(PLATFORM
); $(ARCHIVE_TOOL
) $(ARCHIVE_TOOL_FLAGS
) $(TARBALLS_LOCATION
)/$(ARCHIVE
)
25 cd
$(PLATFORM
); $(CONFIGURE
)
28 $(MAKE
) -C
$(PLATFORM
)
30 .installed-
$(PLATFORM
): $(APP
)
31 $(MAKE
) -C
$(PLATFORM
) install
35 $(MAKE
) -C
$(PLATFORM
) clean
36 rm -f .installed-
$(PLATFORM
)
39 rm -rf
$(PLATFORM
) .installed-
$(PLATFORM
)