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
 
1191 mateusz.vi 5
SVARLANGVER=20220314
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
603 mateuszvis 18
	utf8tocp maz pl_utf8.txt > pl.txt
1191 mateusz.vi 19
	..\svarlang.lib\tags\$SVARLANGVER\tlumacz en br de pl > tlumacz.log
603 mateuszvis 20
	move out.lng ..\localcfg.lng
21
	move deflang.c ..\
22
	cd ..
23
 
587 mateuszvis 24
clean: .SYMBOLIC
585 mateuszvis 25
	del *.obj
26
	del *.com
605 mateuszvis 27
	del deflang.c
28
	del localcfg.lng
585 mateuszvis 29
 
1191 mateusz.vi 30
release: localcfg.com .SYMBOLIC
585 mateuszvis 31
	mkdir appinfo
587 mateuszvis 32
	mkdir bin
33
	mkdir doc
605 mateuszvis 34
	mkdir doc\localcfg
603 mateuszvis 35
	mkdir nls
585 mateuszvis 36
	copy localcfg.lsm appinfo
587 mateuszvis 37
	copy localcfg.com bin
603 mateuszvis 38
	copy localcfg.lng nls
605 mateuszvis 39
	copy *.txt doc\localcfg
612 mateuszvis 40
	if exist localcfg.zip del localcfg.zip
1191 mateusz.vi 41
	zip -9rkDX -m localcfg.svp appinfo bin doc nls
42
	zip -9rkDX localcfg.zip *.txt *.c *.h makefile svarlang.lib\tags\$SVARLANGVER nls_lang
587 mateuszvis 43
	rmdir appinfo
44
	rmdir bin
609 mateuszvis 45
	rmdir doc\localcfg
587 mateuszvis 46
	rmdir doc
603 mateuszvis 47
	rmdir nls