srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = @top_builddir@
include $(top_srcdir)/Mk/l4.base.mk
PROGRAM = root
PROGRAM_DEPS = \
$(top_builddir)/lib/l4/libl4.a \
$(top_builddir)/lib/io/libio.a \
$(top_builddir)/lib/sdi/libsdi.a \
$(top_builddir)/lib/libc/libc.a \
$(top_srcdir)/include/$(ARCH)/sdi.ld \
SRCS = \
$(ARCH)-crt0.S \
rootmain.cc \
logger.cc \
rootpager.cc \
syscall-server.cc \
ramdisk-server.cc
OBJS = $(top_builddir)/src/pager/pager.o
IDLS = \
logger.idl \
syscall.idl \
ramdisk.idl
ramdisk.idl: $(top_srcdir)/if/ifblockdev.idl
logger.idl: $(top_srcdir)/if/iflogger.idl
syscall.idl: $(top_srcdir)/if/ifsyscall.idl
LIBS += -lc -ll4 -lio -lsdi
LDFLAGS += -Ttext=$(ROOTTASK_LINKBASE) -T $(top_builddir)/include/$(ARCH)/sdi.ld
include $(top_srcdir)/Mk/l4.prog.mk