head     1.6;
branch   ;
access   ;
symbols  alpha:1.5 may:1.3;
locks    ; strict;
comment  @# @;


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

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

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

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

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

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


desc
@not sure - probably f68881 support dropped
@


1.6
log
@added -DMITMISC
@
text
@
#
#  xserver - a native X11 release 4 server for Sun 3/50's
#    Project Lunchmeat
#    May, 1990
#    $Date: 90/06/13 13:55:44 $
#    $Revision: 1.5 $
#
#  Makefile - Makefile for xserver/User
#

#
# $Log:	Makefile,v $
# Revision 1.5  90/06/13  13:55:44  mjk
# MAJOR CHANGES: now supports OPTIMIZE and DEBUG compiling
# 
#

HOWTOCOMPILE = OPTIMIZE
HOW = $(HOWTOCOMPILE)

SHELL = /bin/sh

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

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../..
INCLUDESRC = $(INCLUDE_X11) $(INCLUDE_XKERNEL)

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

DEBUGFLAGS =
OPTIMIZEFLAGS = -O4 -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 =

SRCS = snffonts.c
HDRS = snfstruct.h

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

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

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

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

all : $(HDRS) libsnf.a

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

clean::
	$(RM_CMD) \#*

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


1.5
log
@MAJOR CHANGES: now supports OPTIMIZE and DEBUG compiling
@
text
@d6 2
a7 2
#    $Date$
#    $Revision$
d13 4
a16 1
# $Log$
d41 1
a41 1
STD_DEFINES = -DINCLUDE_ALLOCA_H -DSHAPE
d52 1
a52 1
OPTIMIZEFLAGS = -O2 -DNDEBUG
@


1.4
log
@added shape extension define
@
text
@d2 17
d48 2
a49 1
CDEBUGFLAGS =
d63 1
a63 1
OBJS = $(SRCS:%.c=%.o)
d67 1
a67 1
.c.o:
d69 5
a73 1
	$(CC) -c $(CFLAGS) $*.c
@


1.3
log
@took out XDMCP
@
text
@d21 1
a21 1
STD_DEFINES = -DINCLUDE_ALLOCA_H
@


1.2
log
@added RCS support
and header retrieval
@
text
@d21 1
a21 1
STD_DEFINES = -DXDMCP -DINCLUDE_ALLOCA_H
@


1.1
log
@Initial revision
@
text
@d11 1
d43 1
d53 1
a53 1
all : libsnf.a
d62 3
@
