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


CFLAGS = -O2 -I../../share -I../../protocols -I../../sun3

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
