# 
# Makefile for shared library functions
#
# x-kernel v3.1	12/10/90
#
# Copyright (C) 1990  Larry L. Peterson and Norman C. Hutchinson
#

#
#   ("make" is run in  the "vax" or "sun" subdirectory, not here.)

# 
# These CFLAGS are appropriate for simulators.  sun3 standalone passes
# in its own CFLAGS which override these.  In particular, sun3 needs 
# ../../mi and ../../sun3, but the simulators shouldn't use these.
# menze/cjt  4/24/91
# 
# sunos replaced simul directory
#

CFLAGS = -O2 -I../../share -I../../protocols -I../../sunos -DXSIMUL -DMSGOPT

OBJ = \
	mapnet.o \
	maptable.o \
	uidmapper.o \
	uidmapper18.o \
	uidmapper22.o \


shared.ls:	$(OBJ) ../shared/Makefile
		echo $(OBJ) >shared.ls

mapnet.o:	../shared/mapnet.c	; $(CC) -c $(CFLAGS) ../shared/$*.c
maptable.o:	../shared/maptable.c	; $(CC) -c $(CFLAGS) ../shared/$*.c
uidmapper.o:	../shared/uidmapper.c	; $(CC) -c $(CFLAGS) ../shared/$*.c
uidmapper18.o:	../shared/uidmapper18.c	; $(CC) -c $(CFLAGS) ../shared/$*.c
uidmapper22.o:	../shared/uidmapper22.c	; $(CC) -c $(CFLAGS) ../shared/$*.c
