freebsd makefile and vpkFiles.

This commit is contained in:
Norayr Chilingarian 2022-02-23 03:09:13 +04:00
parent 8762f456a6
commit dd610c89eb
4 changed files with 261 additions and 5 deletions

View file

@ -12,6 +12,7 @@ VIPACK = vipack
all: deps
#git submodule init
#git submodule update
mkdir -p $(build_dir_path)
@ -23,7 +24,7 @@ all: deps
cd $(build_dir_path) && \
$(VOC) -s \
../src/vpkSettings.Mod \
../src/unix/vpkFiles.Mod \
../src/unix/vpkLinuxFiles.Mod \
../src/unix/vpkTime.Mod \
../src/vpkLogger.Mod \
../src/vpkHttp.Mod \
@ -44,10 +45,10 @@ all: deps
deps:
mkdir -p $(mkfile_dir_path)/$(DPS)
cd $(mkfile_dir_path)/$(DPS)
test ! -d Internet && git clone https://github.com/norayr/Internet
test ! -d lists && git clone https://github.com/norayr/lists
test ! -d opts && git clone https://github.com/norayr/opts
test ! -d time && git clone https://github.com/norayr/time
test -d Internet && cd Internet; git pull || git clone https://github.com/norayr/Internet
test -d lists && cd lists; git pull || git clone https://github.com/norayr/lists
test -d opts && cd opts; git pull || git clone https://github.com/norayr/opts
test -d time && cd time; git pull || git clone https://github.com/norayr/time
tests:
mkdir -p $(mkfile_dir_path)/$(BLD)