# 
# 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.24 2001/04/30 20:25:06 stevek Exp $

TOPDIR = ../..

include ${TOPDIR}/mak/config.mak

KERNEL_SOURCE	= yes

# DEBUG_FLAGS	+= -DEVENTFS_DIAGNOSTICS=1

BUILD_STATIC = yes
BUILD_SHARED = yes

BUILD_SHARED_OBJS_ONLY = yes

SUBDIR	= libs

INCLUDES	+= -I ${TOPDIR}/include -I ${TOPDIR}/src
INCLUDES	+= -I ${TOPDIR}/src/${BUILDDIR}/libs/libpipesrv
INCLUDES	+= -DEFSLINKAGE=EXPORT -DPDLINKAGE=IMPORT
INCLUDES	+= -DUNICODE -D_UNICODE ${DEBUG_FLAGS}

LIBBASE		= kmod_eventfs_${BUILDDIR}
OBJS		= eventfs_machdep${OBJ} eventfs_group${OBJ} \
		  eventfs_stream${OBJ} eventfs_pipe${OBJ} \
		  eventfs_interface${OBJ}

include ${TOPDIR}/mak/library.mak

