Landfall

Annotated pkg/landfall-examples/keypad_ds_client/Makefile

233:7970787e99bd
11 months ago Paul Boddie Fixed the control pin release operation. cpm-library-improvements
paul@1 1
PKGDIR		?= ..
paul@0 2
L4DIR		?= $(PKGDIR)/../..
paul@0 3
paul@0 4
TARGET		= ex_keypad_ds_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		= keypad
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			= keypad_ds_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
REQUIRES_LIBS	= l4re_c l4re_c-util libipc
paul@153 30
paul@153 31
PRIVATE_INCDIR	= $(IDL_BUILD_DIR) $(IDL_EXPORT_DIR)
paul@0 32
paul@0 33
include $(L4DIR)/mk/prog.mk
paul@153 34
include $(IDL_MK_DIR)/interface_rules.mk
paul@153 35
paul@153 36
$(PLAIN_SRC_CC): $(CLIENT_INTERFACES_SRC_CC)