1 PKGDIR ?= .. 2 L4DIR ?= $(PKGDIR)/../.. 3 4 TARGET = ex_input_event_client 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 = event icu 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 = input_event_client.cc 24 25 # Normal definitions. 26 27 SRC_CC = $(CLIENT_INTERFACES_SRC_CC) $(PLAIN_SRC_CC) 28 29 SRC_DATA = unifont.tff 30 31 REQUIRES_LIBS = l4re_c-util mag-gfx libdevice-input-event-loop libipc 32 33 PRIVATE_INCDIR = $(IDL_BUILD_DIR) $(IDL_EXPORT_DIR) 34 35 include $(L4DIR)/mk/prog.mk 36 include $(IDL_MK_DIR)/interface_rules.mk 37 38 $(PLAIN_SRC_CC): $(CLIENT_INTERFACES_SRC_CC)