head     1.18;
branch   ;
access   ;
symbols  alpha:1.15 may:1.13;
locks    ; strict;
comment  @# @;


1.18
date     90.07.13.16.19.16;  author mjk;  state Exp;
branches ;
next     1.17;

1.17
date     90.07.11.19.40.11;  author mjk;  state Exp;
branches ;
next     1.16;

1.16
date     90.06.18.02.04.24;  author mjk;  state Exp;
branches ;
next     1.15;

1.15
date     90.06.13.13.54.12;  author mjk;  state Exp;
branches ;
next     1.14;

1.14
date     90.06.04.15.24.08;  author mjk;  state Exp;
branches ;
next     1.13;

1.13
date     90.06.01.21.11.14;  author mjk;  state Exp;
branches ;
next     1.12;

1.12
date     90.05.29.14.48.55;  author mjk;  state Exp;
branches ;
next     1.11;

1.11
date     90.05.27.21.29.00;  author mjk;  state Exp;
branches ;
next     1.10;

1.10
date     90.05.27.20.43.27;  author mjk;  state Exp;
branches ;
next     1.9;

1.9
date     90.05.21.22.34.31;  author mjk;  state Exp;
branches ;
next     1.8;

1.8
date     90.05.21.17.53.20;  author mjk;  state Exp;
branches ;
next     1.7;

1.7
date     90.05.21.12.53.38;  author mjk;  state Exp;
branches ;
next     1.6;

1.6
date     90.05.21.12.52.16;  author mjk;  state Exp;
branches ;
next     1.5;

1.5
date     90.05.21.12.50.03;  author mjk;  state Exp;
branches ;
next     1.4;

1.4
date     90.05.18.14.55.01;  author mjk;  state Exp;
branches ;
next     1.3;

1.3
date     90.05.18.11.13.44;  author mjk;  state Exp;
branches ;
next     1.2;

1.2
date     90.05.18.10.42.24;  author mjk;  state Exp;
branches ;
next     1.1;

1.1
date     90.05.17.23.01.12;  author mjk;  state Exp;
branches ;
next     ;


desc
@Makefile for ddx/sun
@


1.18
log
@added -DMITMISC
@
text
@
#
#  xserver - a native X11 release 4 server for Sun 3/50's
#    Project Lunchmeat
#    May, 1990
#    $Date: 90/07/11 19:40:11 $
#    $Revision: 1.17 $
#
#  Makefile - Makefile for ddx/sun
#

#
# $Log:	Makefile,v $
# Revision 1.17  90/07/11  19:40:11  mjk
# changed to OPTIMIZE
# 
# Revision 1.16  90/06/18  02:04:24  mjk
# set to DEBUG
# 
# Revision 1.15  90/06/13  13:54:12  mjk
# MAJOR CHANGES: supports DEBUG and OPTIMIZE compiling
# 
# Revision 1.14  90/06/04  15:24:08  mjk
# added shape extension define
# 
# Revision 1.13  90/06/01  21:11:14  mjk
# ../../os/xkernel/osdep.h added to HDRS
# 
# Revision 1.12  90/05/29  14:48:55  mjk
# more -I options added for os and xkernel stuff and ../../os/xkernel/xselect.h
# added to HDRS
# 
# Revision 1.11  90/05/27  21:29:00  mjk
# took out -DXDMCP
# 
# Revision 1.10  90/05/27  20:43:27  mjk
# added sunKeyMap.c to list of SRCS
# 
# Revision 1.9  90/05/21  22:34:31  mjk
# not sure - I think added src files
# 
# Revision 1.8  90/05/21  17:53:20  mjk
# addition of sunKbd.c sunMouse.c etc. to Makefile
# 
# Revision 1.7  90/05/21  12:53:38  mjk
# took out fsoft
# 
# Revision 1.6  90/05/21  12:52:16  mjk
# changed to fsoft
# 
# Revision 1.5  90/05/21  12:50:03  mjk
# f68881 support taken out
# 
# Revision 1.4  90/05/18  14:55:01  mjk
# INCLUDESRC fixes
# 
# Revision 1.3  90/05/18  11:13:44  mjk
# uses gnumake now
# 
# Revision 1.2  90/05/18  10:42:24  mjk
# Xkernel includes added
# 
# Revision 1.1  90/05/17  23:01:12  mjk
# Initial revision
# 
#

