PKGDIR		?= ../..
L4DIR		?= $(PKGDIR)/../..

TARGET		= $(PKGNAME)
# the default relocation address. This may be superseded by a STATIC file.
DEFAULT_RELOC	= 0x01900000

MODE = l4env

# list your .c files here
SRC_C		= main.c lookup3.c slab.c avl.c cow_mem.c pager.c pages.c	\
					if_lxfreeze.c stats.c event.c hash.c unimplemented.c \
					profile.c

# if your server implements the server side of an idl defined in an idl-file
# of your package, list the idl file name(s) here (no path needed)

SERVERIDL	= lxfreeze.idl
CLIENTIDL = lxfreeze.idl
# list additional library paths and libraries here
LIBS		= -ldm_generic-server -ldm_mem-server -ldm_phys \
          -levents -lparsecmdline 
LIBS_TASK-y = -ltask_server.o

PRIVATE_INCDIR = $(SRC_DIR)/../include $(PKGDIR)/../ldso/lib/ldso
include $(L4DIR)/mk/prog.mk 

#hierarchical task lib
LIBS += $(LIBS_TASK-$(USE_TASKLIB))
