mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-28 01:15:51 +00:00
The default targets differ depending on the display type and whether networking is configured in or not, so it's more appropriate in the individual fragments
59 lines
1.5 KiB
Plaintext
59 lines
1.5 KiB
Plaintext
# Options for SOlaris 2.x, SPARC and X-Window
|
|
|
|
# $Id: makefile-sunos5.sparc-x,v 1.7 2001/12/26 22:17:10 sybalsky Exp $ #
|
|
|
|
#************************************************************************/
|
|
#* */
|
|
#* (C) Copyright 1989, 1990, 1990, 1991, */
|
|
#* 1992, 1993, 1994, 1996, */
|
|
#* 1999 */
|
|
#* Venue. All Rights Reserved. */
|
|
#* Manufactured in the United States of America. */
|
|
#* */
|
|
#************************************************************************/
|
|
|
|
# Setup for using gcc
|
|
# CC = gcc $(GCC_CFLAGS)
|
|
# Setup for using Solaris Developer Studio 12.6 cc
|
|
# CC = cc -m32 $(DEVSTUDIO_CFLAGS)
|
|
|
|
CC = cc -m32 $(DEVSTUDIO_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
|
|
|
|
# OPTFLAGS is normally -O2.
|
|
OPTFLAGS = -O2 -g3
|
|
|
|
# Set any debugging options in DEBUGFLAGS. E.g., to enable stack
|
|
# checking, use -DSTACKCHECK; to enable the fn-call-time stack
|
|
# check, use -DFNSTKCHECK.
|
|
|
|
DEBUGFLAGS = # -DSTACKCHECK -DFNSTKCHECK
|
|
|
|
MACHINEFLAGS = -DOS5 -DUSE_DLPI -DLOCK_X_UPDATES
|
|
|
|
DFLAGS = $(XFLAGS) \
|
|
$(DEBUGFLAGS) \
|
|
$(MACHINEFLAGS) \
|
|
-DRELEASE=351
|
|
|
|
LDFLAGS = -lX11 -lc -lm -lsocket -lnsl
|
|
LDELDFLAGS = -lX11 -lc -lm -lsocket -lnsl
|
|
LDEETHERLDFLAGS = -lc -lm -lsocket -lnsl
|
|
|
|
DLPIFILES = $(OBJECTDIR)dlpi.o
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default: ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether ../$(OSARCHNAME)/ldex
|