HOWTOCOMPILE = OPTIMIZE
HOW = $(HOWTOCOMPILE)

SHELL = /bin/sh

TOP = /brazos/petero/projects/xkernel/xserver/User
CURRENT_DIR = ./User/ddx/sun

OP_INCLUDES = -I$(TOP)

AR = ar cq
CC = cc
GET = co
LN = ln -s
MAKE = /usr/local/gnumake
MV = mv
CP = cp
RANLIB = ranlib
RANLIBINSTFLAGS =
RM = rm -f
STD_INCLUDES =
STD_CPP_DEFINES =
STD_DEFINES = -DINCLUDE_ALLOCA_H -DSHAPE -DMITMISC
EXTRA_LOAD_FLAGS =
EXTRA_LIBRARIES =

INCLUDE_X11 = -I/usr/include/X11
INCLUDE_XKERNEL = -I../.. -I../../os/xkernel -I../../..
INCLUDESRC = $(INCLUDE_X11) $(INCLUDE_XKERNEL)

DEBUGFLAGS =
OPTIMIZEFLAGS = -O2 -DNDEBUG
CCOPTIONS =
ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS)

CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)

RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *%
           
EXT_DEFINES =

HDRS = sun.h ../../os/xkernel/xselect.h ../../os/xkernel/osdep.h
SRCS = sunIo.c sunKbd.c sunBW2.c sunMouse.c sunCursor.c sunInit.c sunKeyMap.c

OBJS = $(SRCS:%.c=$(HOW)/%.o)

INCLUDES = -I. -I../mfb -I../mi -I../../include $(INCLUDESRC) -I../../../../sun3 -I../../../../share

DEBUG/%.o : %.c
	$(RM) $@@
	$(CC) -c $(CFLAGS) $(DEBUGFLAGS) $< -o $@@

OPTIMIZE/%.o : %.c
	$(RM) $@@
	$(CC) -c $(CFLAGS) $(OPTIMIZEFLAGS) $< -o $@@

all : $(HDRS) $(OFILES) libsun.a

libsun.a : $(OBJS)
	$(RM) $@@
	$(AR) $@@ $(OBJS)
	$(RANLIB) $@@

clean::
	$(RM_CMD) \#*

$(SRCS) $(HDRS) :
	$(GET) $@@
@


1.17
log
@changed to OPTIMIZE
@
text
@d6 2
a7 2
#    $Date: 90/06/18 02:04:24 $
#    $Revision: 1.16 $
d14 3
d90 1
a90 1
STD_DEFINES = -DINCLUDE_ALLOCA_H -DSHAPE
@


1.16
log
@set to DEBUG
@
text
@d6 2
a7 2
#    $Date: 90/06/13 13:54:12 $
#    $Revision: 1.15 $
d14 3
d65 1
a65 1
HOWTOCOMPILE = DEBUG
@


1.15
log
@MAJOR CHANGES: supports DEBUG and OPTIMIZE compiling
@
text
@d6 2
a7 2
#    $Date: 90/06/04 15:24:08 $
#    $Revision: 1.14 $
d14 3
d62 1
a62 1
HOWTOCOMPILE = OPTIMIZE
@


1.14
log
@added shape extension define
@
text
@d6 2
a7 2
#    $Date: 90/06/01 21:11:14 $
#    $Revision: 1.13 $
d14 3
d59 3
d89 2
a90 1
CDEBUGFLAGS =
d104 1
a104 1
OBJS = $(SRCS:%.c=%.o)
d108 1
a108 1
.c.o:
d110 5
a114 1
	$(CC) -c $(CFLAGS) $*.c
@


