#!/usr/bin/make -f include ../source.mk TCL_V = $$(sed -n 's/Tcl-Version: //p' ../substvars) SONAME = libexpect.so.$(OPK_SOURCE_VERSION_UPSTREAM) nop: @: configure: # Temporary hack for bootstrap on Debian. tcl="/usr/lib/$(OPK_HOST_ARCH)/tcl$(TCL_V)"; \ [ -f /etc/debian_version ] && tcl="/usr/lib/tcl$(TCL_V)"; \ oh-autoconfigure -- \ --enable-shared \ --enable-threads \ --disable-rpath \ --with-tcl="$${tcl}" touch $@ build: configure oh-autobuild -- \ LDFLAGS_DEFAULT='-Wl,--export-dynamic -Wl,-soname=$(SONAME)' touch $@ install: build oh-autoinstall oh-fixperms oh-strip oh-installfiles