Subversion Repositories SvarDOS

Rev

Rev 1918 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
42 mv_fox 1
#
190 mateuszvis 2
# This is a makefile to build the SvarDOS install program
42 mv_fox 3
#
4
# You can use following targets:
5
#
309 mateuszvis 6
#  wmake           - compiles the program
7
#  wmake clean     - cleans up all non-source files
42 mv_fox 8
#
9
 
10
all: install.com
11
 
1918 mateusz.vi 12
install.com: keylay.h install.c deflang.c
1929 mateusz.vi 13
	wcl -0 -y -cc -wx -mt -lr -we -d0 -ox -fm=install.map install.c deflang.c mdr\mdrs2024.lib svarlang.lib\svarlngs.lib
42 mv_fox 14
	upx --8086 -9 install.com
15
 
624 mateuszvis 16
deflang.c:
17
	cd nls
18
	utf8tocp 437 en_utf8.txt > en.txt
1177 mateusz.vi 19
	utf8tocp 850 br_utf8.txt > br.txt
624 mateuszvis 20
	utf8tocp 858 de_utf8.txt > de.txt
21
	utf8tocp 858 fr_utf8.txt > fr.txt
22
	utf8tocp 858 it_utf8.txt > it.txt
23
	utf8tocp maz pl_utf8.txt > pl.txt
24
	utf8tocp 866 ru_utf8.txt > ru.txt
25
	utf8tocp 852 si_utf8.txt > si.txt
26
	utf8tocp 858 sv_utf8.txt > sv.txt
27
	utf8tocp 857 tr_utf8.txt > tr.txt
1209 mateusz.vi 28
	..\svarlang.lib\tlumacz en br de fr it pl ru si sv tr > tlumacz.log
624 mateuszvis 29
	if exist ..\deflang.c del ..\deflang.c
30
	if exist ..\install.lng del ..\install.lng
31
	move deflang.c ..
32
	move out.lng ..\install.lng
33
	del ??.txt
34
	cd ..
35
 
67 mv_fox 36
locales.exe: locales.c
37
	wcl -0 -y -cc -wx -ml -lr -we -d0 -ox locales.c
38
 
39
keylay.h: locales.exe
40
	locales.exe
41
 
42 mv_fox 42
clean: .SYMBOLIC
43
	del install.com
67 mv_fox 44
	del locales.exe
42 mv_fox 45
	del *.obj
624 mateuszvis 46
	del deflang.c
47
	del install.lng