head     1.25;
branch   ;
access   ;
symbols  alpha:1.19 may:1.16;
locks    ; strict;
comment  @# @;


1.25
date     90.07.13.16.20.52;  author mjk;  state Exp;
branches ;
next     1.24;

1.24
date     90.07.11.19.40.51;  author mjk;  state Exp;
branches ;
next     1.23;

1.23
date     90.07.02.12.56.31;  author mjk;  state Exp;
branches ;
next     1.22;

1.22
date     90.06.20.20.17.13;  author petero;  state Exp;
branches ;
next     1.21;

1.21
date     90.06.19.16.31.25;  author sam;  state Exp;
branches ;
next     1.20;

1.20
date     90.06.18.02.04.44;  author mjk;  state Exp;
branches ;
next     1.19;

1.19
date     90.06.13.16.22.25;  author mjk;  state Exp;
branches ;
next     1.18;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


desc
@Makefile for os/xkernel
@


1.25
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:51 $
#    $Revision: 1.24 $
#
#  Makefile - Makefile for os/xkernel
#

#
# $Log:	Makefile,v $
# Revision 1.24  90/07/11  19:40:51  mjk
# chaged to OPTIMIZE and made INCLUDES more save
# 
# Revision 1.23  90/07/02  12:56:31  mjk
# switch to DEBUG, and don't compile authorization files
# 
# Revision 1.22  90/06/20  20:17:13  petero
# took xdmcp.c out of the SRCS list
# 
# Revision 1.21  90/06/19  16:31:25  sam
# *** empty log message ***
# 
# Revision 1.20  90/06/18  02:04:44  mjk
# *** empty log message ***
# 
# Revision 1.19  90/06/13  16:22:25  mjk
# added colorhash.o
# to the OBJS
# 
# Revision 1.18  90/06/13  13:58:16  mjk
# MAJOR CHANGES: now supports OPTIMIZE and DEBUG compiling
# 
# Revision 1.17  90/06/04  15:25:12  mjk
# added shape extension define
# 
# Revision 1.16  90/05/30  20:40:22  mjk
# makes colorhash.c not checkin able - It gets chmod'ed 44
# 4
# 
# Revision 1.15  90/05/30  20:36:17  mjk
# added gperf support for colorhash
# 
# Revision 1.14  90/05/29  14:54:34  mjk
# added xselect.h to the list of HDRS
# 
# Revision 1.13  90/05/27  23:25:01  mjk
# added xdmcp.c to the list of SRCS
# 
# Revision 1.12  90/05/27  21:30:14  mjk
# took out -DXDMCP
# 
# Revision 1.11  90/05/27  13:30:01  mjk
# new SRCS added xtable, xselect, xdemux
# 
# Revision 1.10  90/05/25  06:35:53  mjk
# added nfssupport.h to the list of HDRS
# 
# Revision 1.9  90/05/25  06:26:25  mjk
# added nfssupport to the SRCS
# 
# Revision 1.8  90/05/24  13:29:15  mjk
# added fonttype.c to the list of sources
# 
# Revision 1.7  90/05/21  22:38:57  mjk
# added demux files to SRCS and HDRS
# 
# Revision 1.6  90/05/21  12:51:11  mjk
# f68881 take out
# 
# Revision 1.5  90/05/18  14:53:08  mjk
# INCLUDESRC fixed
# 
# Revision 1.4  90/05/18  11:14:14  mjk
# now uses gnumake
# 
# Revision 1.3  90/05/18  10:40:19  mjk
# new includes added
# for the xkernel
# 
# Revision 1.2  90/05/17  23:48:30  mjk
# syntax error fixed
# 
# Revision 1.1  90/05/17  23:43:45  mjk
# Initial revision
# 
#

HOWTOCOMPILE = OPTIMIZE
HOW = $(HOWTOCOMPILE)

SHELL = /bin/sh

TOP = /brazos/petero/projects/xkernel/xserver/User
CURRENT_DIR = ./User/os/xkernel

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../../.. -I../../../../share -I../../../../protocols -I../../../../sun3
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 = $(CCOPTIONS) $(ALLDEFINES)

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

