# 
# Copyright (C) 1999, 2000, 2001  Network Associates, Incorporated (NAI)
# All rights reserved.
#
# This file is part of the NAI Generic Software Wrappers Toolkit
# (GSWTK).  See ftp://ftp.tislabs.com/pub/wrappers/ for the latest
# distribution.
#
# The GSWTK is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# The GSWTK is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this software; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
#
# $Id: Makefile,v 1.17 2001/04/05 18:40:32 stevek Exp $

TOPDIR = ..

include ${TOPDIR}/mak/config.mak

KMODDEPENDS	+= ${HASEVENTFS}

KMOD		= wss
SUBDIR		= ${BUILDDIR}

OBJS		= wss_arg${OBJ} wss_audit${OBJ} wss_criteria${OBJ} \
		  wss_db${OBJ} wss_dispatch${OBJ} wss_evspace${OBJ} \
		  wss_export${OBJ} wss_file${OBJ} wss_init${OBJ} \
		  wss_library${OBJ} wss_linker${OBJ} wss_log${OBJ} \
		  wss_malloc${OBJ} wss_module${OBJ} wss_mutex${OBJ} \
		  wss_path${OBJ} wss_process${OBJ} wss_ref${OBJ} \
		  wss_strings${OBJ} wss_utilities${OBJ} wss_vm${OBJ} \
		  wss_wrapper${OBJ} wss_wrvevent${OBJ} \
		  linker_crit${OBJ} linker_crit_machdep${OBJ}
FREEBSD_OBJS	= wsi_dir${OBJ} wsi_dispatch${OBJ} wsi_execve${OBJ} \
		  wsi_file${OBJ} wsi_fileutil${OBJ} wsi_init${OBJ} \
		  wsi_intercept${OBJ} wsi_malloc${OBJ} wsi_module${OBJ} \
		  wsi_os${OBJ} wsi_path${OBJ} wsi_process${OBJ} \
		  wsi_syscallnames${OBJ} wsi_time${OBJ} wsi_utilities${OBJ} \
		  wsi_wrctl${OBJ} wsi_wrv${OBJ} \
		  linker_elf32${OBJ} linker_elf32_machdep${OBJ} \
		  loader${OBJ} kmod_freebsd${OBJ}
SOLARIS_OBJS	= wsi_custom${OBJ} wsi_dir${OBJ} wsi_dispatch${OBJ} \
		  wsi_execve${OBJ} wsi_export${OBJ} wsi_file${OBJ} \
		  wsi_fileutil${OBJ} wsi_hook${OBJ} wsi_init${OBJ} \
		  wsi_intercept${OBJ} wsi_malloc${OBJ} wsi_module${OBJ} \
		  wsi_os${OBJ} wsi_path${OBJ} wsi_process${OBJ} \
		  wsi_syscallnames${OBJ} wsi_time${OBJ} wsi_utilities${OBJ} \
		  wsi_wrapper${OBJ} wsi_wrctl${OBJ} wsi_wrv${OBJ} \
		  linker_elf32${OBJ} linker_elf32_machdep${OBJ} \
		  loader${OBJ} kmod_solaris${OBJ}
LINUX_OBJS	= wsi_db${OBJ} wsi_dispatch${OBJ} wsi_exported${OBJ} \
		  wsi_file${OBJ} wsi_fileutil${OBJ} wsi_init${OBJ} \
		  wsi_intercept${OBJ} wsi_malloc${OBJ} wsi_module${OBJ} \
		  wsi_custom${OBJ} wsi_os${OBJ} wsi_path${OBJ} \
		  wsi_process${OBJ} wsi_sysevents${OBJ} wsi_time${OBJ} \
		  wsi_utilities${OBJ} wsi_wrctl${OBJ} wsi_wrv${OBJ} \
		  wsi_syscall${OBJ} wsi_syscallnames${OBJ} \
		  wsi_${CPU}_custom${OBJ} wsi_${CPU}_dispatch${OBJ} \
		  wsi_${CPU}_hook${OBJ} \
		  linker_elf32${OBJ} linker_elf32_machdep${OBJ} \
		  loader${OBJ} kmod_linux${OBJ}

KMOD_CATEGORY	= misc

include ${TOPDIR}/mak/module.mak

