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
27 UNIXPARS=-DUNIX -DWORD_32BIT -DUSE_ALARM -Dpascal=
28 UNIXPARSNG=$(UNIXPARS)
30 #CC=cc $(UNIXPARSNG) -DNO_PROTOTYPES # SUN,HP
31 #CC=rcc $(UNIXPARSNG) -O # SCO - AT&T C compiler
32 #CC=cc -W1 $(UNIXPARSNG) # SCO
33 #CC=cc -W1 $(UNIXPARSNG) -DOBJECTADDR # SCO
34 #CC=cc -W1 $(UNIXPARSNG) -DOBJECTADDR -DTCPIP # SCO TCPIP
35 CC=gcc $(UNIXPARSNG) -DOBJECTADDR -DSYSV # GNU C++ TCPIP
36 #CC=cc -W1 $(UNIXPARS) -DSYSV -DXSIGHT # SCO with X11 graphics
37 #CC=gcc -g $(UNIXPARS) -DSYSV -DXSIGHT # SCO GCC with X11 graphics
39 CCc=$(CC) # common version
40 #CCc=$(CC) -Fo$*.o # MSDOS MSC version
44 #############################################################################
45 #ADDOPT = -lsocket # sun
49 OBJ= cint.o compact.o control.o util.o handler.o intdt.o \
50 memory.o object.o runsys.o standard.o \
51 execute.o fileio.o nonstand.o process.o procaddr.o queue.o \
61 # $(CC) $(OBJ) inkeyux.o -lm -lX11 -lmalloc -lsocket -ggdb -o int
62 $(CC) $(OBJ) -lm $(ADDOPT) -o logint
64 # mv int $(HOME)/LOGLAN.PAU/bin
66 nonstand.o : nonstand.c
69 rm -f *.o *.bak logint