#! /usr/bin/make -f

nop:
	@:

configure:
	cd src && ./configure \
		--prefix='/usr' --libdir='$${prefix}/lib/$(OPK_HOST_ARCH)'
	touch $@

build: configure
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	oh-fixperms
	oh-strip
	oh-installfiles

clean:
	oh-autoclean
	rm -f configure build
	rm -Rf *.data

# POSIX.1-2008:                                                                  
#   If the pathname does not begin with a '/' it shall be treated as relative to 
#   the current working directory of the process, not relative to the directory  
#   containing the makefile.
include ../source.mk