From 2b5099d4436a569958d133cc3c7c5ab504500697 Mon Sep 17 00:00:00 2001 From: "Troy A. Griffitts" Date: Sat, 27 Mar 2021 21:16:07 +0000 Subject: Added NASB build git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@538 07627401-56e2-0310-80f4-f8cd0041bdcd --- modules/nasb/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 modules/nasb/Makefile (limited to 'modules/nasb/Makefile') diff --git a/modules/nasb/Makefile b/modules/nasb/Makefile new file mode 100644 index 0000000..fd117fe --- /dev/null +++ b/modules/nasb/Makefile @@ -0,0 +1,36 @@ +#CIPHERKEY=1234-abcd-9876 +#CIPHERKEY=nasb123 +all: NASB.zip + +NASB.zip: modules/texts/ztext/nasb/ot.bzv + zip -r NASB.zip mods.d modules + +modules/texts/ztext/nasb/ot.bzv: nasb.osis.xml + mkdir -p modules/texts/ztext/nasb + osis2mod modules/texts/ztext/nasb/ nasb.osis.xml -z z -b 4 #-c ${CIPHERKEY} + chmod a+r modules/texts/ztext/nasb/* + +nasb-lockman-src.zip: + scp scribe@host.crosswire.org:~swordmod/pristine-private/nasb/nasb.zip nasb-lockman-src.zip + +nasb.txt: nasb-lockman-src.zip + unzip nasb-lockman-src.zip + mv "nasb cross refs.txt" nasb_ref.txt + +nasb.osis.xml: nasb.txt lockosis + ./lockosis nasb.txt nasb_ref.txt > nasb.osis.xml + +deploy: NASB.zip + scp NASB.zip scribe@host.crosswire.org:/home/ftp/pub/sword/lockmanpackages/ + +clean: + rm -rf nasb.osis.xml *.o lockosis modules NASB.zip nasb_ref.txt "nasb cross refs.txt" nasbinfo.txt codenc.txt FRONT95.txt "nasb(c).txt" nasb.txt + +distclean: clean + rm -rf nasb-lockman-src.zip + +.cpp: + g++ -O0 -g -DHAVESWORD -Wall -Werror `pkg-config --cflags sword` $< -o $@ `pkg-config --libs sword` +.c: + gcc -O0 -g -DHAVESWORD -Wall -Werror `pkg-config --cflags sword` $< -o $@ `pkg-config --libs sword` -lstdc++ + -- cgit