blob: 9456be5b8ccec9a62e59cb5b90ee0b5a631c4b29 (
plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
include ../../Makedefs
OBJS = long.o getopt.o time.o filepart.o identify.o strtbl.o rtdb.o\
munix.o literals.o rswitch.o alloc.o long.o getopt.o time.o\
xwindow.o ipp.o
common: $(OBJS) gpxmaybe
patchstr: patchstr.c
$(CC) $(CFLAGS) -o patchstr patchstr.c
gpxmaybe:
-if [ "x$(XL)" != "x" ]; then $(MAKE) $(GDIR); fi
xpm:
cd ../xpm; $(MAKE) libXpm.a
cp -p ../xpm/libXpm.a ../../bin/libIgpx.a
wincap:
cd ../wincap; $(MAKE) libWincap.a
cp -u ../wincap/libWincap.a ../../bin/libIgpx.a
$(OBJS): ../h/define.h ../h/arch.h ../h/config.h ../h/cstructs.h \
../h/typedefs.h ../h/mproto.h ../h/cpuconf.h
../h/arch.h: infer.c
$(CC) $(CFLAGS) -o infer infer.c
./infer >../h/arch.h
identify.o: ../h/version.h
ipp.o: ../h/features.h
literals.o: ../h/esctab.h
rtdb.o: ../h/version.h icontype.h
xwindow.o: ../h/graphics.h ../h/xwin.h
# The following section is needed if changes are made to the Icon grammar,
# but it is not run as part of the normal installation process. If it is
# needed, it is run by changing ../icont/Makefile; see the comments there
# for details. icont must be in the search path for this section to work.
gfiles: lextab.h yacctok.h fixgram pscript
lextab.h yacctok.h: tokens.txt op.txt mktoktab
./mktoktab
mktoktab: mktoktab.icn
icont -s mktoktab.icn
fixgram: fixgram.icn
icont -s fixgram.icn
pscript: pscript.icn
icont -s pscript.icn
# The following section is commented out because it does not need to be
# performed unless changes are made to typespec.txt. Such changes
# and are not part of the installation process. However, if the
# distribution files are unloaded in a fashion such that their dates
# are not set properly, the following section would be attempted.
#
# Note that if any changes are made to the file mentioned above, the
# comment characters at the beginning of the following lines should be
# removed.
#
# Note that icont must be on your search path for this.
#
#
#icontype.h: typespec.txt typespec
# typespec <typespec.txt >icontype.h
#
#typespec: typespec.icn
# icont typespec
|