1 PKGDIR ?= ../../.. 2 L4DIR ?= $(PKGDIR)/../.. 3 4 TARGET = libdevice_fb_server.o.a 5 PC_FILENAME = libdevice-fb-server 6 7 # Locations for interface input and generated output. 8 9 IDL_DIR = $(PKGDIR)/idl 10 IDL_MK_DIR = $(L4DIR)/idl4re/mk 11 IDL_BUILD_DIR = . 12 IDL_EXPORT_DIR = $(OBJ_BASE)/include/l4/devices/fb 13 14 include $(IDL_MK_DIR)/idl.mk 15 16 # Individual interfaces. 17 18 SERVER_INTERFACES_CC = framebuffer 19 20 # Generated and plain source files. 21 22 SERVER_INTERFACES_SRC_CC = $(call interfaces_to_server_cc,$(SERVER_INTERFACES_CC)) 23 24 PLAIN_SRC_CC = fb-run.cc fb-server.cc 25 26 # Normal definitions. 27 28 SRC_CC = $(SERVER_INTERFACES_SRC_CC) $(PLAIN_SRC_CC) 29 30 REQUIRES_LIBS = l4re_c l4re_c-util libipc 31 32 PRIVATE_INCDIR = $(PKGDIR)/fb/include $(IDL_BUILD_DIR) $(IDL_EXPORT_DIR) 33 34 include $(L4DIR)/mk/lib.mk 35 include $(IDL_MK_DIR)/interface_rules.mk 36 37 $(PLAIN_SRC_CC): $(SERVER_INTERFACES_SRC_CC)