1 PKGDIR ?= .. 2 L4DIR ?= $(PKGDIR)/../.. 3 4 TARGET = ex_qi_lb60_backlight 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_CC = activation backlight 18 19 # Generated and plain source files. 20 21 CLIENT_INTERFACES_SRC_CC = $(call interfaces_to_client_cc,$(CLIENT_INTERFACES_CC)) 22 23 PLAIN_SRC_CC = qi_lb60_backlight.cc 24 25 # Normal definitions. 26 27 SRC_CC = $(CLIENT_INTERFACES_SRC_CC) $(PLAIN_SRC_CC) 28 29 REQUIRES_LIBS = l4re_c-util libdevice-input-keypad libdrivers-keypad-loader libdevice-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_CC): $(CLIENT_INTERFACES_SRC_CC)