mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-18 17:07:24 +00:00
* Lock X updates for all systems and lock around X cleanup at exit All systems which could generate I/O interrupts on the X file descriptor need to have locking enabled, or there is a high probability that the X library will deadlock. This requirement may be removed in the future with restructuring of the way that the interrupt driven I/O is handled. Ensure that the appropriate XLOCK/XUNLOCK is done around the X window closing code. * Also lock X updates when building with CMake.
30 lines
726 B
Plaintext
30 lines
726 B
Plaintext
# Options for Linux, x86 processor, X windows, for INIT processing
|
|
|
|
#CC = gcc -m64 $(GCC_CFLAGS)
|
|
CC = clang -m64 $(CLANG_CFLAGS)
|
|
|
|
XFILES = $(OBJECTDIR)xmkicon.o \
|
|
$(OBJECTDIR)xbbt.o \
|
|
$(OBJECTDIR)dspif.o \
|
|
$(OBJECTDIR)xinit.o \
|
|
$(OBJECTDIR)xscroll.o \
|
|
$(OBJECTDIR)xcursor.o \
|
|
$(OBJECTDIR)xlspwin.o \
|
|
$(OBJECTDIR)xrdopt.o \
|
|
$(OBJECTDIR)xwinman.o
|
|
|
|
|
|
XFLAGS = -DXWINDOW -DLOCK_X_UPDATES
|
|
|
|
# OPTFLAGS is normally -O2, for INIT we want unoptimized in case we need to debug it
|
|
OPTFLAGS = -O0 -g
|
|
DEBUGFLAGS =
|
|
DFLAGS = $(DEBUGFLAGS) $(XFLAGS) -DRELEASE=351 -DNOVERSION -DINIT
|
|
|
|
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
|
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/ldeinit
|