/*
 * Imakefile
 *
 * Author: Jim Zelenka
 */
/*
 * Copyright (c) of Carnegie Mellon University, 1998,1999.
 *
 * Permission to reproduce, use, and prepare derivative works of
 * this software for internal use is granted provided the copyright
 * and "No Warranty" statements are included with all reproductions
 * and derivative works. This software may also be redistributed
 * without charge provided that the copyright and "No Warranty"
 * statements are included in all redistributions.
 *
 * NO WARRANTY. THIS SOFTWARE IS FURNISHED ON AN "AS IS" BASIS.
 * CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER
 * EXPRESSED OR IMPLIED AS TO THE MATTER INCLUDING, BUT NOT LIMITED
 * TO: WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY, EXCLUSIVITY
 * OF RESULTS OR RESULTS OBTAINED FROM USE OF THIS SOFTWARE. CARNEGIE
 * MELLON UNIVERSITY DOES NOT MAKE ANY WARRANTY OF ANY KIND WITH RESPECT
 * TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT.
 */

#if BUILD_NASD_KERNEL_MODULES > 0

#include "NASD.rpc_types"

#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
#ifdef LinuxArchitecture
ARCH_SUBDIRS = linux
#define IHaveSubdirs True
#define NASD_dosubdirs 1
#endif /* LinuxArchitecture */

#include "NASD.tmpl"

#if NASD_dosubdirs == 1
SUBDIRS = ${ARCH_SUBDIRS}

NASD_MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif /* NASD_dosubdirs == 1 */

#else /* BUILD_NASD_KERNEL_MODULES > 0 */

#include "NASD.tmpl"

/* noop */

#endif /* BUILD_NASD_KERNEL_MODULES > 0 */

/*
 * Don't put anything after this
 */
#include "NASD.trailer"
