Subversion Repositories SvarDOS

Rev

Rev 1661 | Rev 1918 | Go to most recent revision | 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
 
1662 mateusz.vi 12
install.com: keylay.h install.c deflang.c int24hdl.obj
13
	wcl -0 -y -cc -wx -mt -lr -we -d0 -ox install.c deflang.c int24hdl.obj mdr\mdrs2024.lib svarlang.lib\svarlngs.lib
42 mv_fox 14
	upx --8086 -9 install.com
15
 
908 mateusz.vi 16
int24hdl.obj: int24hdl.asm
17
	wasm -0 -mt -wx -we int24hdl.asm
18
 
624 mateuszvis 19
deflang.c:
20
	cd nls
21
	utf8tocp 437 en_utf8.txt > en.txt
1177 mateusz.vi 22
	utf8tocp 850 br_utf8.txt > br.txt
624 mateuszvis 23
	utf8tocp 858 de_utf8.txt > de.txt
24
	utf8tocp 858 fr_utf8.txt > fr.txt
25
	utf8tocp 858 it_utf8.txt > it.txt
26
	utf8tocp maz pl_utf8.txt > pl.txt
27
	utf8tocp 866 ru_utf8.txt > ru.txt
28
	utf8tocp 852 si_utf8.txt > si.txt
29
	utf8tocp 858 sv_utf8.txt > sv.txt
30
	utf8tocp 857 tr_utf8.txt > tr.txt
1209 mateusz.vi 31
	..\svarlang.lib\tlumacz en br de fr it pl ru si sv tr > tlumacz.log
624 mateuszvis 32
	if exist ..\deflang.c del ..\deflang.c
33
	if exist ..\install.lng del ..\install.lng
34
	move deflang.c ..
35
	move out.lng ..\install.lng
36
	del ??.txt
37
	cd ..
38
 
67 mv_fox 39
locales.exe: locales.c
40
	wcl -0 -y -cc -wx -ml -lr -we -d0 -ox locales.c
41
 
42
keylay.h: locales.exe
43
	locales.exe
44
 
42 mv_fox 45
clean: .SYMBOLIC
46
	del install.com
67 mv_fox 47
	del locales.exe
42 mv_fox 48
	del *.obj
624 mateuszvis 49
	del deflang.c
50
	del install.lng