diff options
Diffstat (limited to 'modules/nasb/Makefile')
-rw-r--r-- | modules/nasb/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
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++ + |