Proof-of-Concept BOAWP client/server implementation in PicoLisp https://boawp.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

36 lines
794 B

# boawp-poc - https://git.boawp.org/boawp/boawp-poc
#
# Makefile for unit and integration tests
PIL_MODULE_DIR ?= .modules
PIL_SYMLINK_DIR ?= .lib
REPO_PREFIX ?= https://git.boawp.org/boawp
# BOAWP
BOAWP_REPO = $(REPO_PREFIX)/picolisp-boawp.git
BOAWP_DIR = $(PIL_MODULE_DIR)/picolisp-boawp/HEAD
BOAWP_REF = prototype
BOAWP_LIB = libpilrust.so
BOAWP_TARGET = .lib/$(BOAWP_LIB)
# Generic
.PHONY: check clean symlink
all: check symlink
$(BOAWP_DIR):
mkdir -p $(BOAWP_DIR) && \
git clone $(BOAWP_REPO) $(BOAWP_DIR) && \
cd $(BOAWP_DIR) && \
git checkout $(BOAWP_REF) && \
$(MAKE) all
symlink:
mkdir -p $(PIL_SYMLINK_DIR) && \
cd $(PIL_SYMLINK_DIR) && \
ln -sf ../$(BOAWP_DIR)/$(BOAWP_TARGET) $(BOAWP_LIB)
check: $(BOAWP_DIR)
clean:
rm -rf $(BOAWP_DIR) $(PIL_SYMLINK_DIR)