summaryrefslogtreecommitdiffstats
path: root/build
blob: 09707cae2a6c61b388cd6e2a9b972618f69c0601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

include ../source.mk

nop:
	@:

build:
	CFLAGS='$(CFLAGS) -DLTM_DESC -DUSE_LTM' \
		EXTRALIBS='-ltommath' \
		oh-autobuild -- -f makefile.shared
	touch $@

install: build
	oh-autoinstall -- -f makefile.shared \
		LIBPATH='/usr/lib/$(OPK_HOST_ARCH)' \
		INSTALL_GROUP=0
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libtomcrypt*.la
	oh-fixperms
	oh-strip
	oh-installfiles