Subversion Repositories SvarDOS

Rev

Rev 1257 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1257 Rev 1263
Line 1... Line 1...
1
#
1
#
2
# localcfg Makefile for OpenWatcom
2
# localcfg Makefile for OpenWatcom
3
#
3
#
4
 
4
 
5
SVARLANGVER=20230629
-
 
6
 
-
 
7
all: localcfg.com
5
all: localcfg.com
8
 
6
 
9
localcfg.com: localcfg.c country.c deflang.c
7
localcfg.com: localcfg.c country.c deflang.c
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
8
	*wcl -0 -y -cc -wx -mt -lr -zp1 -we -d0 -ox -I=svarlang.lib localcfg.c country.c deflang.c svarlang.lib/svarlngs.lib
11
	del *.obj
9
	del *.obj
12
	upx --8086 -9 localcfg.com
10
	upx --8086 -9 localcfg.com
13
 
11
 
14
deflang.c: nls_lang\*.txt
-
 
15
	cd nls_lang
-
 
16
	utf8tocp 850 br_utf8.txt > br.txt
-
 
17
	utf8tocp 850 de_utf8.txt > de.txt
-
 
18
	utf8tocp 850 fr_utf8.txt > fr.txt
-
 
19
	utf8tocp maz pl_utf8.txt > pl.txt
-
 
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 ..\
-
 
24
	cd ..
-
 
25
 
-
 
26
clean: .SYMBOLIC
12
clean: .SYMBOLIC
27
	del *.obj
13
	del *.obj
28
	del *.com
14
	del *.com
29
	del deflang.c
-
 
30
	del localcfg.lng
-
 
31
 
15
 
32
release: localcfg.com .SYMBOLIC
16
release: localcfg.com .SYMBOLIC
33
	mkdir appinfo
17
	mkdir appinfo
34
	mkdir bin
18
	mkdir bin
35
	mkdir doc
19
	mkdir doc
Line 39... Line 23...
39
	copy localcfg.com bin
23
	copy localcfg.com bin
40
	copy localcfg.lng nls
24
	copy localcfg.lng nls
41
	copy *.txt doc\localcfg
25
	copy *.txt doc\localcfg
42
	if exist localcfg.zip del localcfg.zip
26
	if exist localcfg.zip del localcfg.zip
43
	zip -9rkDX -m localcfg.svp appinfo bin doc nls
27
	zip -9rkDX -m localcfg.svp appinfo bin doc nls
44
	zip -9rkDX localcfg.zip *.txt *.c *.h makefile svarlang.lib\tags\$SVARLANGVER nls_lang
28
	zip -9rkDX localcfg.zip *.txt *.c *.h makefile svarlang.lib nls_lang
45
	rmdir appinfo
29
	rmdir appinfo
46
	rmdir bin
30
	rmdir bin
47
	rmdir doc\localcfg
31
	rmdir doc\localcfg
48
	rmdir doc
32
	rmdir doc
49
	rmdir nls
33
	rmdir nls