1 PKGDIR ?= ../../.. 2 L4DIR ?= $(PKGDIR)/../.. 3 4 TARGET = liblcd_device.o.a liblcd_device.o.so 5 PC_FILENAME = libdevice-lcd 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/lcd 13 14 include $(IDL_MK_DIR)/idl.mk 15 16 # Individual interfaces. 17 18 CLIENT_INTERFACES_CC = activation 19 20 # Generated and plain source files. 21 22 EXPORTED_INTERFACES_H = $(call exported_interfaces_h,$(CLIENT_INTERFACES_CC)) 23 24 PLAIN_SRC_CC = lcd-device.cc 25 26 # Normal definitions. 27 28 SRC_CC = $(PLAIN_SRC_CC) 29 30 REQUIRES_LIBS = l4re_c l4re_c-util libdrivers-lcd-headers 31 32 PRIVATE_INCDIR = $(PKGDIR)/lcd/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): $(EXPORTED_INTERFACES_H)