Landfall

Annotated pkg/landfall-examples/input_event_client/Makefile

233:7970787e99bd
11 months ago Paul Boddie Fixed the control pin release operation. cpm-library-improvements
paul@3 1
PKGDIR		?= ..
paul@3 2
L4DIR		?= $(PKGDIR)/../..
paul@3 3
paul@3 4
TARGET		= ex_input_event_client
paul@153 5
paul@153 6
# Locations for interface input and generated output.
paul@153 7
paul@153 8
IDL_DIR		= $(L4DIR)/pkg/devices/idl
paul@153 9
IDL_MK_DIR	= $(L4DIR)/idl4re/mk
paul@153 10
IDL_BUILD_DIR	= .
paul@153 11
IDL_EXPORT_DIR	= .
paul@153 12
paul@153 13
include $(IDL_MK_DIR)/idl.mk
paul@153 14
paul@153 15
# Individual interfaces.
paul@153 16
paul@153 17
CLIENT_INTERFACES_CC		= event icu
paul@153 18
paul@153 19
# Generated and plain source files.
paul@153 20
paul@153 21
CLIENT_INTERFACES_SRC_CC	= $(call interfaces_to_client_cc,$(CLIENT_INTERFACES_CC))
paul@153 22
paul@153 23
PLAIN_SRC_CC			= input_event_client.cc
paul@153 24
paul@153 25
# Normal definitions.
paul@153 26
paul@153 27
SRC_CC				= $(CLIENT_INTERFACES_SRC_CC) $(PLAIN_SRC_CC)
paul@153 28
paul@153 29
SRC_DATA			= unifont.tff
paul@153 30
paul@153 31
REQUIRES_LIBS   = l4re_c-util mag-gfx libdevice-input-event-loop libipc
paul@153 32
paul@153 33
PRIVATE_INCDIR	= $(IDL_BUILD_DIR) $(IDL_EXPORT_DIR)
paul@3 34
paul@3 35
include $(L4DIR)/mk/prog.mk
paul@153 36
include $(IDL_MK_DIR)/interface_rules.mk
paul@153 37
paul@153 38
$(PLAIN_SRC_CC): $(CLIENT_INTERFACES_SRC_CC)