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
 
5
all: localcfg.com
6
 
603 mateuszvis 7
localcfg.com: localcfg.c country.c deflang.c
8
	wcl -0 -y -cc -wx -mt -lr -zp1 -we -d0 -ox localcfg.c country.c deflang.c svarlang.lib/svarlngs.lib
605 mateuszvis 9
	del *.obj
585 mateuszvis 10
	upx --8086 -9 localcfg.com
11
 
603 mateuszvis 12
deflang.c: nls_lang\*.txt
13
	cd nls_lang
14
	utf8tocp maz pl_utf8.txt > pl.txt
15
	..\svarlang.lib\tlumacz en pl
16
	move out.lng ..\localcfg.lng
17
	move deflang.c ..\
18
	cd ..
19
 
587 mateuszvis 20
clean: .SYMBOLIC
585 mateuszvis 21
	del *.obj
22
	del *.com
605 mateuszvis 23
	del deflang.c
24
	del localcfg.lng
585 mateuszvis 25
 
609 mateuszvis 26
buildpkg: localcfg.com .SYMBOLIC
585 mateuszvis 27
	mkdir appinfo
28
	mkdir source
29
	mkdir source\localcfg
603 mateuszvis 30
	mkdir source\localcfg\nls_lang
605 mateuszvis 31
	mkdir source\localcfg\svarlang.lib
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 svarlang.lib\*.* source\localcfg\svarlang.lib
40
	del source\localcfg\svarlang.lib\*.lib
41
	del source\localcfg\svarlang.lib\*.exe
42
	copy *.txt doc\localcfg
585 mateuszvis 43
	copy *.c source\localcfg
44
	copy *.h source\localcfg
45
	copy *.txt source\localcfg
587 mateuszvis 46
	copy makefile source\localcfg
603 mateuszvis 47
	copy nls_lang\*.* source\localcfg\nls_lang
612 mateuszvis 48
	if exist localcfg.zip del localcfg.zip
603 mateuszvis 49
	zip -9rkDX -m localcfg.zip appinfo bin doc nls source
587 mateuszvis 50
	rmdir appinfo
605 mateuszvis 51
	rmdir source\localcfg\svarlang.lib
52
	rmdir source\localcfg\nls_lang
587 mateuszvis 53
	rmdir source\localcfg
54
	rmdir source
55
	rmdir bin
609 mateuszvis 56
	rmdir doc\localcfg
587 mateuszvis 57
	rmdir doc
603 mateuszvis 58
	rmdir nls