head     1.4;
branch   ;
access   ;
symbols  ;
locks    ;
comment  @# @;


1.4
date     91.07.30.11.19.22;  author bruce;  state Exp;
branches ;
next     1.3;

1.3
date     90.12.30.16.54.42;  author bruce;  state Exp;
branches ;
next     1.2;

1.2
date     90.12.30.16.52.59;  author bruce;  state Exp;
branches ;
next     1.1;

1.1
date     90.12.30.16.52.13;  author bruce;  state Exp;
branches ;
next     ;


desc
@Initial revision is as distributed with Dynix Source V3.0.17,
    file dated Mar 27 1987.
Initial revision had RCS ident:
    $Header: Makefile 2.3 87/03/27 $
@


1.4
log
@Added support for those Sys5 strlib routines not in the original;
    source is symlinks to 4.3mtxinu source.
Done primarily for Smail build.
This now includes all Sys5 strlib routines included in DYNIX 3.1 libc.a .
@
text
@# $Copyright:	$
# Copyright (c) 1984, 1985, 1986, 1987 Sequent Computer Systems, Inc.
# All rights reserved
#  
# This software is furnished under a license and may be used
# only in accordance with the terms of that license and with the
# inclusion of the above copyright notice.   This software may not
# be provided or otherwise made available to, or used by, any
# other person.  No title to or ownership of the software is
# hereby transferred.

# $Header: /usr/src/dynix.3.0.17/src/lib/libc/compat-sys5/RCS/Makefile,v 1.3 90/12/30 16:54:42 bruce Exp $
#
FPFLAGS	=
CFLAGS	= -O $(INCLUDE) $(FPFLAGS)
#
OBJS	= getopt.o memccpy.o memchr.o memcmp.o memcpy.o memset.o \
	  strchr.o strcspn.o strpbrk.o strrchr.o strspn.o strtok.o \
	  strcatn.o strcmpn.o strcpyn.o tmpnam.o
SED	= sed -f ../$(MACHINE)/rofix.sed
LIB	= compat-sys5lib compat-sys5lib_p

.c.o:
	$(CC) -SO -p -DPROF $(CFLAGS) -c $*.c | $(SED) | $(AS) -o $*.o && \
	$(LD) -X -r $*.o -o profiled/$*.o && \
	$(CC) -SO    -UPROF $(CFLAGS) -c $*.c | $(SED) | $(AS) -o $*.o && \
	$(LD) -x -r $*.o -o $*.O && mv $*.O $*.o

all		: $(LIB)
$(LIB)		: profiled parallel
		  @@echo "	building profiled $@@" && \
		  cd profiled && $(AR) cru ../compat-sys5lib_p $(OBJS) && \
		  echo "	buiding normal $@@" && \
		  cd .. && $(AR) cru compat-sys5lib $(OBJS)

parallel	:& $(OBJS)
profiled	:; mkdir profiled
clean		:; rm -rf compat-sys5lib compat-sys5lib_p profiled $(OBJS)
@


1.3
log
@Added support for memory(3) routines; source is symlinks to 4.3mtxinu source.
Done primarily for X Window System contrib/windowmgrs/olwm .
@
text
@d12 1
a12 1
# $Header: /usr/src/dynix.3.0.17/src/lib/libc/compat-sys5/RCS/Makefile,v 1.2 90/12/30 16:52:59 bruce Exp $
d18 1
@


1.2
log
@Added getopt.o, so it is built into the standard C libraries,
    ala 4.3BSD, not into -lseq.
Source is symlink to 4.3mtxinu source.
@
text
@d12 1
a12 1
# $Header: /usr/src/dynix.3.0.17/src/lib/libc/compat-sys5/RCS/Makefile,v 1.1 90/12/30 16:52:13 bruce Exp $
d17 2
a18 1
OBJS	= getopt.o strcatn.o strcmpn.o strcpyn.o tmpnam.o
@


1.1
log
@Initial revision
@
text
@d12 1
a12 1
# $Header: Makefile 2.3 87/03/27 $
d17 1
a17 1
OBJS	= strcatn.o strcmpn.o strcpyn.o tmpnam.o
@
