#!/usr/bin/make -f

macros = \
	PREFIX='/usr' \
	LIBPATH='/usr/lib/$(OPK_HOST_ARCH)'

nop:
	@:

build:
	oh-autobuild -- -f makefile.shared $(macros)
	touch $@

install: build
	oh-autoinstall -- -f makefile.shared $(macros)
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libtommath.la
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libtommath.a
	oh-fixperms
	oh-strip
	oh-installfiles