4 #############################################################################
6 # OBJECTADDR - switch on special process addressing - object simulates
8 # CDBG - turn on debugging of compactifier, compactifier appends to file
9 # 'trace' state of memory before & after the compactification,
10 # also a history of compactification & process number is dumped
11 # RPCDBG - debugging of alien call, all actions : alien call, acknowledges,
12 # passivations and returns are written to stderr
13 # NO_GRAPH - nonstand.c defines only INKEY grom IIUWGRAPH
14 # DLINK - DLINK network version
15 # TCPIP - TCPIP network version - needs also OBJECTADDR
17 # switches depending on environment :
18 # TURBOC - if using BORLAND TURBO-C compiler
19 # MSDOS/OS2/UNIX - choose operating system
20 # USE_CLOCK - scheduler should use clock() function to measure time
21 # USE_ALARM - scheduler should use alarm() function to measure time
22 # WORD_16BIT/DWORD_16BIT/WORD_32BIT - choose memory model :
23 # small 16-bit / large 16-bit / small 32-bit
25 # for DLINK use cinta.o ( cinta.asm )
26 # for TCPIP use tcpip.o sock.o
27 # for no network simply leave empty
28 # NETFILE=tcpip.o sock.o
30 #NETFILE=tcpip.o sock.o
33 #CC=gcc -m486 -DDJE -DUSE_CLOCK -DWORD_32BIT -Dpascal=
36 #CC=cl -AL -Olsg -DMSDOS -DDWORD_16BIT # MSDOS 16bit LARGE
37 #CC=cl -AL -Olsg -DMSDOS -DWORD_16BIT # MSDOS 16bit SMALL
39 UNIXPARS=-DUNIX -DWORD_32BIT -DUSE_ALARM -Dpascal=
40 UNIXPARSNG=$(UNIXPARS) -DNO_GRAPH
42 #CC=cc $(UNIXPARSNG) -DNO_PROTOTYPES # SUN,HP
43 #CC=rcc $(UNIXPARSNG) -O # SCO - AT&T C compiler
44 #CC=cc -W1 $(UNIXPARSNG) # SCO
45 #CC=cc -W1 $(UNIXPARSNG) -DOBJECTADDR # SCO
46 #CC=cc -W1 $(UNIXPARSNG) -DOBJECTADDR -DTCPIP # SCO TCPIP
47 CC=gcc $(UNIXPARSNG) -DOBJECTADDR -DSYSV # GNU C++ TCPIP
48 #CC=cc -W1 $(UNIXPARS) -DSYSV -DXSIGHT # SCO with X11 graphics
49 #CC=gcc -g $(UNIXPARS) -DSYSV -DXSIGHT # SCO GCC with X11 graphics
51 CCc=$(CC) # common version
52 #CCc=$(CC) -Fo$*.o # MSDOS MSC version
56 #############################################################################
60 OBJ= cint.o compact.o control.o util.o handler.o intdt.o \
61 memory.o object.o runsys.o standard.o \
62 execute.o fileio.o nonstand.o process.o procaddr.o queue.o \
63 rpcall.o typchk.o $(NETFILE)
70 hgcint.exe: $(OBJ) inkeydos.o graf\lib\hgcmsf4.lib
71 link /e @link.lnk inkeydos.o, hgcint.exe, nul, graf\lib\hgcmsf4, ;
73 egaint.exe: $(OBJ) inkeydos.o graf\lib\egamsf4.lib
74 link /e @link.lnk inkeydos.o, egaint.exe, nul, graf\lib\egamsf4, ;
76 cgaint.exe: $(OBJ) inkeydos.o graf\lib\mgcmsf4.lib
77 link /e @link.lnk inkeydos.o, cgaint.exe, nul, graf\lib\mgcmsf4, ;
79 cga64int.exe: $(OBJ) inkeydos.o graf\lib\mgc64mf4.lib
80 link /e @link.lnk inkeydos.o, cga64int.exe, nul, graf\lib\mgc64mf4, ;
83 $(CC) @link.lnk -lm -lpc -lgrx -o svgaint
87 # move svgaint.exe ..\examp\svgaint.exe
90 # $(CC) $(OBJ) inkeyux.o -lm -lX11 -lmalloc -lsocket -o int
91 $(CC) $(OBJ) inkeyux.o -lm -o int
93 # mv int $(HOME)/LOGLAN.PAU/bin
95 nonstand.o : nonstand.c dosgraf1.c dosgraf2.c os2graf2.c x11graf1.c x11graf2.c svga1.c svga2.c
98 $(CC) herc.c -lX11 -lmalloc -lsocket -o herc