File: makeemx.bat

package info (click to toggle)
ispell 3.3.02-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 4,444 kB
  • ctags: 2,246
  • sloc: ansic: 10,073; makefile: 1,912; yacc: 1,697; objc: 385; csh: 215; python: 112; perl: 87; sed: 32; sh: 15
file content (57 lines) | stat: -rw-r--r-- 1,224 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
set CC=gcc
set CFLAGS=-O
set REGLIB=-lregexp
set TERMLIB=-ltermcap
set YACC=yacc

copy language\english\msgs.h
copy pc\local.emx local.h
copy config.x config.h
:: goto build
gcc -O -c buildhas.c
gcc -O -c correct.c
gcc -O -c defmt.c
gcc -O -c dump.c
gcc -O -c exp_table.c
gcc -O -c fields.c
gcc -O -c good.c
gcc -O -c hash.c
gcc -O -c icombine.c
gcc -O -c ijoin.c
gcc -O -c ispell.c
gcc -O -c lookup.c
gcc -O -c makedent.c
gcc -O -DUSG -c term.c
gcc -O -c tgood.c
gcc -O -c tree.c
gcc -O -c xgets.c

yacc parse.y
gcc -O -c y_tab.c
move y_tab.o parse.o
del y_tab.c

gcc -O -o buildhas buildhas.o hash.o makedent.o parse.o %LIBES%
emxbind -b buildhas
emxbind -s buildhas.exe

gcc -O -o icombine icombine.o makedent.o parse.o %LIBES%
emxbind -b icombine
emxbind -s icombine.exe

gcc -O -o ijoin ijoin.o fields.o %LIBES%
emxbind -b ijoin
emxbind -s ijoin.exe

:build
ar -q ispell.a term.o ispell.o correct.o defmt.o dump.o exp_table.o fields.o good.o lookup.o hash.o makedent.o tgood.o tree.o xgets.o
gcc -o ispell ispell.a %TERMLIB% %REGLIB% %LIBES%
:: strip ispell
emxbind -b -s ispell
:: because of use of system()
emxbind -a ispell -p
:: goto end


:end
del ispell.a