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