CPPFLAGS=	-I../include \
		-I../../libl4sys/include \
		-I../../../server/rmgr/include/l4/server \
		-fno-strength-reduce \
		-O2 \
		-g
SRCS=		librmgr.c
OBJS=		$(SRCS:.c=.o)
DEPS=		$(SRCS:.c=.d)
LIB=		../librmgr.a

all: $(LIB)

include ../../../Makeconf

$(LIB): $(DEPS) $(OBJS)
	@rm -f $@
	@$(AR) rvc $@ $(OBJS)
	@$(RANLIB) $@

clean ::
	@rm -f core *.o *~ $(TARGET)
	@rm -f *.d

depend: $(DEPS)

ifneq ($(wildcard *.d),)
include *.d
endif
