blob: 345d1e8292ce1e895499b81841bf18f2f4c0e3b8 [file] [log] [blame]
#
# Copyright 2014, NICTA
#
# This software may be distributed and modified according to the terms of
# the BSD 2-Clause license. Note that NO WARRANTY is provided.
# See "LICENSE_BSD2.txt" for details.
#
# @TAG(NICTA_BSD)
#
# Targets
TARGETS := libsel4allocman.a
# Source files required to build the target
CFILES := $(patsubst $(SOURCE_DIR)/%,%,$(wildcard $(SOURCE_DIR)/src/*.c))
CFILES += $(patsubst $(SOURCE_DIR)/%,%,$(wildcard $(SOURCE_DIR)/src/cspace/*.c))
CFILES += $(patsubst $(SOURCE_DIR)/%,%,$(wildcard $(SOURCE_DIR)/src/utspace/*.c))
CFILES += $(patsubst $(SOURCE_DIR)/%,%,$(wildcard $(SOURCE_DIR)/src/mspace/*.c))
# Header files/directories this library provides
HDRFILES := $(wildcard $(SOURCE_DIR)/include/*) \
$(wildcard ${SOURCE_DIR}/sel4_arch/${SEL4_ARCH}/*)
CFLAGS += -std=gnu99
include $(SEL4_COMMON)/common.mk