summaryrefslogtreecommitdiffstats
path: root/build
blob: 276daab73e9ed593ba747e28c5eabf3f02a24adf (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
#! /usr/bin/make -f

nop:
	@:

configure:
	oh-autoconfigure
	touch $@

build: configure
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	rm -f 'dest/usr/lib/$(OPK_HOST_ARCH)/libexpat.a'
	rm -f 'dest/usr/lib/$(OPK_HOST_ARCH)/libexpat.la'
	rm -f dest/usr/share/doc/expat/*
	oh-fixperms
	oh-strip -k
	oh-installfiles

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