1.13
log
@../../os/xkernel/osdep.h added to HDRS
@
text
@d6 2
a7 2
#    $Date: 90/05/29 14:48:55 $
#    $Revision: 1.12 $
d14 3
d75 1
a75 1
STD_DEFINES = -DINCLUDE_ALLOCA_H
@


1.12
log
@more -I options added for os and xkernel stuff and ../../os/xkernel/xselect.h
added to HDRS
@
text
@d6 2
a7 2
#    $Date: 90/05/27 21:29:00 $
#    $Revision: 1.11 $
d14 4
d91 1
a91 1
HDRS = sun.h ../../os/xkernel/xselect.h
@


1.11
log
@took out -DXDMCP
@
text
@d6 2
a7 2
#    $Date: 90/05/27 20:43:27 $
#    $Revision: 1.10 $
d14 3
d73 1
a73 1
INCLUDE_XKERNEL = -I../..
d87 1
a87 1
HDRS = sun.h
@


1.10
log
@added sunKeyMap.c to list of SRCS
@
text
@d6 2
a7 2
#    $Date: 90/05/21 22:34:31 $
#    $Revision: 1.9 $
d14 3
d65 1
a65 1
STD_DEFINES = -DXDMCP -DINCLUDE_ALLOCA_H
@


1.9
log
@not sure - I think added src files
@
text
@d6 2
a7 2
#    $Date: 90/05/21 17:53:20 $
#    $Revision: 1.8 $
d14 3
d82 1
a82 1
SRCS = sunIo.c sunKbd.c sunBW2.c sunMouse.c sunCursor.c sunInit.c
@


1.8
log
@addition of sunKbd.c sunMouse.c etc. to Makefile
@
text
@d6 2
a7 2
#    $Date: 90/05/21 12:53:38 $
#    $Revision: 1.7 $
d14 3
d79 1
a79 3
SRCS = sunIo.c sunKbd.c sunBW2.c sunMouse.c sunCursor.c

OFILES = sunInit.o
@


1.7
log
@took out fsoft
@
text
@d6 2
a7 2
#    $Date: 90/05/21 12:52:16 $
#    $Revision: 1.6 $
d14 3
a63 2
INCLUDES = -I. -I../mi -I../../include $(INCLUDESRC) 

d76 1
a76 1
SRCS = sunIo.c sunKbd.c
d82 1
a82 1
INCLUDES = -I. -I../mfb -I../mi -I../../include $(INCLUDESRC)
@


1.6
log
@changed to fsoft
@
text
@d6 2
a7 2
#    $Date: 90/05/21 12:50:03 $
#    $Revision: 1.5 $
d14 3
d64 1
a64 1
CCOPTIONS = -fsoft
@


1.5
log
@f68881 support taken out
@
text
@d6 2
a7 2
#    $Date: 90/05/18 14:55:01 $
#    $Revision: 1.4 $
d14 3
d61 1
a61 1
CCOPTIONS =
@


1.4
log
@INCLUDESRC fixes
@
text
@d6 2
a7 2
#    $Date: 90/05/18 11:13:44 $
#    $Revision: 1.3 $
d14 3
d58 1
a58 1
CCOPTIONS = -f68881
@


1.3
log
@uses gnumake now
@
text
@d6 2
a7 2
#    $Date: 90/05/18 10:42:24 $
#    $Revision: 1.2 $
d14 3
d52 1
a52 1
INCLUDES = -I. -I../mi -I../../include -I$(INCLUDESRC) 
d72 1
a72 1
INCLUDES = -I. -I../mfb -I../mi -I../../include -I$(INCLUDESRC)
@


1.2
log
@Xkernel includes added
@
text
@d6 2
a7 2
#    $Date: 90/05/17 23:01:12 $
#    $Revision: 1.1 $
d14 3
d33 1
a33 1
MAKE = make
@


1.1
log
@Initial revision
@
text
@d6 2
a7 2
#    $Date$
#    $Revision$
d13 4
a16 1
# $Log$
d42 3
a44 1
INCLUDESRC = $(TOP)/X11
d55 1
a55 1
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log M
d72 1
a72 1
all : $(OFILES) libsun.a
@
