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

include ../source.mk

nop:
	@:

configure:
	TCL_SHLIB_LD_EXTRAS='-Wl,-soname,$${TCL_LIB_FILE}' \
		oh-autoconfigure -s src/unix -- \
		--enable-shared \
		--enable-threads \
		--enable-dll-unloading \
		--disable-rpath \
		--enable-man-symlinks
	touch $@

build: configure
	oh-autobuild -s src/unix
	touch $@

install: build
	oh-autoinstall -s src/unix -- \
		SCRIPT_INSTALL_DIR='$$(INSTALL_ROOT)/usr/share/$(OPK_SOURCE)' \
		MANN_INSTALL_DIR='$$(MAN_INSTALL_DIR)/man3'
	oh-fixperms
	oh-strip
	oh-installfiles