From d025ff01010e5d2ac8cfc9977940367b488e2d65 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Mon, 15 Mar 2021 20:52:45 -0700 Subject: [PATCH] Add makefile fragment for INIT processing for macOS on x86_64 (#371) --- bin/makefile-init-darwin.x86_64 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bin/makefile-init-darwin.x86_64 diff --git a/bin/makefile-init-darwin.x86_64 b/bin/makefile-init-darwin.x86_64 new file mode 100644 index 0000000..322b4a8 --- /dev/null +++ b/bin/makefile-init-darwin.x86_64 @@ -0,0 +1,28 @@ +# Options for MacOS, x86_64 processor, X windows, for INIT processing + +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 = -I/opt/X11/include -DXWINDOW + +# OPTFLAGS is normally -O2. +OPTFLAGS = -O0 -g +DEBUGFLAGS = # -DDEBUG -DOPTRACE +DFLAGS = $(DEBUGFLAGS) $(XFLAGS) -DRELEASE=351 -DNOVERSION -DINIT + +LDFLAGS = -L/opt/X11/lib -lX11 -lm +LDELDFLAGS = -L/opt/X11/lib -lX11 -lm + +OBJECTDIR = ../$(RELEASENAME)/ + +default : ../$(OSARCHNAME)/ldeinit