Subversion Repositories SvarDOS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
585 mateuszvis 1
#
587 mateuszvis 2
# localcfg Makefile for OpenWatcom
585 mateuszvis 3
#
4
 
1257 mateusz.vi 5
SVARLANGVER=20230629
1191 mateusz.vi 6
 
585 mateuszvis 7
all: localcfg.com
8
 
603 mateuszvis 9
localcfg.com: localcfg.c country.c deflang.c
1191 mateusz.vi 10
	*wcl -0 -y -cc -wx -mt -lr -zp1 -we -d0 -ox -I=svarlang.lib\tags\$SVARLANGVER localcfg.c country.c deflang.c svarlang.lib/tags/$SVARLANGVER/svarlngs.lib
605 mateuszvis 11
	del *.obj
585 mateuszvis 12
	upx --8086 -9 localcfg.com
13
 
603 mateuszvis 14
deflang.c: nls_lang\*.txt
15
	cd nls_lang
1191 mateusz.vi 16
	utf8tocp 850 br_utf8.txt > br.txt
979 bttr 17
	utf8tocp 850 de_utf8.txt > de.txt
1257 mateusz.vi 18
	utf8tocp 850 fr_utf8.txt > fr.txt
603 mateuszvis 19
	utf8tocp maz pl_utf8.txt > pl.txt
1257 mateusz.vi 20
	utf8tocp 857 tr_utf8.txt > tr.txt
21
	..\svarlang.lib\tags\$SVARLANGVER\tlumacz en br de fr pl tr > tlumacz.log
22
	move /y out.lng ..\localcfg.lng
23
	move /y deflang.c ..\
603 mateuszvis 24
	cd ..
25
 
587 mateuszvis 26
clean: .SYMBOLIC
585 mateuszvis 27
	del *.obj
28
	del *.com
605 mateuszvis 29
	del deflang.c
30
	del localcfg.lng
585 mateuszvis 31
 
1191 mateusz.vi 32
release: localcfg.com .SYMBOLIC
585 mateuszvis 33
	mkdir appinfo
587 mateuszvis 34
	mkdir bin
35
	mkdir doc
605 mateuszvis 36
	mkdir doc\localcfg
603 mateuszvis 37
	mkdir nls
585 mateuszvis 38
	copy localcfg.lsm appinfo
587 mateuszvis 39
	copy localcfg.com bin
603 mateuszvis 40
	copy localcfg.lng nls
605 mateuszvis 41
	copy *.txt doc\localcfg
612 mateuszvis 42
	if exist localcfg.zip del localcfg.zip
1191 mateusz.vi 43
	zip -9rkDX -m localcfg.svp appinfo bin doc nls
44
	zip -9rkDX localcfg.zip *.txt *.c *.h makefile svarlang.lib\tags\$SVARLANGVER nls_lang
587 mateuszvis 45
	rmdir appinfo
46
	rmdir bin
609 mateuszvis 47
	rmdir doc\localcfg
587 mateuszvis 48
	rmdir doc
603 mateuszvis 49
	rmdir nls