#	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	"@(#)kern-port:unix.mk	10.11	1.3 (Fairchild) 7/19/86"

ROOT = 
INCRT=/usr/src/uts/clipper

NODE = kernel
REL = 
VER = 
NAME = $(NODE)$(VER)

INSDIR=.
DASHG = -ga
DASHO = 
CFLAGS= $(DASHO) $(DASHG) -I$(INCRT) -Dpm300 -Dopus -DSVR3 -DINKERNEL -DREM $(MORECPP)
FRC =

all:FRC
	cd ml; $(MAKE) "FRC=$(FRC)" "DASHG=$(DASHG)" "DASHO=$(DASHO)" "MORECPP=$(MORECPP)"; \
	cd ../os; $(MAKE) "FRC=$(FRC)" "DASHG=$(DASHG)" "DASHO=$(DASHO)" "MORECPP=$(MORECPP)"; \
	cd ../fs; $(MAKE) "FRC=$(FRC)" "DASHG=$(DASHG)" "DASHO=$(DASHO)" "MORECPP=$(MORECPP)"; \
	cd ../ether; $(MAKE) "FRC=$(FRC)" "DASHG=$(DASHG)" "DASHO=$(DASHO)" "MORECPP=$(MORECPP)" ; \
	cd ../nudnix; $(MAKE) "FRC=$(FRC)" "DASHG=$(DASHG)" "DASHO=$(DASHO)" "MORECPP=$(MORECPP)" ; \
	cd ../debug; $(MAKE) "FRC=$(FRC)" "DASHG=$(DASHG)" "DASHO=$(DASHO)" "MORECPP=$(MORECPP)" ; \
	cd ../io; $(MAKE) "FRC=$(FRC)" "DASHG=$(DASHG)" "DASHO=$(DASHO)" "MORECPP=$(MORECPP)" ; \
	cd ../cf; $(MAKE) "FRC=$(FRC)" "DASHG=$(DASHG)" "DASHO=$(DASHO)" 

install:
	all
	mcs -d cf/unix
	cpset cf/unix / 

clean:
	-cd ml; rm -f *.o 
	-cd os; rm -f *.o 
	-cd io; rm -f *.o 
	-cd ether; rm -f *.o 
	-cd nudnix; rm -f *.o 
	-cd debug; rm -f *.o 
	-cd io; rm -f *.o 
	-cd fs/s5; rm -f *.o 
	-cd fs/du; rm -f *.o 
	-cd fs/nfs; rm -f *.o 
	-cd cf; rm -f *.o

clobber: clean
	-cd cf; rm -f lib.* unix


FRC:
