summaryrefslogtreecommitdiffstats
path: root/build
blob: b4d06c8cb0349d6f7a9f199046f17e64a57fa704 (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
#! /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
	oh-shlibdeps

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