L4Re/departure

libexec/lib/src/Makefile

515:bae2ddb47ecd
20 months ago Paul Boddie Introduced support for reserve_area in the internal pager along with different kinds of memory area. This permits the execution of threaded programs.
     1 PKGDIR ?= ../..     2 L4DIR  ?= $(PKGDIR)/../../..     3      4 TARGET		= libexec.a libexec.so     5 PC_FILENAME 	= libexec     6      7 # Locations for interface input and generated output.     8      9 IDL_DIR		= $(PKGDIR)/../libsystypes/idl    10 IDL_MK_DIR	= $(L4DIR)/idl4re/mk    11 IDL_BUILD_DIR	= .    12 IDL_EXPORT_DIR	= $(OBJ_BASE)/include/contrib/$(CONTRIB_INCDIR)/exec    13     14 include $(IDL_MK_DIR)/idl.mk    15     16 # Required interfaces.    17     18 CLIENT_INTERFACES_CC		= dataspace mapped_file notifier    19     20 SERVER_INTERFACES_CC		= opener pager_object parent_pager_object process_creator_context_object    21     22 # Generated and plain source files.    23     24 CLIENT_INTERFACES_SRC_CC	= $(call interfaces_to_client_cc,$(CLIENT_INTERFACES_CC))    25     26 SERVER_INTERFACES_SRC_CC	= $(call interfaces_to_server_cc,$(SERVER_INTERFACES_CC))    27     28 # Normal source files.    29     30 PLAIN_SRC_CC			= \    31 				common.cc elf.cc \    32 				external_pager.cc \    33 				internal_pager.cc \    34 				memory.cc memory_area.cc \    35 				pager.cc \    36 				process.cc process_creating.cc \    37 				process_creator_context_resource.cc \    38 				process_creator_resource.cc \    39 				segment.cc stack.cc    40     41 # Normal definitions.    42     43 SRC_CC				= \    44 				$(CLIENT_INTERFACES_SRC_CC) \    45 				$(SERVER_INTERFACES_SRC_CC) \    46 				$(PLAIN_SRC_CC)    47     48 REQUIRES_LIBS  	= l4re_c-util libmem libipc libstdc++ libsystypes libfsclient libfsserver    49     50 PRIVATE_INCDIR	= $(PKGDIR)/include/exec $(IDL_BUILD_DIR) $(IDL_EXPORT_DIR)    51     52 CONTRIB_INCDIR	= libexec    53     54 include $(L4DIR)/mk/lib.mk    55 include $(IDL_MK_DIR)/interface_rules.mk    56     57 $(PLAIN_SRC_CC): $(CLIENT_INTERFACES_SRC_CC) $(SERVER_INTERFACES_SRC_CC)