kolibrios/contrib/sdk/sources/vaapi/libva-1.4.1/debian.upstream/rules
Sergey Semyonov (Serge) 2b176970b5 sdk: build libva
git-svn-id: svn://kolibrios.org@5362 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-07 21:25:58 +00:00

15 lines
384 B
Makefile

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/utils.mk
# Allow SMP build
ifeq ($(DEBIAN_BUILD_NCPUS),)
DEBIAN_BUILD_NCPUS = $(shell /usr/bin/getconf _NPROCESSORS_ONLN)
endif
ifneq ($(DEBIAN_BUILD_NCPUS),)
EXTRA_MAKE_FLAGS += -j$(DEBIAN_BUILD_NCPUS)
endif
MAKE += $(EXTRA_MAKE_FLAGS)