1 ### Includes for QT library
4 ### QT library directory
7 ### moc compiler directory
11 INSTALLDIR=/home/andrzej/vlp3binD
13 ### QT Library linking phrase
18 #############################################################################
20 # OBJECTADDR - switch on special process addressing - object simulates
22 # CDBG - turn on debugging of compactifier, compactifier appends to file
23 # 'trace' state of memory before & after the compactification,
24 # also a history of compactification & process number is dumped
25 # RPCDBG - debugging of alien call, all actions : alien call, acknowledges,
26 # passivations and returns are written to stderr
27 # NO_GRAPH - nonstand.c defines only INKEY grom IIUWGRAPH
28 # DLINK - DLINK network version
29 # TCPIP - TCPIP network version - needs also OBJECTADDR
31 # switches depending on environment :
32 # TURBOC - if using BORLAND TURBO-C compiler
33 # MSDOS/OS2/UNIX - choose operating system
34 # USE_CLOCK - scheduler should use clock() function to measure time
35 # USE_ALARM - scheduler should use alarm() function to measure time
36 # WORD_16BIT/DWORD_16BIT/WORD_32BIT - choose memory model :
37 # small 16-bit / large 16-bit / small 32-bit
41 UNIXPARS=-DUNIX -DWORD_32BIT -DUSE_CLOCK -Dpascal=
42 UNIXPARSNG=$(UNIXPARS)
44 #CC=cc $(UNIXPARSNG) -DNO_PROTOTYPES # SUN,HP
45 #CC=rcc $(UNIXPARSNG) -O # SCO - AT&T C compiler
46 #CC=cc -W1 $(UNIXPARSNG) # SCO
47 #CC=cc -W1 $(UNIXPARSNG) -DOBJECTADDR # SCO
48 #CC=cc -W1 $(UNIXPARSNG) -DOBJECTADDR -DTCPIP # SCO TCPIP
49 CC=gcc $(UNIXPARSNG) -DOBJECTADDR -DSYSV -I$(QINC) # GNU C++ TCPIP
50 #CC=cc -W1 $(UNIXPARS) -DSYSV -DXSIGHT # SCO with X11 graphics
51 #CC=gcc -g $(UNIXPARS) -DSYSV -DXSIGHT # SCO GCC with X11 graphics
53 CCc=$(CC) # common version
54 #CCc=$(CC) -Fo$*.o # MSDOS MSC version
58 #############################################################################
59 #ADDOPT = -lsocket # sun
60 ADDOPT = $(QLINK) # Linux
63 OBJ= cint.o compact.o control.o util.o handler.o intdt.o \
64 memory.o object.o runsys.o standard.o \
65 execute.o fileio.o nonstand.o process.o procaddr.o queue.o \
75 # $(CC) $(OBJ) inkeyux.o -lm -lX11 -lmalloc -lsocket -ggdb -o int
76 $(CC) $(OBJ) -lm $(ADDOPT) -o logint
78 # mv int $(HOME)/LOGLAN.PAU/bin
80 nonstand.o : nonstand.c
83 rm -f *.o *.bak logint