# 
# Mach Operating System
# Copyright (c) 1991 Carnegie Mellon University
# All Rights Reserved.
# 
# Permission to use, copy, modify and distribute this software and its
# documentation is hereby granted, provided that both the copyright
# notice and this permission notice appear in all copies of the
# software, derivative works or modified versions, and any portions
# thereof, and that both notices appear in supporting documentation.
# 
# CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
# CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
# ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
# 
# Carnegie Mellon requests users of this software to return to
# 
#  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
#  School of Computer Science
#  Carnegie Mellon University
#  Pittsburgh PA 15213-3890
# 
# any improvements or extensions that they make and grant Carnegie the
# rights to redistribute these changes.
# 
# HISTORY
# $Log:	Makefile,v $
# Revision 2.4  92/01/22  22:53:17  rpd
# 	Revised for new Makefile organization.
# 	[92/01/17            rpd]
# 

include $(MAKETOP)Makefile-common

# mig rules

PROXY_SRCS = proxy.h proxy_user.c proxy_server.c

${PROXY_SRCS} : proxy.defs
	${MIG} ${MIGFLAGS} -user proxy_user.c -server proxy_server.c proxy.defs

XMM_NET_SRCS = xmm_net.h xmm_net_user.c xmm_net_server.c

${XMM_NET_SRCS} : xmm_net.defs
	${MIG} ${MIGFLAGS} -user xmm_net_user.c -server xmm_net_server.c xmm_net.defs

MEMORY_OBJECT_SRCS = memory_object.h memory_object_user.c memory_object_server.c

${MEMORY_OBJECT_SRCS} : memory_object.defs
	${MIG} ${MIGFLAGS} -user memory_object_user.c -server memory_object_server.c memory_object.defs

# use Makefile-lib for most of the rules

LIBRARY = libxmm.a

OBJECTS = atrium.o hash.o kalloc.o memory_object_server.o \
	memory_object_user.o mig_loop.o net_bsdtcp.o net_bsdudp.o \
	proxy.o proxy_server.o vm_dirty.o xmm.o xmm_buffer.o xmm_copy.o \
	xmm_debug.o xmm_flush.o xmm_interpose.o xmm_invalid.o \
	xmm_luser.o xmm_maycache.o xmm_multiplex.o xmm_net.o \
	xmm_net_server.o xmm_net_user.o xmm_pagingfile.o xmm_split.o \
	xmm_svm.o xmm_vm.o xmm_write.o xmm_zero.o zalloc.o

include ${MAKETOP}Makefile-lib
-include Makedep