HDRS =	fonttype.h osdep.h nfssupport.h xselect.h
SRCS =	WaitFor.c access.c connection.c io.c oscolor.c osfonts.c \
	osinit.c utils.c fonttype.c nfssupport.c auth.c xtable.c xdemux.c xselect.c
MISC_SRCS = colorhash.gp

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

INCLUDES = -I. -I../../include $(INCLUDESRC)

.gp.c:
	$(RM) $@@
	gperf -p -t -N what_color -k 1-20,$ $*.gp > $*.c
	chmod 444 $*.c

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

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

all : libos.a

libos.a : $(HDRS) $(OBJS)
	$(RM) $@@
	$(AR) $@@ $(OBJS)
	$(RANLIB) $@@

clean::
	$(RM_CMD) \#*
 
$(SRCS) $(HDRS) $(MISC_SRCS) :
	$(GET) $@@

@


1.24
log
@chaged to OPTIMIZE and made INCLUDES more save
@
text
@d6 2
a7 2
#    $Date: 90/07/02 12:56:31 $
#    $Revision: 1.23 $
d14 3
d113 1
a113 1
STD_DEFINES = -DINCLUDE_ALLOCA_H -DSHAPE
@


1.23
log
@switch to DEBUG, and don't compile authorization files
@
text
@d6 2
a7 2
#    $Date: 90/06/20 20:17:13 $
#    $Revision: 1.22 $
d14 3
d88 1
a88 1
HOWTOCOMPILE = DEBUG
d139 1
a139 1
INCLUDES = -I. -I../../include $(INCLUDESRC) -I../../../../share -I../../../../protocols -I../../../../sun3
@


1.22
log
@took xdmcp.c out of the SRCS list
@
text
@d6 2
a7 2
#    $Date: 90/06/19 16:31:25 $
#    $Revision: 1.21 $
d14 3
d85 1
a85 1
HOWTOCOMPILE = OPTIMIZE
d131 1
a131 2
	osinit.c utils.c fonttype.c nfssupport.c xdemux.c xselect.c \
	xtable.c auth.c
@


1.21
log
@*** empty log message ***
@
text
@d6 2
a7 2
#    $Date: 90/06/18 02:04:44 $
#    $Revision: 1.20 $
d14 3
d129 1
a129 1
	xtable.c xdmcp.c auth.c
@


1.20
log
@*** empty log message ***
@
text
@d6 2
a7 2
#    $Date: 90/06/13 16:22:25 $
#    $Revision: 1.19 $
d14 3
d126 1
a126 1
	xtable.c xdmcp.c
@


1.19
log
@added colorhash.o
to the OBJS
@
text
@d6 2
a7 2
#    $Date: 90/06/13 13:58:16 $
#    $Revision: 1.18 $
d14 4
@


1.18
log
@MAJOR CHANGES: now supports OPTIMIZE and DEBUG compiling
@
text
@d6 2
a7 2
#    $Date: 90/06/04 15:25:12 $
#    $Revision: 1.17 $
d14 3
d122 1
a122 1
OBJS = $(SRCS:%.c=$(HOW)/%.o)
@


1.17
log
@added shape extension define
@
text
@d6 2
a7 2
#    $Date: 90/05/30 20:40:22 $
#    $Revision: 1.16 $
d14 3
d69 3
d99 2
a100 1
CDEBUGFLAGS =
d105 1
a105 1
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
d119 1
a119 1
OBJS = $(SRCS:%.c=%.o) colorhash.o
d128 1
a128 1
.c.o:
d130 5
a134 1
	$(CC) -c $(CFLAGS) $*.c
@


1.16
log
@makes colorhash.c not checkin able - It gets chmod'ed 44
4
@
text
@d6 2
a7 2
#    $Date: 90/05/30 20:36:17 $
#    $Revision: 1.15 $
d14 4
d85 1
a85 1
STD_DEFINES = -DINCLUDE_ALLOCA_H
@


1.15
log
@added gperf support for colorhash
@
text
@d6 2
a7 2
#    $Date: 90/05/29 14:54:34 $
#    $Revision: 1.14 $
d14 3
d115 1
@


