#
# Mach Operating System
# Copyright (c) 1989 Carnegie-Mellon University
# All rights reserved.  The CMU software License Agreement specifies
# the terms and conditions for use and redistribution.
#  
# HISTORY
# $Log:	Makefile,v $
# Revision 1.1  92/04/22  14:44:02  pha
# Initial revision
# 
# Revision 3.6  91/11/15  15:31:14  condict
# Eliminate checking and remaking the obsolete "machine" symbolic links in
# the src tree.  Also, allow the building of just the server or just the
# emulator, with automatic creation of the top-level object dirs.
# 
# Revision 3.5  91/11/07  15:14:58  condict
# Create the emulator and server object directories automatically.
# 
# Revision 3.4  91/09/16  16:06:05  condict
# Delete test directory and files.  Was only needed for minimal servers.
# 
# Revision 3.3  91/08/30  10:23:29  condict
# Add targets to check and/or construct the machine-dependent sym links in
# the source dir tree.  Also, include new Makefile.machine for specifying
# target dependent stuff.
# 
# Revision 3.2  91/02/27  17:03:26  condict
# Change default configuration to STD+WS+second;  Also, add building
# of the new test directory (contains program for testing the server).
# 
# Revision 3.2  91/02/27  16:01:52  condict
# Change default configuration to STD+WS+second
# 
# Revision 3.1  91/01/21  17:23:36  condict
# Add default CONFIG=STD2VICE+WS
# 
# Revision 3.0  91/01/17  12:04:58  condict
# Unchanged copy from Mach 3.0 BSD UNIX server
# 
# Revision 3.0  91/01/17  11:58:52  condict
# Single Server Support File
# 
# Revision 2.3  90/09/09  14:12:37  rpd
# 	Added install : all
# 	[90/08/20            rwd]
# 
# Revision 2.2  89/08/09  14:34:45  rwd
# 	Created
# 	[89/08/06            rwd]
# 

install: all

all:	Server Emulator

Server:	./server
	cd server;		$(MAKE)

Emulator:	./emulator
	cd emulator;		$(MAKE)

clean:	./emulator ./server
	cd server;		$(MAKE) clean
	cd server/src/config;	$(MAKE) clean
	cd emulator;		$(MAKE) clean

./emulator ./server:
	mkdir $@

.EXPORT: CONFIG
