mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 03:51:32 +00:00
91 lines
2.8 KiB
Plaintext
Executable File
91 lines
2.8 KiB
Plaintext
Executable File
#
|
|
#
|
|
#************************************************************************/
|
|
#* */
|
|
#* (C) Copyright 1991,8 Venue. All Rights Reserved. */
|
|
#* Manufactured in the United States of America. */
|
|
#* */
|
|
#* The contents of this file are proprietary information */
|
|
#* belonging to Venue, and are provided to you under license. */
|
|
#* They may not be further distributed or disclosed to third */
|
|
#* parties without the specific permission of Venue. */
|
|
#* */
|
|
#************************************************************************/
|
|
|
|
# Options for SPARC under Solaris-2 operating system, X windows.
|
|
|
|
|
|
XFILES = $(OBJECTDIR)xlspwin.o \
|
|
$(OBJECTDIR)xbbt.o \
|
|
$(OBJECTDIR)xmkicon.o \
|
|
$(OBJECTDIR)xrdopt.o \
|
|
$(OBJECTDIR)xscroll.o \
|
|
$(OBJECTDIR)xcursor.o \
|
|
$(OBJECTDIR)xwinman.o \
|
|
$(OBJECTDIR)dspif.o \
|
|
$(OBJECTDIR)kbdif.o \
|
|
$(OBJECTDIR)xinit.o
|
|
|
|
|
|
XVERSION = XV11R4
|
|
XFLAGS = -DXWINDOW -DXV11R4 -I/usr/openwin/include
|
|
|
|
# This is to make the %$#@! Apollo cc happy
|
|
OEXT = .o
|
|
# OPTFLAGS is normally -O2.
|
|
OPTFLAGS = -g
|
|
DISPOPTFLAGS = -g
|
|
|
|
MAIN = main
|
|
|
|
FPFLAGS =
|
|
DFLAGS = -DINIT -DFSERROR -DNEW_STORAGE -DOS5 -DAIX -DUSE_DLPI \
|
|
-DOLD_CURSOR -DLOGINT $(XFLAGS) \
|
|
-DNOPIXRECT -DFORKCOMM -DLOCK_X_UPDATES \
|
|
-I$(OPENWINHOME)/include -DSYSVSIGNALS -DSYSVONLY \
|
|
-DNOVERSION -DRELEASE=350
|
|
LDFLAGS = -R$(OPENWINHOME)/lib -L$(OPENWINHOME)/lib -lX11 -lc -lm -lsocket -lnsl
|
|
LDELDFLAGS = -R$(OPENWINHOME)/lib -L$(OPENWINHOME)/lib -lX11 -lc -lm -lsocket -lnsl
|
|
LDEETHERLDFLAGS = -lc -lm -lsocket -lnsl
|
|
|
|
# SPARC Assemble optimize check
|
|
# DFLAGS:sh += optck.sh ; true
|
|
|
|
#-Dsparc?
|
|
INLINE =
|
|
|
|
DLPIFILES = $(OBJECTDIR)dlpi.o
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
|
|
|
CC = gcc
|
|
#RANLIB = touch
|
|
|
|
|
|
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
|
|
|
# Special rules to create xc.c with GCC
|
|
|
|
#run cpp to expand macros
|
|
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
|
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
|
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
|
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
|
$(INCDIR)arith.h $(INCDIR)stream.h \
|
|
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
|
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
|
$(INCDIR)inln68k.h
|
|
$(CC) -c $(DISPOPTFLAGS) $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
|
|
|
#$(OBJECTDIR)xc.o: $(SRCDIR)xc.i $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
|
# $(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
|
# $(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
|
# $(INCDIR)initatms.h $(INCDIR)gc.h \
|
|
# $(INCDIR)arith.h $(INCDIR)stream.h \
|
|
# $(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
|
# $(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
|
# $(INCDIR)inln68k.h
|
|
# $(CC) -c $(DISPOPTFLAGS) $(SRCDIR)xc.i -o $(OBJECTDIR)xc.o
|
|
|