# Copyright (c) 2001 - 2008 Tim Barbour. # needs to sit under a top-level Makefile, such as the one in the "hack" module # this subdir is intended to contain an interface (headers only) #+ the empty library we produce here is no use (should suppress it, but probably need to enhance gluon to do so) TARGET_TYPE = library MAIN_LANGUAGE = cxx # Subsystem dependencies, top-down. # The following is not an exhaustive list of dependencies, it suffices to include sufficient # dependencies that the build order will be sufficiently determined to suit all dependencies. SUBDIR_DEPS = usertools : appsupp; \ appsupp : utok; \ hostplug : nucleus cd; \ nucleus : ktou cd primitives ifeq ($($(already_seen)),) # warnings are good CFLAGS += -Wall # check costly assertions, until PersiMMon is more stable CFLAGS += -DASSERTION_COST=ASSERTION_COST_COSTLY # we will use the klunk libraries PRE_PROJECT_LIBS += %klunk!klunkxx %klunk!kernabs %klunk!contaut %klunk!kmodule %klunk!primitives endif # choice of libraries allows application to run against kernel-mode pmm or user-mode pmm # link against utok for kernel-mode pmm, or nucleus for user-mode pmm NOT_SUBDIRS = patches #+ temporary, until we clean things up EXCLUDED_SUBDIRS += junk appsupp include gluon.mk