1.14
log
@added xselect.h to the list of HDRS
@
text
@d6 2
a7 2
#    $Date: 90/05/27 23:25:01 $
#    $Revision: 1.13 $
d14 3
d103 1
d105 1
a105 1
OBJS = $(SRCS:%.c=%.o)
d109 4
d127 1
a127 1
$(SRCS) $(HDRS) :
@


1.13
log
@added xdmcp.c to the list of SRCS
@
text
@d6 2
a7 2
#    $Date: 90/05/27 21:30:14 $
#    $Revision: 1.12 $
d14 3
d96 1
a96 1
HDRS =	fonttype.h osdep.h nfssupport.h 
@


1.12
log
@took out -DXDMCP
@
text
@d6 2
a7 2
#    $Date: 90/05/27 13:30:01 $
#    $Revision: 1.11 $
d14 3
d96 1
a96 1
	xtable.c
@


1.11
log
@new SRCS added xtable, xselect, xdemux
@
text
@d6 2
a7 2
#    $Date: 90/05/25 06:35:53 $
#    $Revision: 1.10 $
d14 3
d69 1
a69 1
STD_DEFINES = -DXDMCP -DINCLUDE_ALLOCA_H
@


1.10
log
@added nfssupport.h to the list of HDRS
@
text
@d6 2
a7 2
#    $Date: 90/05/25 06:26:25 $
#    $Revision: 1.9 $
d14 3
d87 1
a87 1
HDRS =	fonttype.h osdep.h demux.h nfssupport.h
d89 2
a90 1
	osinit.c utils.c demux.c fonttype.c nfssupport.c
@


1.9
log
@added nfssupport to the SRCS
@
text
@d6 2
a7 2
#    $Date: 90/05/24 13:29:15 $
#    $Revision: 1.8 $
d14 3
d84 1
a84 1
HDRS =	fonttype.h osdep.h demux.h
@


1.8
log
@added fonttype.c to the list of sources
@
text
@d6 2
a7 2
#    $Date: 90/05/21 22:38:57 $
#    $Revision: 1.7 $
d14 3
d83 1
a83 1
	osinit.c utils.c demux.c fonttype.c
@


1.7
log
@added demux files to SRCS and HDRS
@
text
@d6 2
a7 2
#    $Date: 90/05/21 12:51:11 $
#    $Revision: 1.6 $
d14 3
d80 1
a80 1
	osinit.c utils.c demux.c
@


1.6
log
@f68881 take out
@
text
@d6 2
a7 2
#    $Date: 90/05/18 14:53:08 $
#    $Revision: 1.5 $
d14 3
d59 1
a59 1
INCLUDE_XKERNEL = -I../..
a61 2
INCLUDES = -I. -I../mi -I../../include $(INCLUDESRC) 

d75 1
a75 1
HDRS =	fonttype.h osdep.h
d77 1
a77 1
	osinit.c utils.c
d81 1
a81 1
INCLUDES = -I. -I../../include $(INCLUDESRC)
@


1.5
log
@INCLUDESRC fixed
@
text
@d6 2
a7 2
#    $Date: 90/05/18 11:14:14 $
#    $Revision: 1.4 $
d14 3
d62 1
a62 1
CCOPTIONS = -f68881
@


1.4
log
@now uses gnumake
@
text
@d6 2
a7 2
#    $Date: 90/05/18 10:40:19 $
#    $Revision: 1.3 $
d14 3
d56 1
a56 1
INCLUDES = -I. -I../mi -I../../include -I$(INCLUDESRC) 
d77 1
a77 1
INCLUDES = -I. -I../../include -I$(INCLUDESRC)
@


1.3
log
@new includes added
for the xkernel
@
text
@d6 2
a7 2
#    $Date: 90/05/17 23:48:30 $
#    $Revision: 1.2 $
d14 4
d37 1
a37 1
MAKE = make
@


1.2
log
@syntax error fixed
@
text
@d6 2
a7 2
#    $Date: 90/05/17 23:43:45 $
#    $Revision: 1.1 $
d14 3
d45 3
a47 1
INCLUDESRC = $(TOP)/X11
@


1.1
log
@Initial revision
@
text
@d6 2
a7 2
#    $Date$
#    $Revision$
d13 4
a16 1
# $Log$
d82 1
a82 1
        $(GET) $@@
@
