1 PKGDIR ?= .. 2 L4DIR ?= $(PKGDIR)/../.. 3 4 TARGET = ex_qi_lb60_keypad_physical 5 6 # Locations for interface input and generated output. 7 8 IDL_DIR = $(L4DIR)/pkg/devices/idl 9 IDL_MK_DIR = $(L4DIR)/idl4re/mk 10 IDL_BUILD_DIR = . 11 IDL_EXPORT_DIR = . 12 13 include $(IDL_MK_DIR)/idl.mk 14 15 # Individual interfaces. 16 17 CLIENT_INTERFACES_C = keypad 18 19 # Generated and plain source files. 20 21 CLIENT_INTERFACES_SRC_C = $(call interfaces_to_client_c,$(CLIENT_INTERFACES_C)) 22 23 PLAIN_SRC_C = qi_lb60_keypad_physical.c 24 25 # Normal definitions. 26 27 SRC_C = $(CLIENT_INTERFACES_SRC_C) $(PLAIN_SRC_C) 28 29 REQUIRES_LIBS = l4re_c l4re_c-util libipc 30 31 PRIVATE_INCDIR = $(IDL_BUILD_DIR) $(IDL_EXPORT_DIR) 32 33 include $(L4DIR)/mk/prog.mk 34 include $(IDL_MK_DIR)/interface_rules.mk 35 36 $(PLAIN_SRC_C): $(CLIENT_INTERFACES_SRC_C)