Changes in the Makefile.os4 to fully compile

This commit is contained in:
George Sokianos 2023-01-11 00:23:36 +00:00
parent 9098ed0e31
commit 92d3ef3d19
1 changed files with 15 additions and 14 deletions

View File

@ -9,7 +9,8 @@ endif
all: build
init:
git submodule update --init
# git submodule update --init
sh ./autogen.sh
autoreconf --install --force --symlink
build: init
@ -19,16 +20,16 @@ build: init
clean:
@make -f Makefile clean
@rm -rf autom4te.cache .deps
@rm compile config.guess config.log config.status config.sub configure depcomp install-sh libtool ltmain.sh missing test-driver INSTALL Makefile Makefile.in *.m4
@rm config.log config.status configure libtool Makefile Makefile.in *.m4
# release:
# mkdir -p release/local/common/include/hyphen
# mkdir -p release/local/clib2/lib
# mkdir -p release/local/newlib/lib
# make -f Makefile.os4 USE_CLIB2=YES
# cp ./.libs/libhyphen.a ./.libs/libhyphen.la release/local/clib2/lib/
# cp ./*.h release/local/common/include/hyphen/
# make -f Makefile.os4 clean
# make -f Makefile.os4 USE_CLIB2=NO
# cp ./.libs/libhyphen.a ./.libs/libhyphen.la release/local/newlib/lib/
# lha -aeq libhyphen.lha release/
release:
@mkdir -p release/local/common/include
@mkdir -p release/local/clib2/lib
# @mkdir -p release/local/newlib/lib
@make -f Makefile.os4 USE_CLIB2=YES
@cp ./src/.libs/libpsl.a ./src/.libs/libpsl.lai ./src/libpsl.la release/local/clib2/lib/
@cp ./include/libpsl.h release/local/common/include/
# @make -f Makefile.os4 clean
# @make -f Makefile.os4 USE_CLIB2=NO
# @cp ./src/.libs/libpsl.a ./src/.libs/libpsl.lai ./src/libpsl.la release/local/newlib/lib/
@lha -aeq libpsl.lha release/