2,18 → 2,21 |
# localcfg Makefile for OpenWatcom |
# |
|
SVARLANGVER=20220314 |
|
all: localcfg.com |
|
localcfg.com: localcfg.c country.c deflang.c |
wcl -0 -y -cc -wx -mt -lr -zp1 -we -d0 -ox localcfg.c country.c deflang.c svarlang.lib/svarlngs.lib |
*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 |
del *.obj |
upx --8086 -9 localcfg.com |
|
deflang.c: nls_lang\*.txt |
cd nls_lang |
utf8tocp 850 br_utf8.txt > br.txt |
utf8tocp 850 de_utf8.txt > de.txt |
utf8tocp maz pl_utf8.txt > pl.txt |
..\svarlang.lib\tlumacz en de pl |
..\svarlang.lib\tags\$SVARLANGVER\tlumacz en br de pl > tlumacz.log |
move out.lng ..\localcfg.lng |
move deflang.c ..\ |
cd .. |
24,12 → 27,8 |
del deflang.c |
del localcfg.lng |
|
buildpkg: localcfg.com .SYMBOLIC |
release: localcfg.com .SYMBOLIC |
mkdir appinfo |
mkdir source |
mkdir source\localcfg |
mkdir source\localcfg\nls_lang |
mkdir source\localcfg\svarlang.lib |
mkdir bin |
mkdir doc |
mkdir doc\localcfg |
37,22 → 36,11 |
copy localcfg.lsm appinfo |
copy localcfg.com bin |
copy localcfg.lng nls |
copy svarlang.lib\*.* source\localcfg\svarlang.lib |
del source\localcfg\svarlang.lib\*.lib |
del source\localcfg\svarlang.lib\*.exe |
copy *.txt doc\localcfg |
copy *.c source\localcfg |
copy *.h source\localcfg |
copy *.txt source\localcfg |
copy makefile source\localcfg |
copy nls_lang\*.* source\localcfg\nls_lang |
if exist localcfg.zip del localcfg.zip |
zip -9rkDX -m localcfg.zip appinfo bin doc nls source |
zip -9rkDX -m localcfg.svp appinfo bin doc nls |
zip -9rkDX localcfg.zip *.txt *.c *.h makefile svarlang.lib\tags\$SVARLANGVER nls_lang |
rmdir appinfo |
rmdir source\localcfg\svarlang.lib |
rmdir source\localcfg\nls_lang |
rmdir source\localcfg |
rmdir source |
rmdir bin |
rmdir doc\localcfg |
rmdir doc |