# $Copyright:	$
# Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 
# 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.
#
#	Copyright (c) 1984 AT&T
#	  All Rights Reserved

#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
#	The copyright notice above does not evidence any
#	actual or intended publication of such source code.

#ident	"$Header: makefile 1.5 89/10/23 $@(#)libc-port:makefile	1.17"
#
# makefile for libc/port
#
#
# The macro PROF is null by default, causing profiled object to be maintained.
# If profiled object is not desired, the reassignment PROF=@# should appear in
# the make command line.
#

.SUFFIXES: .p
FPFLAGS=
CC=cc
CFLAGS=-O
PROF=
NONPROF=
DEFLIST=
SDEFLIST=
MAKE=make

all:	prof nonprof 

nonprof:
	$(NONPROF)cd gen; $(MAKE) -e $(IGN) nonprof PROF=@# FPFLAGS=$(FPFLAGS)
	$(NONPROF)cd locale; $(MAKE) -e $(IGN) nonprof PROF=@# FPFLAGS=$(FPFLAGS)
	$(NONPROF)cd print; $(MAKE) -e $(IGN) nonprof PROF=@# FPFLAGS=$(FPFLAGS)
	$(NONPROF)cd stdio; $(MAKE) -e $(IGN) nonprof PROF=@# FPFLAGS=$(FPFLAGS)
	$(NONPROF)cd sys; $(MAKE) -e $(IGN) nonprof PROF=@# FPFLAGS=$(FPFLAGS)
prof:
	$(PROF)cd gen; $(MAKE) -e $(IGN) prof NONPROF=@# FPFLAGS=$(FPFLAGS)
	$(PROF)cd locale; $(MAKE) -e $(IGN) prof NONPROF=@# FPFLAGS=$(FPFLAGS)
	$(PROF)cd print; $(MAKE) -e $(IGN) prof NONPROF=@# FPFLAGS=$(FPFLAGS)
	$(PROF)cd stdio; $(MAKE) -e $(IGN) prof NONPROF=@# FPFLAGS=$(FPFLAGS)
	$(PROF)cd sys; $(MAKE) -e $(IGN) prof NONPROF=@# FPFLAGS=$(FPFLAGS)
	
clean:

clobber: clean
	-rm -f */*.o
	-rm -f */*.p
