summaryrefslogtreecommitdiffstats
path: root/build
blob: 3bf270ba6baad1f35310b8547ca4fa3e502c10f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#! /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 -k
	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