mirror of
https://github.com/strongswan/strongswan.git
synced 2025-11-13 00:00:38 -05:00
The tkm scenarios recently failed due to a segmentation fault on my host because I had an old build of the tkm library already built in the build directory. Because the stamp file was not versioned the new release was never checked out or built and charon-tkm was linked against the old version causing a segmentation fault during key derivation.
24 lines
437 B
Makefile
24 lines
437 B
Makefile
#!/usr/bin/make
|
|
|
|
PKG = anet
|
|
SRC = http://git.codelabs.ch/git/$(PKG).git
|
|
REV = v0.2.2
|
|
|
|
PREFIX = /usr/local/ada
|
|
|
|
all: install
|
|
|
|
$(PKG):
|
|
git clone $(SRC) $(PKG)
|
|
|
|
.$(PKG)-cloned-$(REV): $(PKG)
|
|
cd $(PKG) && git fetch && git checkout $(REV)
|
|
@touch $@
|
|
|
|
.$(PKG)-built-$(REV): .$(PKG)-cloned-$(REV)
|
|
cd $(PKG) && make LIBRARY_KIND=static
|
|
@touch $@
|
|
|
|
install: .$(PKG)-built-$(REV)
|
|
cd $(PKG) && make PREFIX=$(PREFIX) LIBRARY_KIND=static install
|